com.vikash.firsttool.UI
Class ToolVertexEditor

java.lang.Object
  extended byorg.jgraph.graph.DefaultGraphCellEditor
      extended bycom.vikash.firsttool.UI.ToolVertexEditor
All Implemented Interfaces:
java.awt.event.ActionListener, javax.swing.CellEditor, java.util.EventListener, org.jgraph.graph.GraphCellEditor, org.jgraph.event.GraphSelectionListener, java.io.Serializable

public class ToolVertexEditor
extends org.jgraph.graph.DefaultGraphCellEditor

Author:
studajb
See Also:
Serialized Form

Nested Class Summary
 class ToolVertexEditor.RealCellEditor
           
 
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
ToolVertexEditor()
           
 
Method Summary
protected  java.awt.Container createContainer()
          Overriting this so that I could modify an eiditor container.
protected  org.jgraph.graph.GraphCellEditor createGraphCellEditor()
           
 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, canEditImmediately, determineOffset, getBorderSelectionColor, getCellEditorValue, getFont, 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

ToolVertexEditor

public ToolVertexEditor()
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.


createGraphCellEditor

protected org.jgraph.graph.GraphCellEditor createGraphCellEditor()

createContainer

protected java.awt.Container createContainer()
Overriting this so that I could modify an eiditor container. see http://sourceforge.net/forum/forum.php?thread_id=781479&forum_id=140880



Copyright © 2005 SINTEF. All Rights Reserved.