Package xbot.common.properties
Class AngleProperty
java.lang.Object
xbot.common.properties.Property
xbot.common.properties.AngleProperty
- All Implemented Interfaces:
- DataFrameRefreshable
This manages an Angle in the property system.
- 
Nested Class SummaryNested classes/interfaces inherited from class xbot.common.properties.PropertyProperty.PropertyLevel, Property.PropertyPersistenceType
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionAngleProperty(String prefix, String name, Angle defaultValue, XPropertyManager manager) AngleProperty(String prefix, String name, Angle defaultValue, XPropertyManager manager, Property.PropertyLevel level) 
- 
Method SummaryModifier and TypeMethodDescriptionget()booleanvoidhasChangedSinceLastCheck(Consumer<Angle> callback) booleanChecks if the property's current value matches the default.voidConsumes and processes inputs from the device or subsystem.void
- 
Constructor Details- 
AngleProperty
- 
AnglePropertypublic AngleProperty(String prefix, String name, Angle defaultValue, XPropertyManager manager, Property.PropertyLevel level) 
 
- 
- 
Method Details- 
get
- 
get_internal
- 
set
- 
hasChangedSinceLastCheck
- 
hasChangedSinceLastCheckpublic boolean hasChangedSinceLastCheck()
- 
isSetToDefaultpublic boolean isSetToDefault()Description copied from class:PropertyChecks if the property's current value matches the default.- Specified by:
- isSetToDefaultin class- Property
- Returns:
- True if the current value is the default.
 
- 
refreshDataFramepublic void refreshDataFrame()Description copied from interface:DataFrameRefreshableConsumes and processes inputs from the device or subsystem.
 
-