Class EmptyParameter
java.lang.Object
com.inductiveautomation.vision.api.client.binding.EmptyParameter
- All Implemented Interfaces:
BindingParameter<String>
Special implementation of BindingParameter that essentially inserts a blank spot in the GUI. Used to make the
2-column layout look nicer in certain situations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.vision.api.client.binding.BindingParameter
BindingParameter.BrowseHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides a chance for the parameter to use custom coersion logic, allowing for default values.static EmptyParameter
get()
If non-null, the editor will display a popup tree to browse for values.If non-null, the editor will become a combo box, providing a list of possible options for this parameter.The name of this parameter.The data type of the parameter.A resource bundle key to use as the param's title for display purposes.A resource bundle key to use for the GUI control's tooltipboolean
If true, the user will be allowed to bind this parameter's runtime value to tags and/or properties
-
Field Details
-
NAME
-
-
Constructor Details
-
EmptyParameter
public EmptyParameter()
-
-
Method Details
-
get
-
coerce
Description copied from interface:BindingParameter
Provides a chance for the parameter to use custom coersion logic, allowing for default values.- Specified by:
coerce
in interfaceBindingParameter<String>
- Throws:
ClassCastException
- If this is thrown, the binding will not be executed, instead the property will receive a poor data quality.
-
getBrowseHelper
Description copied from interface:BindingParameter
If non-null, the editor will display a popup tree to browse for values. This takes precedence over the option map feature.- Specified by:
getBrowseHelper
in interfaceBindingParameter<String>
-
getDefaultValue
- Specified by:
getDefaultValue
in interfaceBindingParameter<String>
-
getOptionMap
Description copied from interface:BindingParameter
If non-null, the editor will become a combo box, providing a list of possible options for this parameter.
The "names" of the string pairs the literal values of the options, the "Values" are what gets displayed in the combo box.
- Specified by:
getOptionMap
in interfaceBindingParameter<String>
-
getParameterName
Description copied from interface:BindingParameter
The name of this parameter. This is the string that will be used to identify this parameter's value when executing the binding. Must be unique amongst the list of binding parameters for a given binding type.- Specified by:
getParameterName
in interfaceBindingParameter<String>
-
getParameterType
Description copied from interface:BindingParameter
The data type of the parameter. All parameters are treated as Strings during the design phase, but will be coerced to this type right before execution. Coersion is handled by theBindingParameter.coerce(String)
function.- Specified by:
getParameterType
in interfaceBindingParameter<String>
-
getTitleKey
Description copied from interface:BindingParameter
A resource bundle key to use as the param's title for display purposes.- Specified by:
getTitleKey
in interfaceBindingParameter<String>
-
getTooltipKey
Description copied from interface:BindingParameter
A resource bundle key to use for the GUI control's tooltip- Specified by:
getTooltipKey
in interfaceBindingParameter<String>
-
isBindingAllowed
public boolean isBindingAllowed()Description copied from interface:BindingParameter
If true, the user will be allowed to bind this parameter's runtime value to tags and/or properties- Specified by:
isBindingAllowed
in interfaceBindingParameter<String>
-