|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.Component
pivot.wtk.Container
pivot.wtk.Window
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 pivot.wtk.Window |
---|
Window.ActionDictionary |
Nested classes/interfaces inherited from class pivot.wtk.Component |
---|
Component.Attributes, Component.ComponentDictionary, Component.DecoratorSequence, Component.StyleDictionary |
Nested classes/interfaces inherited from interface pivot.collections.Sequence |
---|
Sequence.Search, Sequence.Sort, 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. |
void |
close(boolean result)
|
boolean |
getResult()
|
SheetCloseListener |
getSheetCloseListener()
|
ListenerList<SheetStateListener> |
getSheetStateListeners()
|
void |
open(Display display)
Opens the window. |
void |
open(Window owner)
Opens the window. |
void |
open(Window owner,
SheetCloseListener sheetCloseListener)
|
void |
setOwner(Window owner)
|
void |
setSize(int width,
int height)
NOTE This method should only be called during layout. |
Methods inherited from class pivot.wtk.Window |
---|
align, align, getActions, getActiveDescendant, getActiveWindow, getContent, getIcon, getOwnedWindow, getOwnedWindowCount, getOwner, getRootOwner, getTitle, getWindowClassListeners, getWindowListeners, getWindowStateListeners, isActive, isAuxilliary, isClosed, isClosing, isMaximized, isOpen, isOpening, isOwner, mouseDown, moveToBack, moveToFront, remove, setActive, setActiveDescendant, setActiveWindow, setContent, setDisplayable, setEnabled, setIcon, setIcon, setIcon, setMaximized, setParent, setTitle |
Methods inherited from class pivot.wtk.Container |
---|
add, containsFocus, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getContextKey, getDescendantAt, getFocusTraversalPolicy, getLength, indexOf, insert, invalidate, isAncestor, isFocusable, isValid, iterator, load, load, mouseClick, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, removeAll, requestFocus, setContextKey, setFocusTraversalPolicy, setTooltip, setVisible, store, store, update, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sheet()
public Sheet(Component content)
content
- The sheet's content component.Method Detail |
---|
public void setSize(int width, int height)
Component
Component.setPreferredSize(int, int)
.
setSize
in interface ConstrainedVisual
setSize
in class Component
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 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 |