|
||||||||||
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.Skin |
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component |
---|
Component.ComponentDictionary, Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary |
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence |
---|
Sequence.Tree |
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 result)
|
boolean |
getResult()
|
SheetCloseListener |
getSheetCloseListener()
|
ListenerList<SheetStateListener> |
getSheetStateListeners()
|
boolean |
isClosing()
Returns this window's closing state. |
void |
open(Display display)
Opens the window. |
void |
open(Window owner)
Opens the window. |
void |
open(Window owner,
SheetCloseListener sheetCloseListener)
|
void |
setOwner(Window owner)
|
Methods inherited from class org.apache.pivot.wtk.Window |
---|
align, align, descendantGainedFocus, descendantRemoved, getActionMappings, getActiveWindow, getClientArea, getContent, getFocusDescendant, getIcon, getOwnedWindow, getOwnedWindowCount, getOwner, getRootOwner, getTitle, getWindowActionMappingListeners, getWindowClassListeners, getWindowListeners, getWindowStateListeners, isActive, isAuxilliary, isClosed, isMaximized, isOpen, isOpening, isOwner, keyReleased, moveToBack, moveToFront, remove, requestActive, setActive, setContent, setEnabled, setIcon, setIcon, setIcon, setMaximized, setParent, setTitle, setVisible |
Methods inherited from class org.apache.pivot.wtk.Container |
---|
add, containsFocus, descendantLostFocus, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getContextKey, getDescendantAt, getFocusTraversalPolicy, getLength, indexOf, insert, isAncestor, iterator, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, removeAll, requestFocus, setContextKey, setFocusTraversalPolicy, setTooltip, store, transferFocus, update, validate |
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 setOwner(Window owner)
setOwner
in class Window
public void open(Display display)
Window
open
in class Window
display
- The display on which the window will be opened.public final void open(Window owner)
Window
open
in class Window
owner
- The window's owner.public void open(Window owner, SheetCloseListener sheetCloseListener)
public boolean isClosing()
Window
isClosing
in class Window
public final void close()
Window
close
in class Window
public void close(boolean result)
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 |