| org.swingml.formatter.ISwingMLFormatter
All known Subclasses: org.swingml.formatter.SwingMLNumberFormatter, org.swingml.formatter.SwingMLDateFormatter, org.swingml.formatter.SwingMLMaskFormatter,
ISwingMLFormatter | public interface ISwingMLFormatter (Code) | | author: CrossLogic |
Method Summary | |
public String | getNullPattern() Returns the string representing what the JFormattedTextFieldComponent's value will look like if it is empty. | public boolean | isNullable() If this Formatter should allow empty values, return true. | public void | setNullPattern(String pattern) Set the pattern to match to in order to determine if the value is empty. | public void | setNullable(boolean canBeNull) Set whether this formatter shold allow empty values or not. |
getNullPattern | public String getNullPattern()(Code) | | Returns the string representing what the JFormattedTextFieldComponent's value will look like if it is empty.
For example: A mask of ###-###-#### will be represented by " - - " when empty.
|
isNullable | public boolean isNullable()(Code) | | If this Formatter should allow empty values, return true. Else, return false.
|
setNullPattern | public void setNullPattern(String pattern)(Code) | | Set the pattern to match to in order to determine if the value is empty. See getNullPattern() for more details.
Parameters: pattern - |
setNullable | public void setNullable(boolean canBeNull)(Code) | | Set whether this formatter shold allow empty values or not.
Parameters: canBeNull - |
|
|