bookExamples.ch34BeanProperties
Class DoubleEditor
java.lang.Object
bookExamples.ch34BeanProperties.DoubleEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
public class DoubleEditor
- extends java.lang.Object
- implements java.beans.PropertyEditor
Created by IntelliJ IDEA.
User: dlyon
Date: Feb 23, 2005
Time: 1:41:58 PM
Copyright DocJava, 2005
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable
in interface java.beans.PropertyEditor
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
public java.awt.Component getCustomEditor()
- Specified by:
getCustomEditor
in interface java.beans.PropertyEditor
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interface java.beans.PropertyEditor
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interface java.beans.PropertyEditor
getValue
public java.lang.Double getValue()
- Specified by:
getValue
in interface java.beans.PropertyEditor
setValue
public void setValue(java.lang.Object newValue)
- Specified by:
setValue
in interface java.beans.PropertyEditor
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interface java.beans.PropertyEditor
getJavaInitializationString
public java.lang.String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interface java.beans.PropertyEditor
getTags
public java.lang.String[] getTags()
- Specified by:
getTags
in interface java.beans.PropertyEditor
setAsText
public void setAsText(java.lang.String text)
- Map the argument text into an Integer using Integer.valueOf.
- Specified by:
setAsText
in interface java.beans.PropertyEditor
paintValue
public void paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
- Specified by:
paintValue
in interface java.beans.PropertyEditor
main
public static void main(java.lang.String[] args)