MDateSelector

mseries.Calendar
Class MDateValueEditor

java.lang.Object
  extended by mseries.Calendar.MDateValueEditor
All Implemented Interfaces:
PropertyEditor
Direct Known Subclasses:
MDateTimeValueEditor

public class MDateValueEditor
extends Object
implements PropertyEditor


Field Summary
protected  DateFormat df
           
protected  PropertyChangeSupport listeners
           
protected  Date value
           
 
Constructor Summary
MDateValueEditor()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 String getAsText()
           
 Component getCustomEditor()
           
 String getJavaInitializationString()
           
 String[] getTags()
           
 Object getValue()
           
 boolean isPaintable()
           
 void paintValue(Graphics g, Rectangle r)
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void setAsText(String s)
           
 void setValue(Object object)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected Date value

df

protected DateFormat df

listeners

protected PropertyChangeSupport listeners
Constructor Detail

MDateValueEditor

public MDateValueEditor()
Method Detail

getJavaInitializationString

public String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface PropertyEditor

isPaintable

public boolean isPaintable()
Specified by:
isPaintable in interface PropertyEditor

paintValue

public void paintValue(Graphics g,
                       Rectangle r)
Specified by:
paintValue in interface PropertyEditor

getCustomEditor

public Component getCustomEditor()
Specified by:
getCustomEditor in interface PropertyEditor

getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor

setAsText

public void setAsText(String s)
Specified by:
setAsText in interface PropertyEditor

setValue

public void setValue(Object object)
Specified by:
setValue in interface PropertyEditor

getValue

public Object getValue()
Specified by:
getValue in interface PropertyEditor

getTags

public String[] getTags()
Specified by:
getTags in interface PropertyEditor

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface PropertyEditor

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Specified by:
addPropertyChangeListener in interface PropertyEditor

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Specified by:
removePropertyChangeListener in interface PropertyEditor

MDateSelector

Copyright © 2001-2007 M Newstead. All Rights Reserved.