|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.text.Format
java.text.NumberFormat
java.text.ChoiceFormat
simtools.ui.TextMapper.TextMapperChoiceFormat
protected class TextMapper.TextMapperChoiceFormat
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.text.NumberFormat |
---|
java.text.NumberFormat.Field |
Field Summary | |
---|---|
protected java.util.ArrayList |
clippedIntervals
|
protected static double |
epsilon
|
Fields inherited from class java.text.NumberFormat |
---|
FRACTION_FIELD, INTEGER_FIELD |
Constructor Summary | |
---|---|
TextMapper.TextMapperChoiceFormat(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
clipInterval(GenericMapper.Interval it)
Add an interval to the current clipped intervals list. |
void |
mappingChanged(GenericMapper mapper)
Called when the mapping of the specified mapper changed |
protected void |
update()
Compute the choiceFormat corresponding to the TextMapper |
Methods inherited from class java.text.ChoiceFormat |
---|
applyPattern, clone, equals, format, format, getFormats, getLimits, hashCode, nextDouble, nextDouble, parse, previousDouble, setChoices, toPattern |
Methods inherited from class java.text.NumberFormat |
---|
format, format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, getRoundingMode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly, setRoundingMode |
Methods inherited from class java.text.Format |
---|
format, formatToCharacterIterator, parseObject |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final double epsilon
protected java.util.ArrayList clippedIntervals
Constructor Detail |
---|
public TextMapper.TextMapperChoiceFormat(java.lang.String name)
Method Detail |
---|
public void mappingChanged(GenericMapper mapper)
MapperListener
mappingChanged
in interface MapperListener
protected void update()
protected void clipInterval(GenericMapper.Interval it) throws java.lang.NumberFormatException
clippedIntervals
- it
-
java.lang.NumberFormatException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |