public interface GraphCellEditor
extends javax.swing.CellEditor
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getGraphCellEditorComponent(JGraph graph,
java.lang.Object value,
boolean isSelected)
Sets an initial value for the editor.
|
java.awt.Component getGraphCellEditorComponent(JGraph graph, java.lang.Object value, boolean isSelected)
Returns the component that should be added to the client's Component hierarchy. Once installed in the client's hierarchy this component will then be able to draw and receive user input.
graph
- the JGraph that is asking the editor to edit
This parameter can be null.value
- the value of the cell to be edited.isSelected
- true if the cell is to be rendered with
selection highlightingCopyright (C) 2001-2009 JGraph Ltd. All rights reserved.