|
||||||||||
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.Sheet
public class Sheet
Window class representing a "sheet". A sheet behaves like a dialog that is modal only over a window's content component.
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 | |
---|---|
Sheet()
Creates a new sheet. |
|
Sheet(Component content)
Creates a new sheet with an initial content component. |
Method Summary | |
---|---|
void |
close()
Closes the window and all of its owned windows. |
void |
close(boolean resultArgument)
|
boolean |
getResult()
|
SheetCloseListener |
getSheetCloseListener()
|
ListenerList<SheetStateListener> |
getSheetStateListeners()
|
boolean |
isClosing()
Returns this window's closing state. |
void |
open(Display display,
Window owner)
Opens the window. |
void |
open(Display display,
Window owner,
SheetCloseListener sheetCloseListenerArgument)
|
void |
open(Window owner,
SheetCloseListener sheetCloseListenerArgument)
|
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, isMaximized, isOpen, isOpening, isOwner, isTopMost, keyPressed, 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 Sheet()
public Sheet(Component content)
content
- The sheet's content component.Method Detail |
---|
public final void open(Window owner, SheetCloseListener sheetCloseListenerArgument)
public final 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 open(Display display, Window owner, SheetCloseListener sheetCloseListenerArgument)
public boolean isClosing()
Window
isClosing
in class Window
public final void close()
Window
close
in class Window
public void close(boolean resultArgument)
public SheetCloseListener getSheetCloseListener()
public boolean getResult()
public ListenerList<SheetStateListener> getSheetStateListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |