cz.cmc.tcgui
Class ClassView.ClassEditor

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

public static class ClassView.ClassEditor
extends TCObjectView.TCObjectEditor

In-place editor.

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
ClassView.ClassEditor()
          Creates new ClassEditor with the default real editor.
ClassView.ClassEditor(org.jgraph.graph.GraphCellEditor editor)
          Creates new ClassEditor with the real editor editor.
 
Method Summary
protected  Icon getEditingIcon()
          Get editing icon for this class
protected  Point getOffset()
          Get offset to begin painting of the editor at (for subclassers).
 
Methods inherited from class cz.cmc.tcgui.TCObjectView.TCObjectEditor
determineOffset
 
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

ClassView.ClassEditor

public ClassView.ClassEditor(org.jgraph.graph.GraphCellEditor editor)
Creates new ClassEditor with the real editor editor.


ClassView.ClassEditor

public ClassView.ClassEditor()
Creates new ClassEditor with the default real editor.

Method Detail

getEditingIcon

protected Icon getEditingIcon()
Get editing icon for this class

Overrides:
getEditingIcon in class TCObjectView.TCObjectEditor

getOffset

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

Overrides:
getOffset in class TCObjectView.TCObjectEditor