Search this API

y.option
Class IconPopupEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by y.option.IconPopupEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class IconPopupEditor
extends AbstractCellEditor
implements TableCellEditor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
IconPopupEditor(y.option.IconOptionItem optionItem, GuiFactory factory)
           
 
Method Summary
 void cancelCellEditing()
           
 void editCanceled()
           
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 boolean stopCellEditing()
           
 void valueSelected(JPopupMenu pm, Object value)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell
 
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, isCellEditable, removeCellEditorListener, shouldSelectCell
 

Constructor Detail

IconPopupEditor

public IconPopupEditor(y.option.IconOptionItem optionItem,
                       GuiFactory factory)
Method Detail

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor

getTableCellEditorComponent

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

valueSelected

public void valueSelected(JPopupMenu pm,
                          Object value)

editCanceled

public void editCanceled()

stopCellEditing

public boolean stopCellEditing()
Specified by:
stopCellEditing in interface CellEditor
Overrides:
stopCellEditing in class AbstractCellEditor

cancelCellEditing

public void cancelCellEditing()
Specified by:
cancelCellEditing in interface CellEditor
Overrides:
cancelCellEditing in class AbstractCellEditor

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.