Package | Description |
---|---|
org.eclipse.nebula.widgets.formattedtext |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFormatter
Base class of formatters.
|
class |
BigDecimalFormatter
This class provides formatting of
BigDecimal values in a FormattedText . |
class |
BigIntegerFormatter
This class provides formatting of
BigInteger values in a FormattedText . |
class |
DateFormatter
This class provides formatting of
Date values in a
FormattedText , restricting the edit and display to the time part. |
class |
DateTimeFormatter
This class provides formatting of
Date values in a
FormattedText . |
class |
DoubleFormatter
This class provides formatting of
Double values in a
FormattedText . |
class |
FloatFormatter
This class provides formatting of
Float values in a
FormattedText . |
class |
IntegerFormatter
This class provides formatting of
Integer values in a
FormattedText . |
class |
IPAddressFormatter |
class |
LongFormatter
This class provides formatting of
Long values in a
FormattedText . |
class |
MaskFormatter
This class provides formatting of
String values in a
FormattedText . |
class |
NumberFormatter
This class provides formatting of
Number values in a
FormattedText . |
class |
PercentFormatter
Formatter for percent values.
|
class |
ShortFormatter
This class provides formatting of
Short values in a FormattedText . |
class |
StringFormatter
Default formatter for the String class.
This formatter is a kind of NullFormatter and do no formatting, allowing the edit of simple String values, without constraints. It is registered in the DefaultFormatterFactory as the default formatter for String values. |
class |
TimeFormatter
This class provides formatting of
Date values in a
FormattedText , restricting the edit and display to the time part. |
Modifier and Type | Field and Description |
---|---|
protected ITextFormatter |
FormattedText.formatter
Formatter
|
Modifier and Type | Method and Description |
---|---|
static ITextFormatter |
DefaultFormatterFactory.createFormatter(java.lang.Class<? extends java.lang.Object> c)
Creates a new default formatter for the given class.
|
static ITextFormatter |
DefaultFormatterFactory.createFormatter(java.lang.Object value)
Creates a new default formatter for the given value.
|
ITextFormatter |
FormattedText.getFormatter()
Returns the formatter associated to the
Text widget. |
Modifier and Type | Method and Description |
---|---|
void |
FormattedTextCellEditor.setFormatter(ITextFormatter formatter)
Sets the formatter that this cell editor must use to edit the value.
|
void |
FormattedText.setFormatter(ITextFormatter formatter)
Associates a formatter to the widget.
Parameter can not be null. |