org.formaria.editor.project.pages.components.properties
Class EvaluatedAttributeCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by org.formaria.editor.project.pages.components.properties.EvaluatedAttributeCellEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.swing.CellEditor, javax.swing.table.TableCellEditor

public class EvaluatedAttributeCellEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener

An editor for properties that can have evaluated attributes

Copyright (c) Formaria Ltd., 2002-2006

License: see license.txt

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
EvaluatedAttributeCellEditor(EditorProject project, java.lang.Object comp, java.lang.String value, boolean isDataProperty)
          Creates a new instance of EvaluatedAttributeCellEditor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getComponent()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Constructor Detail

EvaluatedAttributeCellEditor

public EvaluatedAttributeCellEditor(EditorProject project,
                                    java.lang.Object comp,
                                    java.lang.String value,
                                    boolean isDataProperty)
Creates a new instance of EvaluatedAttributeCellEditor

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor

getComponent

public java.awt.Component getComponent()