|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.wheelswitch.AbstractWheelswitchFormatter com.cosylab.gui.components.wheelswitch.WheelswitchFormatter
public class WheelswitchFormatter
Formats java.lang.String
s to be displayed as digits in the
Wheelswitch
. The format is specified in a format
java.lang.String
. WheelswitchFormatter
also
stores the value, its bounds (minimum and maximum) and also the unit
displayed by the Wheelswitch
.
Field Summary |
---|
Fields inherited from class com.cosylab.gui.components.wheelswitch.AbstractWheelswitchFormatter |
---|
debug, defFormatter, formatString, formatter, generatedFormatString, maximum, maximumDigits, minimum, unit, value, valueString |
Constructor Summary | |
---|---|
WheelswitchFormatter()
Constructs the PlainWheelswitchFormatter with no format string. |
|
WheelswitchFormatter(java.lang.String newFormatString)
Constructs the PlainWheelswitchFormatter and sets the format string. |
Method Summary | |
---|---|
protected void |
internalSetString(java.lang.String newValueString)
|
Methods inherited from class com.cosylab.gui.components.wheelswitch.AbstractWheelswitchFormatter |
---|
checkFormat, generateFormat, getFormat, getMaximum, getMaximumDigits, getMinimum, getString, getUnit, getValue, setFormat, setMaximum, setMaximumDigits, setMinimum, setString, setUnit, setValue, transformFormat |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WheelswitchFormatter(java.lang.String newFormatString)
newFormatString
- AbstractWheelswitchFormatter.setFormat(String)
public WheelswitchFormatter()
AbstractWheelswitchFormatter.setFormat(String)
Method Detail |
---|
protected void internalSetString(java.lang.String newValueString)
internalSetString
in class AbstractWheelswitchFormatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |