public interface ItsNatFormatterFactoryDefault extends ItsNatFormattedTextField.ItsNatFormatterFactory
ItsNatFormattedTextField.ItsNatFormatterFactory.getItsNatFormatter(ItsNatFormattedTextField),
ItsNatFormattedTextField.createDefaultItsNatFormatterFactory()| Modifier and Type | Method and Description |
|---|---|
ItsNatFormattedTextField.ItsNatFormatter |
getDefaultFormatter()
Returns the ItsNat formatter to use
as a last resort, eg in case a display, edit or null
formatter has not been specified.
|
ItsNatFormattedTextField.ItsNatFormatter |
getDisplayFormatter()
Returns the ItsNat formatter to use if the
ItsNatFormattedTextField
is not being edited (ItsNatFormattedTextField.hasFocus() returns false)
and either the value is not-null, or the value is null and a null formatter has not been specified. |
ItsNatFormattedTextField.ItsNatFormatter |
getEditFormatter()
Returns the ItsNat formatter to use if the
ItsNatFormattedTextField
is being edited (ItsNatFormattedTextField.hasFocus() returns true)
and either the value is not-null, or the value is null and a null formatter has has not been specified. |
ItsNatFormattedTextField.ItsNatFormatter |
getNullFormatter()
Returns the ItsNat formatter to use if the component value
(
ItsNatFormattedTextField.getValue()) is null. |
void |
setDefaultFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
Sets the ItsNat formatter to use
as a last resort, eg in case a display, edit or null
formatter has not been specified.
|
void |
setDisplayFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
Sets the ItsNat formatter to use if the component
is not being edited and either the value is not null,
or the value is null and a null formatter has has not been specified.
|
void |
setEditFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
Sets the ItsNat formatter to use if the component
is being edited and either the value is not-null,
or the value is null and a null formatter has has not been specified.
|
void |
setNullFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
Sets the ItsNat formatter to use if the component value
(
ItsNatFormattedTextField.getValue()) is null. |
getItsNatFormatterItsNatFormattedTextField.ItsNatFormatter getNullFormatter()
ItsNatFormattedTextField.getValue()) is null.setNullFormatter(ItsNatFormattedTextField.ItsNatFormatter)void setNullFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
ItsNatFormattedTextField.getValue()) is null.atf - the ItsNat formatter.getNullFormatter()ItsNatFormattedTextField.ItsNatFormatter getDisplayFormatter()
ItsNatFormattedTextField
is not being edited (ItsNatFormattedTextField.hasFocus() returns false)
and either the value is not-null, or the value is null and a null formatter has not been specified.setDisplayFormatter(ItsNatFormattedTextField.ItsNatFormatter),
getNullFormatter()void setDisplayFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
atf - the formatter to use in display mode.getDisplayFormatter()ItsNatFormattedTextField.ItsNatFormatter getEditFormatter()
ItsNatFormattedTextField
is being edited (ItsNatFormattedTextField.hasFocus() returns true)
and either the value is not-null, or the value is null and a null formatter has has not been specified.setEditFormatter(ItsNatFormattedTextField.ItsNatFormatter),
getNullFormatter()void setEditFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
atf - the formatter to use in edition mode.getEditFormatter()ItsNatFormattedTextField.ItsNatFormatter getDefaultFormatter()
setDefaultFormatter(ItsNatFormattedTextField.ItsNatFormatter),
getNullFormatter(),
getDisplayFormatter(),
getEditFormatter()void setDefaultFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
atf - the formatter to use if a more specific one is not specified.getDefaultFormatter()Copyright © Innowhere Software, Jose Maria Arranz Santamaria.