|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Changed Constructors | ||
JTree, |
Documentation changed from old to new. |
Constructs a DefaultTreeCellEditor object for a JTree using the specified renderer and a default editor. |
JTree, |
Documentation changed from old to new. |
Constructs a DefaultTreeCellEditor object for a JTree using the specified renderer and the specified editor. |
Added Methods | |
CellEditorListener[] getCellEditorListeners() |
Returns an array of all the CellEditorListener s added to this DefaultTreeCellEditor with addCellEditorListener(). |
Changed Methods | ||
void addCellEditorListener(CellEditorListener ) |
Documentation changed from old to new. |
Adds the CellEditorListener . |
boolean canEditImmediately(EventObject ) |
Documentation changed from old to new. |
Returns true if event is null or it is a MouseEvent with a click count > 2 and inHitRegion returns true. |
void cancelCellEditing() |
Documentation changed from old to new. |
Messages cancelCellEditing to the realEditor and removes it from this instance. |
Container createContainer() |
Documentation changed from old to new. |
Creates the container to manage placement of editingComponent . |
TreeCellEditor createTreeCellEditor() |
Documentation changed from old to new. |
This is invoked if a TreeCellEditor is not supplied in the constructor. |
Color getBorderSelectionColor() |
Documentation changed from old to new. |
Returns the color the border is drawn. |
Object getCellEditorValue() |
Documentation changed from old to new. |
Returns the value currently being edited. |
Font getFont() |
Documentation changed from old to new. |
Gets the font used for editing. |
Component getTreeCellEditorComponent(JTree, |
Documentation changed from old to new. |
Configures the editor. |
boolean inHitRegion(int, |
Documentation changed from old to new. |
Returns true if the passed in location is a valid mouse location to start editing from. |
boolean isCellEditable(EventObject ) |
Documentation changed from old to new. |
If the realEditor returns true to this message prepareForEditing is messaged and true is returned. |
void removeCellEditorListener(CellEditorListener ) |
Documentation changed from old to new. |
Removes the previously added CellEditorListener . |
void setBorderSelectionColor(Color ) |
Documentation changed from old to new. |
Sets the color to use for the border. |
void setFont(Font ) |
Documentation changed from old to new. |
Sets the font to edit with. |
void setTree(JTree ) |
Documentation changed from old to new. |
Sets the tree currently editing for. |
boolean shouldSelectCell(EventObject ) |
Documentation changed from old to new. |
Messages the realEditor for the return value. |
boolean shouldStartEditingTimer(EventObject ) |
Documentation changed from old to new. |
Returns true if event is a MouseEvent and the click count is 1. |
boolean stopCellEditing() |
Documentation changed from old to new. |
If the realEditor will allow editing to stop the realEditor is removed and true is returned otherwise false is returned. |
void valueChanged(TreeSelectionEvent ) |
Documentation changed from old to new. |
Resets lastPath . |
Changed Fields | ||
boolean canEdit |
Documentation changed from old to new. |
As of Java 2 platform v1.4 this field should no longer be used. |
Component editingComponent |
Documentation changed from old to new. |
Component used in editing obtained from the editingContainer . |
Container editingContainer |
Documentation changed from old to new. |
Editing container will contain the editorComponent . |
Font font |
Documentation changed from old to new. |
Font to paint with null indicates font of renderer is to be used. |
TreePath lastPath |
Documentation changed from old to new. |
Last path that was selected. |
int lastRow |
Documentation changed from old to new. |
Row that was last passed into getTreeCellEditorComponent . |
int offset |
Documentation changed from old to new. |
Used in editing. |
JTree tree |
Documentation changed from old to new. |
JTree instance listening too. |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |