Package annotation.userforms
Class UserFormSymbolModifier
java.lang.Object
PamView.symbol.modifier.SymbolModifier
annotation.userforms.UserFormSymbolModifier
User form symbol modifier for use in user form annotations. This will need modification
 before it can be used in a logger form directly.
- Author:
 - Dougl
 
- 
Field Summary
Fields inherited from class PamView.symbol.modifier.SymbolModifier
symbolModifierParams - 
Constructor Summary
ConstructorsConstructorDescriptionUserFormSymbolModifier(FormDescription formDescription, PamSymbolChooser symbolChooser)  - 
Method Summary
Modifier and TypeMethodDescriptionGet a menu item which can be added to options menu to control symbol modifier settings.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.protected voidvoidsetSymbolModifierParams(SymbolModifierParams symbolModifierParams) Set the symbol modifier paramters.Methods inherited from class PamView.symbol.modifier.SymbolModifier
canModify, getDialogPanel, getModifyableBits, getName, getOptionsPane, getSymbolChooser, getToolTipText, modifySymbol, setName, setSelectionBit, setToolTipText, showOptionsDialog 
- 
Constructor Details
- 
UserFormSymbolModifier
 
 - 
 - 
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:
 
 - 
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
 
 - 
selectControl
 - 
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.
 
 -