|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphCellEditor
Adds to CellEditor the extensions necessary to configure an editor in a graph.
Method Summary | |
---|---|
Component |
getGraphCellEditorComponent(JGraph graph,
Object value,
boolean isSelected)
Sets an initial value for the editor. |
Methods inherited from interface javax.swing.CellEditor |
---|
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Method Detail |
---|
Component getGraphCellEditorComponent(JGraph graph, 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 highlighting
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |