|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Component
org.apache.pivot.wtk.Container
org.apache.pivot.wtk.Window
org.apache.pivot.wtk.content.TreeViewNodeEditor
public class TreeViewNodeEditor
Default tree view node editor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Window |
---|
Window.ActionMapping, Window.ActionMappingSequence, Window.IconImageSequence, Window.Skin |
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Container |
---|
Container.EDT_Checker |
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component |
---|
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary |
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence |
---|
Sequence.Tree<T> |
Constructor Summary | |
---|---|
TreeViewNodeEditor()
|
Method Summary | |
---|---|
void |
beginEdit(TreeView treeViewArgument,
Sequence.Tree.Path pathArgument)
Called to begin editing a tree node. |
void |
close()
Closes the window and all of its owned windows. |
void |
endEdit(boolean result)
Terminates an edit operation. |
Sequence.Tree.Path |
getPath()
|
TextInput |
getTextInput()
|
TreeView |
getTreeView()
|
boolean |
isEditing()
Tests whether an edit is currently in progress. |
boolean |
keyPressed(int keyCode,
Keyboard.KeyLocation keyLocation)
|
void |
open(Display display,
Window owner)
Opens the window. |
Methods inherited from class org.apache.pivot.wtk.Window |
---|
align, align, clearActive, clearFocusDescendant, descendantGainedFocus, descendantRemoved, getActionMappings, getActiveWindow, getClientArea, getContent, getFocusDescendant, getIcons, getOwnedWindow, getOwnedWindowCount, getOwner, getRootOwner, getTitle, getWindowActionMappingListeners, getWindowClassListeners, getWindowListeners, getWindowStateListeners, isActive, isBottomMost, isClosed, isClosing, isMaximized, isOpen, isOpening, isOwner, isTopMost, moveToBack, moveToFront, open, open, remove, requestActive, setActive, setContent, setEnabled, setIcon, setIcon, setMaximized, setParent, setTitle, setVisible |
Methods inherited from class org.apache.pivot.wtk.Container |
---|
add, assertEventDispatchThread, assertEventDispatchThread, clear, containsFocus, descendantAdded, descendantLostFocus, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getDescendantAt, getFocusTraversalPolicy, getGraphics, getLength, getNamedComponent, indexOf, insert, invalidate, isAncestor, isDoubleBuffered, iterator, layout, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, removeAll, repaint, requestFocus, setDoubleBuffered, setEventDispatchThreadChecker, setFocusTraversalPolicy, store, transferFocus, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TreeViewNodeEditor()
Method Detail |
---|
public TreeView getTreeView()
public Sequence.Tree.Path getPath()
public TextInput getTextInput()
public void beginEdit(TreeView treeViewArgument, Sequence.Tree.Path pathArgument)
TreeView.NodeEditor
beginEdit
in interface TreeView.NodeEditor
public void endEdit(boolean result)
TreeView.NodeEditor
endEdit
in interface TreeView.NodeEditor
result
- true to perform the edit; false to cancel it.public boolean isEditing()
TreeView.NodeEditor
isEditing
in interface TreeView.NodeEditor
public void open(Display display, Window owner)
Window
Note that this method is not a synchronous call, it schedules an event to open the window.
open
in class Window
display
- The display on which the window will be opened.owner
- The window's owner, or null if the window has no owner.public void close()
Window
close
in class Window
public boolean keyPressed(int keyCode, Keyboard.KeyLocation keyLocation)
keyPressed
in class Window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |