Package PamView.symbol.modifier
Class SuperDetSymbolWrapper
java.lang.Object
PamView.symbol.modifier.SymbolModifier
PamView.symbol.modifier.SuperDetSymbolWrapper
Wraps a symbol modifier stolen from a super detection in order to pass the super 
 detection into the symbol modifier rather than the original sub detection.
- Author:
 - Doug Gillespie
 
- 
Field Summary
Fields inherited from class PamView.symbol.modifier.SymbolModifier
symbolModifierParams - 
Constructor Summary
ConstructorsConstructorDescriptionSuperDetSymbolWrapper(PamDataBlock superDetDataBlock, SymbolModifier superDetModifier)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanModify(int modType) Say if can modify symbol in a particular way or ways .Get a menu item which can be added to options menu to control symbol modifier settings.intBits that can be selected / modified.Get the JavaFX symbol options pane that has options for the symbol pane.getSymbolData(GeneralProjector projector, PamDataUnit dataUnit) This is the symbol data to use if this modifier were to change everything.Get the symbol modifier parameters associated with the symbol modifier.Get a tool tip to display in dialogs, menus, etc.voidsetSelectionBit(int selectionBit, boolean selected) Set a selection bit to true.voidsetSymbolModifierParams(SymbolModifierParams symbolModifierParams) Set the symbol modifier paramters.voidsetToolTipText(String tip) Set a tool tip to display in dialogs, menus, etc.protected voidshowOptionsDialog(ActionEvent e, PamDialogPanel dialogPanel) Default behaviour to show the dialog panel.Methods inherited from class PamView.symbol.modifier.SymbolModifier
getName, getSymbolChooser, modifySymbol, setName 
- 
Constructor Details
- 
SuperDetSymbolWrapper
 
 - 
 - 
Method Details
- 
getSymbolData
Description copied from class:SymbolModifierThis 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:
 getSymbolDatain classSymbolModifier- Parameters:
 projector-dataUnit-- Returns:
 
 - 
getToolTipText
Description copied from class:SymbolModifierGet a tool tip to display in dialogs, menus, etc.- Overrides:
 getToolTipTextin classSymbolModifier- Returns:
 - tip text
 
 - 
getModifyableBits
public int getModifyableBits()Description copied from class:SymbolModifierBits that can be selected / modified. This is NOT the bits which are currently selected for modification- Overrides:
 getModifyableBitsin classSymbolModifier- Returns:
 - the modifyableBits
 
 - 
canModify
public boolean canModify(int modType) Description copied from class:SymbolModifierSay if can modify symbol in a particular way or ways . Note that this is what it CAN do, not necessarily what it's been told to do.- Overrides:
 canModifyin classSymbolModifier- Parameters:
 modType- bitmap of modificatio types- Returns:
 
 - 
getDialogPanel
- Overrides:
 getDialogPanelin classSymbolModifier
 - 
getModifierOptionsMenu
Description copied from class:SymbolModifierGet a menu item which can be added to options menu to control symbol modifier settings. by default, the menu item is only created if the getDialogPanel function returns non null, but this behaviour can be overridden for more bespoke solutions such as simple additional menu items, etc.- Overrides:
 getModifierOptionsMenuin classSymbolModifier- Returns:
 - null or a menu item
 
 - 
showOptionsDialog
Description copied from class:SymbolModifierDefault behaviour to show the dialog panel.- Overrides:
 showOptionsDialogin classSymbolModifier- Parameters:
 e-dialogPanel-
 - 
getOptionsPane
Description copied from class:SymbolModifierGet the JavaFX symbol options pane that has options for the symbol pane.- Overrides:
 getOptionsPanein classSymbolModifier- Returns:
 - the symbol options pane.
 
 - 
getSymbolModifierParams
Description copied from class:SymbolModifierGet 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:
 getSymbolModifierParamsin classSymbolModifier- Returns:
 - the symbol modifier parameters.
 
 - 
setSymbolModifierParams
Description copied from class:SymbolModifierSet the symbol modifier paramters.- Overrides:
 setSymbolModifierParamsin classSymbolModifier- Parameters:
 symbolModifierParams- - the symbol modifiers paramters.
 - 
setSelectionBit
public void setSelectionBit(int selectionBit, boolean selected) Description copied from class:SymbolModifierSet a selection bit to true.- Overrides:
 setSelectionBitin classSymbolModifier- Parameters:
 selectionBit-selected-
 - 
setToolTipText
Description copied from class:SymbolModifierSet a tool tip to display in dialogs, menus, etc.- Overrides:
 setToolTipTextin classSymbolModifier- Parameters:
 tip- tip text
 
 -