jfract V1.0a

org.jfract.beanEditor.delegate
Class AbstractJBeanEditorDelegate

java.lang.Object
  |
  +--org.jfract.beanEditor.delegate.AbstractJBeanEditorDelegate
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
BooleanEditor, ColorArrayEditor, ColorEditor, ComplexEditor, ComplexPolynomeEditor, TypeEditor

public abstract class AbstractJBeanEditorDelegate
extends java.lang.Object
implements java.io.Serializable, java.awt.event.ActionListener

This class should be implemented when you want to define a new editor from the JBeanCellEditor

See Also:
Serialized Form

Field Summary
protected  int column
          the field column to be accessed from inner classes
protected  javax.swing.JComponent component
          the jComponant to return can be every JComponant
protected  JBeanCellEditor parent
          the JBeanCellEditor parent
protected  int row
          the field row to be accessed from inner classes
protected  java.lang.Object value
          the value to edit as an object
 
Constructor Summary
AbstractJBeanEditorDelegate(int row, int column, JBeanCellEditor parent, java.lang.Object value)
          Build the Delegate
 
Method Summary
abstract  java.lang.Object getCellEditorValue()
          get the value edited by the componant
abstract  javax.swing.JComponent getComponent()
          get the JComponant
 JBeanCellEditor getParent()
          get the parent conainer
abstract  boolean stopCellEditing()
          do what you want when the editing is stopped
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

parent

protected JBeanCellEditor parent
the JBeanCellEditor parent

value

protected java.lang.Object value
the value to edit as an object

component

protected javax.swing.JComponent component
the jComponant to return can be every JComponant

row

protected int row
the field row to be accessed from inner classes

column

protected int column
the field column to be accessed from inner classes
Constructor Detail

AbstractJBeanEditorDelegate

public AbstractJBeanEditorDelegate(int row,
                                   int column,
                                   JBeanCellEditor parent,
                                   java.lang.Object value)
Build the Delegate
Parameters:
row -  
column -  
parent - the JBeanCellEditor parent
Method Detail

getComponent

public abstract javax.swing.JComponent getComponent()
get the JComponant

getCellEditorValue

public abstract java.lang.Object getCellEditorValue()
get the value edited by the componant

stopCellEditing

public abstract boolean stopCellEditing()
do what you want when the editing is stopped

getParent

public JBeanCellEditor getParent()
get the parent conainer

jfract V1.0a

Generee le 27.09.2002 08:21:59 PM