JGraphpad Pro
v6.0.5.0


com.jgraph.pad.graph
Class JGraphpadRichTextEditor

java.lang.Object
  extended byorg.jgraph.graph.DefaultGraphCellEditor
      extended bycom.jgraph.pad.graph.JGraphpadRichTextEditor
All Implemented Interfaces:
ActionListener, CellEditor, EventListener, org.jgraph.graph.GraphCellEditor, org.jgraph.event.GraphSelectionListener, Serializable

public class JGraphpadRichTextEditor
extends org.jgraph.graph.DefaultGraphCellEditor

In-place editor for rich text multiline values.

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
JGraphpadRichTextEditor()
          Constructs a new rich text editor.
 
Method Summary
protected  Container createContainer()
          Overriting this so that I could modify an editor container.
protected  org.jgraph.graph.GraphCellEditor createGraphCellEditor()
          Returns a new RealCellEditor.
 Component getGraphCellEditorComponent(org.jgraph.JGraph graph, 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

JGraphpadRichTextEditor

public JGraphpadRichTextEditor()
Constructs a new rich text editor.

Method Detail

getGraphCellEditorComponent

public Component getGraphCellEditorComponent(org.jgraph.JGraph graph,
                                             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()
Returns a new RealCellEditor.


createContainer

protected Container createContainer()
Overriting this so that I could modify an editor container. See also here.


JGraphpad Pro
v6.0.5.0


Copyright (C) 2005 JGraph.com. All rights reserved.