|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
net.pleso.framework.client.ui.windows.ModalWindowDeck
public class ModalWindowDeck
Wrapped DeckPanel
widget for using with IWindow
objects.
Constructor Summary | |
---|---|
ModalWindowDeck()
Constructs a newly allocated empty ModalWindowDeck . |
Method Summary | |
---|---|
void |
addWindow(IWindow window)
Adds and shows the specified IWindow object to DeckPanel . |
int |
getWindowCount()
Gets the number of child IWindow in this deck. |
boolean |
hasTopWindow(IWindow window)
Determines whether ModalWindowDeck has specified IWindow
object as top shown widget. |
boolean |
hasWindows()
Determines whether ModalWindowDeck has at least one
IWindow placed on it. |
void |
hideWindows()
Hides all IWindow placed on deck applying
IWindow.hideWindow() method on each of them. |
boolean |
removeWindow(IWindow window)
Removes the specified IWindow object from DeckPanel and
shows topmost window in deck list. |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getElement |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
getParent, isAttached, onBrowserEvent, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModalWindowDeck()
ModalWindowDeck
.
Method Detail |
---|
public void addWindow(IWindow window)
IWindow
object to DeckPanel
.
window
- the IWindow
to be addedpublic boolean removeWindow(IWindow window)
IWindow
object from DeckPanel
and
shows topmost window in deck list.
window
- the IWindow
to be removed.
true
if IWindow
was removed successfully
or false
if there was no such IWindow
instance in deckpublic boolean hasTopWindow(IWindow window)
ModalWindowDeck
has specified IWindow
object as top shown widget.
window
- the IWindow
object to check if it is the on top
true
if specified IWindow
is topmost shown
deck widgetpublic boolean hasWindows()
ModalWindowDeck
has at least one
IWindow
placed on it.
true
if there is at least one IWindow
on
deckpublic int getWindowCount()
IWindow
in this deck.
IWindow
public void hideWindows()
IWindow
placed on deck applying
IWindow.hideWindow()
method on each of them.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |