Package xbot.common.properties
Class StringProperty
java.lang.Object
xbot.common.properties.Property
xbot.common.properties.StringProperty
- All Implemented Interfaces:
DataFrameRefreshable
A type of Property that manages a String value.
-
Nested Class Summary
Nested classes/interfaces inherited from class xbot.common.properties.Property
Property.PropertyLevel, Property.PropertyPersistenceType
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStringProperty
(String prefix, String name, String defaultValue, XPropertyManager manager) StringProperty
(String prefix, String name, String defaultValue, XPropertyManager manager, Property.PropertyLevel level) -
Method Summary
Modifier and TypeMethodDescriptionget()
boolean
Checks if the property's current value matches the default.void
Consumes and processes inputs from the device or subsystem.void
-
Constructor Details
-
StringProperty
-
StringProperty
public StringProperty(String prefix, String name, String defaultValue, XPropertyManager manager, Property.PropertyLevel level)
-
-
Method Details
-
get
-
get_internal
-
set
-
isSetToDefault
public boolean isSetToDefault()Description copied from class:Property
Checks if the property's current value matches the default.- Specified by:
isSetToDefault
in classProperty
- Returns:
- True if the current value is the default.
-
refreshDataFrame
public void refreshDataFrame()Description copied from interface:DataFrameRefreshable
Consumes and processes inputs from the device or subsystem.
-