|
Bean Builder | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.beans.probeans.editor.AdventNetTreeCellEditor
Class AdventNetTreeCellEditor is used by the ProAdventNetTree.
TreeCellEditor,
ActionListener,
FocusListener| Field Summary | |
java.lang.String[] |
keywords
|
| Constructor Summary | |
AdventNetTreeCellEditor()
Creates a new NTreeCellEditor instance. |
|
AdventNetTreeCellEditor(ProAdventNetTree tree)
Creates a new AdventNetTreeCellEditor instance. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent ae)
Validates the values with respect to the state of KeyWord. |
void |
addCellEditorListener(javax.swing.event.CellEditorListener list1)
|
void |
cancelCellEditing()
|
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
Validates the values with respect to the state of KeyWord. |
java.lang.Object |
getCellEditorValue()
Return's Cell Editor Value . |
java.awt.Component |
getTreeCellEditorComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
Returns the custom component, overriding the getTreeCellEditorComponent. |
boolean |
isCellEditable(java.util.EventObject evt)
Return's the state of the Cell Editable . |
boolean |
isKeyWord(java.lang.String s)
Return's the state of whether the string is a KeyWord or not. |
void |
removeCellEditorListener(javax.swing.event.CellEditorListener list1)
|
boolean |
shouldSelectCell(java.util.EventObject evt)
Return's the state of Select Cell . |
boolean |
stopCellEditing()
Return's the state of the stopCellEditing . |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public java.lang.String[] keywords
| Constructor Detail |
public AdventNetTreeCellEditor()
NTreeCellEditor instance.
Warning : Don't use this constructor with JDK 1.4 as the
tree is set as null when we use jdk 1.4 and might throw
NullPointerException.public AdventNetTreeCellEditor(ProAdventNetTree tree)
AdventNetTreeCellEditor instance.| Method Detail |
public java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
tree - a JTree valuevalue - an Object valueisSelected - a boolean valueexpanded - a boolean valueleaf - a boolean valuerow - an int valueComponent valuepublic java.lang.Object getCellEditorValue()
Object valuepublic boolean shouldSelectCell(java.util.EventObject evt)
evt - an EventObject valueboolean valuepublic boolean isCellEditable(java.util.EventObject evt)
evt - an EventObject valueboolean valuepublic boolean stopCellEditing()
boolean valuepublic void cancelCellEditing()
public void addCellEditorListener(javax.swing.event.CellEditorListener list1)
public void removeCellEditorListener(javax.swing.event.CellEditorListener list1)
public void actionPerformed(java.awt.event.ActionEvent ae)
ae - an ActionEvent valuepublic boolean isKeyWord(java.lang.String s)
s - a String valueboolean valuepublic void focusGained(java.awt.event.FocusEvent e)
public void focusLost(java.awt.event.FocusEvent e)
e - a FocusEvent value
|
Bean Builder | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||