Package | Description |
---|---|
org.itsnat.comp.text |
Contains interfaces of the text based components.
|
Modifier and Type | Method and Description |
---|---|
ItsNatFormattedTextField.ItsNatFormatter |
ItsNatFormattedTextField.createItsNatFormatter(java.text.Format format)
Creates an ItsNat formatter wrapping the specified
java.text.Format . |
ItsNatFormattedTextField.ItsNatFormatter |
ItsNatFormatterFactoryDefault.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 |
ItsNatFormatterFactoryDefault.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 |
ItsNatFormatterFactoryDefault.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 |
ItsNatFormattedTextField.getItsNatFormatter()
This method is called when the component needs to convert an Object value
from/to String.
|
ItsNatFormattedTextField.ItsNatFormatter |
ItsNatFormattedTextField.ItsNatFormatterFactory.getItsNatFormatter(ItsNatFormattedTextField comp)
Returns an appropiated formatter to the specified formatted text field.
|
ItsNatFormattedTextField.ItsNatFormatter |
ItsNatFormatterFactoryDefault.getNullFormatter()
Returns the ItsNat formatter to use if the component value
(
ItsNatFormattedTextField.getValue() ) is null. |
Modifier and Type | Method and Description |
---|---|
void |
ItsNatFormatterFactoryDefault.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 |
ItsNatFormatterFactoryDefault.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 |
ItsNatFormatterFactoryDefault.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 |
ItsNatFormattedTextField.setItsNatFormatter(ItsNatFormattedTextField.ItsNatFormatter formatter)
Sets the default ItsNat formatter.
|
void |
ItsNatFormatterFactoryDefault.setNullFormatter(ItsNatFormattedTextField.ItsNatFormatter atf)
Sets the ItsNat formatter to use if the component value
(
ItsNatFormattedTextField.getValue() ) is null. |
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.