Class ActionParameterImpl
java.lang.Object
com.biglybt.pifimpl.local.ui.config.ParameterImpl
com.biglybt.pifimpl.local.ui.config.ActionParameterImpl
- All Implemented Interfaces:
ParameterListener, ConfigParameter, ActionParameter, EnablerParameter, Parameter
-
Field Summary
FieldsFields inherited from class ParameterImpl
configKeyFields inherited from interface ActionParameter
STYLE_BUTTON, STYLE_LINKFields inherited from interface Parameter
MODE_ADVANCED, MODE_BEGINNER, MODE_INTERMEDIATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionunique id for the action.Returns the messagebundle key for the action's textintgetStyle()Retrieve the parameter's value as an Object.voidsetActionID(String actionID) Set unique id for the action.voidsetActionResource(String action_resource) Set the action's textvoidsetImageID(String id) voidsetStyle(int _style) Methods inherited from class ParameterImpl
addAndFireListener, addConfigParameterListener, addDisabledOnSelection, addDisabledOnSelection, addEnabledOnSelection, addEnabledOnSelection, addImplListener, addListener, addValidator, destroy, fireParameterChanged, getConfigKeyName, getDisabledOnSelectionParameters, getEnabledOnSelectionParameters, getGenerateIntermediateEvents, getGroup, getIndent, getKey, getLabelKey, getLabelText, getMinimumRequiredUserMode, getReferenceID, hasBeenSet, isEnabled, isForUIType, isIndentFancy, isVisible, parameterChanged, refreshControl, removeConfigParameterListener, removeImplListener, removeListener, resetToDefault, search, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setGroup, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setReferenceID, setVisible, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigParameter
addConfigParameterListener, removeConfigParameterListenerMethods inherited from interface Parameter
addAndFireListener, addListener, addValidator, getConfigKeyName, getGenerateIntermediateEvents, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isForUIType, isVisible, removeListener, resetToDefault, setAllowedUiTypes, setEnabled, setGenerateIntermediateEvents, setIndent, setLabelKey, setLabelText, setMinimumRequiredUserMode, setVisible
-
Field Details
-
action_resource
-
actionID
-
style
private int style -
image_id
-
-
Constructor Details
-
ActionParameterImpl
-
-
Method Details
-
getActionResource
Description copied from interface:ActionParameterReturns the messagebundle key for the action's text- Specified by:
getActionResourcein interfaceActionParameter
-
setActionResource
Description copied from interface:ActionParameterSet the action's text- Specified by:
setActionResourcein interfaceActionParameter- Parameters:
action_resource- messagebundle key
-
setStyle
public void setStyle(int _style) - Specified by:
setStylein interfaceActionParameter
-
getValueObject
Description copied from interface:ParameterRetrieve the parameter's value as an Object. Subclasses will usually have a getValue() that will return a specific type.- Specified by:
getValueObjectin interfaceParameter- Overrides:
getValueObjectin classParameterImpl
-
getStyle
public int getStyle()- Specified by:
getStylein interfaceActionParameter
-
getActionID
Description copied from interface:ActionParameterunique id for the action. Used for UIs without widgets, like console ui By default, the actionid is the same asActionParameter.getActionResource()- Specified by:
getActionIDin interfaceActionParameter
-
setActionID
Description copied from interface:ActionParameterSet unique id for the action. Used for UIs without widgets, like console ui- Specified by:
setActionIDin interfaceActionParameter
-
setImageID
- Specified by:
setImageIDin interfaceActionParameter
-
getImageID
- Specified by:
getImageIDin interfaceActionParameter
-