net.jbeans.bean.property.editor
Class FontEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended bynet.jbeans.bean.property.editor.EditorSupport
          extended bynet.jbeans.bean.property.editor.FontEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.beans.PropertyEditor

public final class FontEditor
extends EditorSupport
implements java.awt.event.ActionListener

A Font property editor.

Version:
$Revision: 1.1.1.1 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
EditorSupport, ActionListener

Field Summary
 
Fields inherited from class net.jbeans.bean.property.editor.EditorSupport
MEDIUM_DIMENSION, SMALL_DIMENSION
 
Constructor Summary
FontEditor()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          ActionListener handler for all component events.
 java.lang.String getJavaInitializationString()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics g, java.awt.Rectangle rect)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class net.jbeans.bean.property.editor.EditorSupport
getCustomEditor, getPanel, init, setAlignment, setPanel, supportsCustomEditor
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getTags, getValue, removePropertyChangeListener, setAsText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontEditor

public FontEditor()
Method Detail

actionPerformed

public final void actionPerformed(java.awt.event.ActionEvent evt)
ActionListener handler for all component events.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

setValue

public final void setValue(java.lang.Object value)
Specified by:
setValue in interface java.beans.PropertyEditor

isPaintable

public final boolean isPaintable()
Specified by:
isPaintable in interface java.beans.PropertyEditor

paintValue

public final void paintValue(java.awt.Graphics g,
                             java.awt.Rectangle rect)
Specified by:
paintValue in interface java.beans.PropertyEditor

getJavaInitializationString

public final java.lang.String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor


Copyright © 2003 JBean project. All Rights Reserved.