Class StandardSymbolOptions

java.lang.Object
PamView.symbol.PamSymbolOptions
PamView.symbol.StandardSymbolOptions
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
ClickSymbolOptions

public class StandardSymbolOptions extends PamSymbolOptions implements Serializable, Cloneable
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • COLOUR_BY_SUPERDET

      public static final int COLOUR_BY_SUPERDET
      See Also:
    • COLOUR_SPECIAL

      public static final int COLOUR_SPECIAL
      See Also:
    • COLOUR_SUPERDET_THEN_SPECIAL

      public static final int COLOUR_SUPERDET_THEN_SPECIAL
      See Also:
    • COLOUR_HYDROPHONE

      public static final int COLOUR_HYDROPHONE
      See Also:
    • COLOUR_FIXED

      public static final int COLOUR_FIXED
      See Also:
    • COLOUR_ANNOTATION

      public static final int COLOUR_ANNOTATION
      See Also:
    • colourChoice

      @Deprecated public int colourChoice
      Deprecated.
    • symbolData

      public SymbolData symbolData
    • mapLineLength

      public double mapLineLength
    • hideLinesWithLatLong

      public boolean hideLinesWithLatLong
  • Constructor Details

    • StandardSymbolOptions

      public StandardSymbolOptions(SymbolData defaultSymbol)
  • Method Details

    • getAnnotationSymbolOptions

      @Deprecated public AnnotationSymbolOptions getAnnotationSymbolOptions()
      Deprecated.
    • setAnnotationSymbolOptions

      @Deprecated public void setAnnotationSymbolOptions(AnnotationSymbolOptions annotationSymbolOptions)
      Deprecated.
    • isEnabled

      public boolean[] isEnabled(StandardSymbolChooser symbolChooser)
      Check whether the symbol modifiers are enabled or disabled.
      Returns:
      a list of booleans indicating whether the symbol modifier is enabled.
    • setEnabled

      public void setEnabled(boolean enabled, int i)
      Set whether a symbol modifier is enabled.
      Parameters:
      enabled - - true to enable.
      i - - the index of the symbol modifier (not modified).
    • getModifierOrder

      public int[] getModifierOrder(StandardSymbolChooser symbolChooser)
      Returns:
      the modifierOrder
    • setModifierOrder

      public void setModifierOrder(int[] modifierOrder)
      Parameters:
      modifierOrder - the modifierOrder to set
    • setModifierParams

      public void setModifierParams(String modifierName, SymbolModifierParams params)
      Get parameters for a named symbol modifier

      This should only be called during serialization - otherwise the symbol modifiers hold a reference to their params

      Parameters:
      modifierName -
      params -
    • getModifierParams

      public SymbolModifierParams getModifierParams(SymbolModifier modifierName)
      Set parameters for a named symbol modifier.

      This should only be called during de-serialization - otherwise the symbol modifiers hold a reference to their parameters.

      Parameters:
      modifierName -
      Returns: