|
||||||||||
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.ListViewItemEditor
public class ListViewItemEditor
Default list view item 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 | |
---|---|
ListViewItemEditor()
|
Method Summary | |
---|---|
void |
beginEdit(ListView listViewArgument,
int itemIndexArgument)
Called to begin editing a list item. |
void |
close()
Closes the window and all of its owned windows. |
void |
endEdit(boolean result)
Terminates an edit operation. |
int |
getItemIndex()
|
ListView |
getListView()
|
TextInput |
getTextInput()
|
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 ListViewItemEditor()
Method Detail |
---|
public ListView getListView()
public int getItemIndex()
public TextInput getTextInput()
public void beginEdit(ListView listViewArgument, int itemIndexArgument)
ListView.ItemEditor
beginEdit
in interface ListView.ItemEditor
public void endEdit(boolean result)
ListView.ItemEditor
endEdit
in interface ListView.ItemEditor
result
- true to perform the edit; false to cancel it.public boolean isEditing()
ListView.ItemEditor
isEditing
in interface ListView.ItemEditor
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 |