Class com.symantec.itools.swing.JDateMaskedFieldStyleEditor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.swing.JDateMaskedFieldStyleEditor

Object
   |
   +----PropertyEditorSupport
           |
           +----com.symantec.itools.swing.JDateMaskedFieldStyleEditor

public class JDateMaskedFieldStyleEditor
extends PropertyEditorSupport
Property editor for setting the formatting style of JDateMaskedField.

Version:
1.0
Author:
Vasudev J. Rao

Constructor Index

 o com.symantec.itools.swing.JDateMaskedFieldStyleEditor()

Method Index

 o getAsText()
return the property value as a text
 o getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property.
 o getTags()
getTags() method
 o setAsText(String)
setAsText() method

Constructors

 o JDateMaskedFieldStyleEditor
public JDateMaskedFieldStyleEditor()

Methods

 o getAsText
public java.lang.String getAsText()
return the property value as a text

Returns:
the value as text
Overrides:
getAsText in class PropertyEditorSupport
 o getJavaInitializationString
public java.lang.String getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. It should return a fragment of Java code that can be used to initialize a variable with the current property value.

Example results are "2", "new Color(127,127,34)", "Color.orange", etc.

Returns:
A fragment of Java code representing an initializer for the current value.
Overrides:
getJavaInitializationString in class PropertyEditorSupport
 o getTags
public java.lang.String[] getTags()
getTags() method

Returns:
array of tags
Overrides:
getTags in class PropertyEditorSupport
 o setAsText
public void setAsText(String text) throws IllegalArgumentException
setAsText() method

Parameters:
text - set to String
Overrides:
setAsText in class PropertyEditorSupport

All Packages  Class Hierarchy  This Package  Previous  Next  Index