Method Summary |
|
public 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. |
public ItsNatFormatter | getDisplayFormatter() Returns the ItsNat formatter to use if the
ItsNatFormattedTextField
is not being edited (
ItsNatComponent.hasFocus returns false)
and either the value is not-null, or the value is null and a null formatter has not been specified. |
public ItsNatFormatter | getEditFormatter() Returns the ItsNat formatter to use if the
ItsNatFormattedTextField
is being edited (
ItsNatComponent.hasFocus returns true)
and either the value is not-null, or the value is null and a null formatter has has not been specified. |
public ItsNatFormatter | getNullFormatter() Returns the ItsNat formatter to use if the component value
(
ItsNatFormattedTextField.getValue ) is null. |
public void | setDefaultFormatter(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. |
public void | setDisplayFormatter(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. |
public void | setEditFormatter(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. |
public void | setNullFormatter(ItsNatFormatter atf) Sets the ItsNat formatter to use if the component value
(
ItsNatFormattedTextField.getValue ) is null. |