nl.tudelft.simulation.introspection.mapping
Class ExpandButtonEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by nl.tudelft.simulation.introspection.mapping.ExpandButtonEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class ExpandButtonEditor
extends AbstractCellEditor
implements TableCellEditor

Implements the pop-up behaviour of the {see nl.tudelft.simulation.introspection.gui.ExpandButton}.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Since:
1.4
Version:
1.2 Apr 15, 2004
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ExpandButtonEditor()
           
 
Method Summary
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, 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

ExpandButtonEditor

public ExpandButtonEditor()
Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor
See Also:
TableCellEditor.getTableCellEditorComponent(JTable, Object, boolean, int, int)

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor
See Also:
CellEditor.getCellEditorValue()


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.