|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPopupPanel
com.vaadin.client.ui.VOverlay
com.vaadin.client.ui.VWindow
public class VWindow
"Sub window" component.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.vaadin.client.ui.VOverlay |
|---|
VOverlay.PositionAndSize, VOverlay.ResizeAnimation |
| Field Summary | |
|---|---|
int |
bringToFrontSequence
For internal use only. |
boolean |
centered
If centered (via UIDL), the window should stay in the centered -mode until a position is received from the server, or the user moves or resizes the window. |
static java.lang.String |
CLASSNAME
|
ApplicationConnection |
client
For internal use only. |
Element |
closeBox
For internal use only. |
FocusableScrollPanel |
contentPanel
For internal use only. |
Element |
contents
For internal use only. |
Element |
footer
For internal use only. |
Element |
header
For internal use only. |
java.lang.String |
id
For internal use only. |
boolean |
immediate
For internal use only. |
Element |
maximizeRestoreBox
For internal use only. |
boolean |
resizable
For internal use only. |
boolean |
resizeLazy
For internal use only. |
ShortcutActionHandler |
shortcutHandler
For internal use only. |
boolean |
vaadinModality
For internal use only. |
boolean |
visibilityChangesDisabled
For internal use only. |
static int |
Z_INDEX
|
| Fields inherited from class com.vaadin.client.ui.VOverlay |
|---|
ac, ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, current |
| Constructor Summary | |
|---|---|
VWindow()
|
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addMoveHandler(WindowMoveHandler handler)
Adds a Handler for when user moves the window. |
void |
addStyleDependentName(java.lang.String styleSuffix)
|
void |
bringToFront()
|
protected void |
constructDOM()
|
static void |
deferOrdering()
Calling this method will defer ordering algorithm, to order windows based on servers bringToFront and modality instructions. |
void |
focus()
Sets focus to this widget. |
java.util.List<com.vaadin.shared.Connector> |
getAssistiveDescription()
Gets the connectors that are used as assistive description. |
java.lang.String |
getAssistivePostfix()
Getter for the text for assistive devices the window caption is postfixed with. |
java.lang.String |
getAssistivePrefix()
Getter for the text for assistive devices the window caption is prefixed with. |
protected com.google.gwt.user.client.Element |
getContainerElement()
|
protected com.google.gwt.user.client.Element |
getModalityCurtain()
|
ShortcutActionHandler |
getShortcutActionHandler()
Returns the ShortCutActionHandler currently used or null if there is currently no shortcutactionhandler |
java.lang.String |
getTabStopBottomAssistiveText()
Gets the message that is provided to users of assistive devices when the user reaches the bottom of the window when leaving a window with the tab key is prevented. |
java.lang.String |
getTabStopTopAssistiveText()
Gets the message that is provided to users of assistive devices when the user reaches the top of the window when leaving a window with the tab key is prevented. |
void |
hide()
|
protected boolean |
isClosable()
Returns the closable state of the sub window. |
protected void |
onAttach()
|
void |
onBlur(BlurEvent event)
|
void |
onBrowserEvent(Event event)
|
protected void |
onDetach()
|
boolean |
onEventPreview(Event event)
|
void |
onFocus(FocusEvent event)
|
void |
onKeyDown(KeyDownEvent event)
|
void |
onKeyUp(KeyUpEvent event)
|
void |
onScroll(ScrollEvent event)
|
void |
setAssistiveDescription(com.vaadin.shared.Connector[] connectors)
Allows to specify which connectors contain the description for the window. |
void |
setAssistivePostfix(java.lang.String assistivePostfix)
Setter for the text for assistive devices the window caption is postfixed with. |
void |
setAssistivePrefix(java.lang.String assistivePrefix)
Setter for the text for assistive devices the window caption is prefixed with. |
void |
setCaption(java.lang.String c)
|
void |
setCaption(java.lang.String c,
java.lang.String iconURL)
|
void |
setClosable(boolean closable)
Sets the closable state of the window. |
void |
setDraggable(boolean draggable)
For internal use only. |
void |
setHeight(java.lang.String height)
|
void |
setPopupPosition(int left,
int top)
|
void |
setPopupPositionNoUpdate(int left,
int top)
|
void |
setResizable(boolean resizability)
For internal use only. |
void |
setTabStopBottomAssistiveText(java.lang.String bottomMessage)
Sets the message that is provided to users of assistive devices when the user reaches the bottom of the window when leaving a window with the tab key is prevented. |
void |
setTabStopEnabled(boolean doTabStop)
Registers the handlers that prevent to leave the window using the Tab-key. |
void |
setTabStopTopAssistiveText(java.lang.String topMessage)
Sets the message that is provided to users of assistive devices when the user reaches the top of the window when leaving a window with the tab key is prevented. |
void |
setVaadinModality(boolean modality)
For internal use only. |
void |
setVisible(boolean visible)
|
void |
setWaiAriaRole(com.vaadin.shared.ui.window.WindowRole role)
Sets the WAI-ARIA role the window. |
void |
setWidth(java.lang.String width)
|
void |
setWindowOrderAndPosition()
For internal use only. |
protected void |
setZIndex(int zIndex)
Set the z-index (visual stack position) for this overlay. |
void |
show()
|
void |
updateContentsSize()
|
void |
updateMaximizeRestoreClassName(boolean visible,
com.vaadin.shared.ui.window.WindowMode windowMode)
|
| Methods inherited from class com.vaadin.client.ui.VOverlay |
|---|
center, getApplicationConnection, getOverlayContainer, getOverlayContainer, getOwner, hide, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onClose, positionOrSizeUpdated, setOverlayContainerLabel, setOwner, setShadowEnabled, setShadowStyle, setSinkShadowEvents, sinkEvents, updateShadowSizeAndPosition, useShadowDiv |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.logical.shared.CloseHandler |
|---|
onClose |
| Field Detail |
|---|
public static final java.lang.String CLASSNAME
public static final int Z_INDEX
public Element contents
public Element header
public Element footer
public final FocusableScrollPanel contentPanel
public Element closeBox
public Element maximizeRestoreBox
public ApplicationConnection client
public java.lang.String id
public ShortcutActionHandler shortcutHandler
public boolean vaadinModality
public boolean resizable
public boolean resizeLazy
public boolean centered
For internal use only. May be removed or replaced in the future.
public boolean immediate
public boolean visibilityChangesDisabled
public int bringToFrontSequence
| Constructor Detail |
|---|
public VWindow()
| Method Detail |
|---|
protected void onAttach()
protected void onDetach()
onDetach in class VOverlaypublic void bringToFront()
public void setWindowOrderAndPosition()
protected void setZIndex(int zIndex)
VOverlay
setZIndex in class VOverlayzIndex - The new z-indexprotected com.google.gwt.user.client.Element getModalityCurtain()
protected void constructDOM()
public void setTabStopTopAssistiveText(java.lang.String topMessage)
This message is not visible on the screen.
topMessage - String provided when the user navigates with Shift-Tab keys to
the top of the windowpublic void setTabStopBottomAssistiveText(java.lang.String bottomMessage)
This message is not visible on the screen.
bottomMessage - String provided when the user navigates with the Tab key to
the bottom of the windowpublic java.lang.String getTabStopTopAssistiveText()
public java.lang.String getTabStopBottomAssistiveText()
public static void deferOrdering()
For internal use only. May be removed or replaced in the future.
public void setVisible(boolean visible)
setVisible in class VOverlaypublic void setDraggable(boolean draggable)
public void setClosable(boolean closable)
closable - true if the window can be closed by the userprotected boolean isClosable()
public void show()
show in class VOverlaypublic void hide()
hide in class VOverlaypublic void setVaadinModality(boolean modality)
public void setResizable(boolean resizability)
public void updateMaximizeRestoreClassName(boolean visible,
com.vaadin.shared.ui.window.WindowMode windowMode)
public void setPopupPositionNoUpdate(int left,
int top)
public void setPopupPosition(int left,
int top)
setPopupPosition in class VOverlaypublic void setCaption(java.lang.String c)
public void setCaption(java.lang.String c,
java.lang.String iconURL)
public void setAssistivePrefix(java.lang.String assistivePrefix)
assistivePrefix - the assistivePrefix to setpublic java.lang.String getAssistivePrefix()
public void setAssistivePostfix(java.lang.String assistivePostfix)
assistivePostfix - the assistivePostfix to setpublic java.lang.String getAssistivePostfix()
protected com.google.gwt.user.client.Element getContainerElement()
public void onBrowserEvent(Event event)
public void updateContentsSize()
public void setWidth(java.lang.String width)
setWidth in class VOverlaypublic void setHeight(java.lang.String height)
setHeight in class VOverlaypublic boolean onEventPreview(Event event)
public void addStyleDependentName(java.lang.String styleSuffix)
public ShortcutActionHandler getShortcutActionHandler()
ShortcutActionHandler.ShortcutActionHandlerOwner
getShortcutActionHandler in interface ShortcutActionHandler.ShortcutActionHandlerOwnerpublic void onScroll(ScrollEvent event)
public void onKeyDown(KeyDownEvent event)
public void onKeyUp(KeyUpEvent event)
public void onBlur(BlurEvent event)
public void onFocus(FocusEvent event)
public void focus()
Focusable
focus in interface Focusablepublic void setAssistiveDescription(com.vaadin.shared.Connector[] connectors)
When the provided array is empty, an existing description is removed.
connectors - with the connectors of the widgets to use as descriptionpublic java.util.List<com.vaadin.shared.Connector> getAssistiveDescription()
public void setWaiAriaRole(com.vaadin.shared.ui.window.WindowRole role)
role - WAI-ARIA role to set for the windowpublic void setTabStopEnabled(boolean doTabStop)
The value of the parameter doTabStop is stored and used for non-modal windows. For modal windows, the handlers are always registered, while preserving the stored value.
doTabStop - true to prevent leaving the window, false to allow leaving the
window for non modal windowspublic com.google.gwt.event.shared.HandlerRegistration addMoveHandler(WindowMoveHandler handler)
HandlerRegistration used to remove the handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||