cz.cmc.tcgui
Class TCObjectView.TCObjectEditor

java.lang.Object
  extended byorg.jgraph.graph.DefaultGraphCellEditor
      extended bycz.cmc.tcgui.TCObjectView.TCObjectEditor
All Implemented Interfaces:
ActionListener, CellEditor, EventListener, org.jgraph.graph.GraphCellEditor, org.jgraph.event.GraphSelectionListener, Serializable
Direct Known Subclasses:
ClassView.ClassEditor, FilterEntryView.FilterEntryEditor, QDiscView.QDiscEditor
Enclosing class:
TCObjectView

public static class TCObjectView.TCObjectEditor
extends org.jgraph.graph.DefaultGraphCellEditor

Editor class common to TC Object Views

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jgraph.graph.DefaultGraphCellEditor
org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField, org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
 
Field Summary
 
Fields inherited from class org.jgraph.graph.DefaultGraphCellEditor
borderSelectionColor, canEdit, editingComponent, editingContainer, editingIcon, font, graph, lastCell, offsetX, offsetY, realEditor
 
Constructor Summary
TCObjectView.TCObjectEditor()
          Creates TCObjectEditor using default real editor
TCObjectView.TCObjectEditor(org.jgraph.graph.GraphCellEditor editor)
          Creates TCObjectEditor using given real editor
 
Method Summary
protected  void determineOffset(org.jgraph.JGraph graph, Object value, boolean isSelected)
          Overriden method to get offsets and editingIcon
protected  Icon getEditingIcon()
          Get editing icon (for subclassers)
protected  Point getOffset()
          Get offset to begin painting of the editor at (for subclassers).
 
Methods inherited from class org.jgraph.graph.DefaultGraphCellEditor
actionPerformed, addCellEditorListener, cancelCellEditing, canEditImmediately, createContainer, createGraphCellEditor, getBorderSelectionColor, getCellEditorValue, getFont, getGraphCellEditorComponent, inHitRegion, isCellEditable, prepareForEditing, removeCellEditorListener, setBorderSelectionColor, setFont, setGraph, shouldSelectCell, shouldStartEditingTimer, stopCellEditing, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCObjectView.TCObjectEditor

public TCObjectView.TCObjectEditor(org.jgraph.graph.GraphCellEditor editor)
Creates TCObjectEditor using given real editor


TCObjectView.TCObjectEditor

public TCObjectView.TCObjectEditor()
Creates TCObjectEditor using default real editor

Method Detail

getEditingIcon

protected Icon getEditingIcon()
Get editing icon (for subclassers)


getOffset

protected Point getOffset()
Get offset to begin painting of the editor at (for subclassers).


determineOffset

protected final void determineOffset(org.jgraph.JGraph graph,
                                     Object value,
                                     boolean isSelected)
Overriden method to get offsets and editingIcon