org.jgraph.example
Class JGraphIconView.MultiLinedEditor

java.lang.Object
  extended by org.jgraph.graph.DefaultGraphCellEditor
      extended by org.jgraph.example.JGraphIconView.MultiLinedEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.swing.CellEditor, org.jgraph.event.GraphSelectionListener, org.jgraph.graph.GraphCellEditor
Enclosing class:
JGraphIconView

public static class JGraphIconView.MultiLinedEditor
extends org.jgraph.graph.DefaultGraphCellEditor

See Also:
Serialized Form

Nested Class Summary
 class JGraphIconView.MultiLinedEditor.RealCellEditor
           
 
Nested classes/interfaces inherited from class org.jgraph.graph.DefaultGraphCellEditor
org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField, org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
 
Constructor Summary
JGraphIconView.MultiLinedEditor()
           
 
Method Summary
 java.awt.Component getGraphCellEditorComponent(org.jgraph.JGraph graph, java.lang.Object cell, boolean isSelected)
          Overriding this in order to set the size of an editor to that of an edited view.
 
Methods inherited from class org.jgraph.graph.DefaultGraphCellEditor
actionPerformed, addCellEditorListener, cancelCellEditing, getBorderSelectionColor, getCellEditorValue, getFont, isCellEditable, removeCellEditorListener, setBorderSelectionColor, setFont, shouldSelectCell, stopCellEditing, valueChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGraphIconView.MultiLinedEditor

public JGraphIconView.MultiLinedEditor()
Method Detail

getGraphCellEditorComponent

public java.awt.Component getGraphCellEditorComponent(org.jgraph.JGraph graph,
                                                      java.lang.Object cell,
                                                      boolean isSelected)
Overriding this in order to set the size of an editor to that of an edited view.

Specified by:
getGraphCellEditorComponent in interface org.jgraph.graph.GraphCellEditor
Overrides:
getGraphCellEditorComponent in class org.jgraph.graph.DefaultGraphCellEditor