Class PeakFreqModifier

java.lang.Object
PamView.symbol.modifier.SymbolModifier
PamView.symbol.modifier.PeakFreqModifier

public class PeakFreqModifier extends SymbolModifier
Peak frequency symbol modifier. Colours a symbol by it's peak frequency.
Author:
Jamie Macaulay
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • modifySymbol Link icon

      public SymbolData modifySymbol(SymbolData symbolData, GeneralProjector projector, PamDataUnit dataUnit)
      Description copied from class: SymbolModifier
      Modify the symbol. In it's basic form it calls getSymbolData to get a totally fresh symbol, then copies over only the bits of information specified in modifyBits
      Overrides:
      modifySymbol in class SymbolModifier
      Returns:
      modified symbol. Must never be null.
    • getSymbolData Link icon

      public SymbolData getSymbolData(GeneralProjector projector, PamDataUnit dataUnit)
      Description copied from class: SymbolModifier
      This is the symbol data to use if this modifier were to change everything. the Symbolchooser will actually be calling the modifySymbol function, which calls this, then based on which bits are set for modification, will transfer over the appropriate information.

      Must be able to respond to a null projector and dataUnit for tree vies.

      Specified by:
      getSymbolData in class SymbolModifier
      Returns:
    • checkColourArray Link icon

      public void checkColourArray()
      Check the correct colour array is being used and, if not, change it.
    • getOptionsPane Link icon

      public SymbolModifierPane getOptionsPane()
      Description copied from class: SymbolModifier
      Get the JavaFX symbol options pane that has options for the symbol pane.
      Overrides:
      getOptionsPane in class SymbolModifier
      Returns:
      the symbol options pane.
    • getDialogPanel Link icon

      public PamDialogPanel getDialogPanel()
      Overrides:
      getDialogPanel in class SymbolModifier
    • getSymbolModifierParams Link icon

      public SymbolModifierParams getSymbolModifierParams()
      Description copied from class: SymbolModifier
      Get the symbol modifier parameters associated with the symbol modifier.

      Note that this function should create a new instance of the settings class if the settings class is null. This allows subclasses to override this function to return custom parameter objects.

      Overrides:
      getSymbolModifierParams in class SymbolModifier
      Returns:
      the symbol modifier parameters.
    • setSymbolModifierParams Link icon

      public void setSymbolModifierParams(SymbolModifierParams symbolModifierParams)
      Description copied from class: SymbolModifier
      Set the symbol modifier paramters.
      Overrides:
      setSymbolModifierParams in class SymbolModifier
      Parameters:
      symbolModifierParams - - the symbol modifiers paramters.