com.vaadin.client.ui
Class VNotification
java.lang.Object
PopupPanel
com.vaadin.client.ui.VOverlay
com.vaadin.client.ui.VNotification
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.CloseHandler<PopupPanel>, com.google.gwt.event.shared.EventHandler
public class VNotification
- extends VOverlay
|
Constructor Summary |
VNotification()
Default constructor. |
VNotification(int delayMsec)
Deprecated. Use static #createNotification(int) instead to enable
GWT deferred binding. |
VNotification(int delayMsec,
int fadeMsec,
int startOpacity)
Deprecated. Use static #createNotification(int, int, int) instead
to enable GWT deferred binding. |
| Methods inherited from class com.vaadin.client.ui.VOverlay |
center, getApplicationConnection, getOverlayContainer, getOverlayContainer, getOwner, hide, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onClose, onDetach, positionOrSizeUpdated, setHeight, setOverlayContainerLabel, setOwner, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, 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 |
CENTERED
public static final com.vaadin.shared.Position CENTERED
CENTERED_TOP
public static final com.vaadin.shared.Position CENTERED_TOP
CENTERED_BOTTOM
public static final com.vaadin.shared.Position CENTERED_BOTTOM
TOP_LEFT
public static final com.vaadin.shared.Position TOP_LEFT
TOP_RIGHT
public static final com.vaadin.shared.Position TOP_RIGHT
BOTTOM_LEFT
public static final com.vaadin.shared.Position BOTTOM_LEFT
BOTTOM_RIGHT
public static final com.vaadin.shared.Position BOTTOM_RIGHT
ASSISTIVE
public static final com.vaadin.shared.Position ASSISTIVE
- Position that is only accessible for assistive devices, invisible for
visual users.
DELAY_FOREVER
public static final int DELAY_FOREVER
- See Also:
- Constant Field Values
DELAY_NONE
public static final int DELAY_NONE
- See Also:
- Constant Field Values
STYLE_SYSTEM
public static final java.lang.String STYLE_SYSTEM
- See Also:
- Constant Field Values
VNotification
public VNotification()
- Default constructor. You should use GWT.create instead.
VNotification
@Deprecated
public VNotification(int delayMsec)
- Deprecated. Use static
#createNotification(int) instead to enable
GWT deferred binding.
- Parameters:
delayMsec -
VNotification
@Deprecated
public VNotification(int delayMsec,
int fadeMsec,
int startOpacity)
- Deprecated. Use static
#createNotification(int, int, int) instead
to enable GWT deferred binding.
- Parameters:
delayMsec - fadeMsec - startOpacity -
show
public void show()
- Overrides:
show in class VOverlay
show
public void show(java.lang.String style)
show
public void show(com.vaadin.shared.Position position)
show
public void show(Widget widget,
com.vaadin.shared.Position position,
java.lang.String style)
show
public void show(com.vaadin.shared.Position position,
java.lang.String style)
hideAfterDelay
protected void hideAfterDelay()
hide
public void hide()
- Overrides:
hide in class VOverlay
setPosition
public void setPosition(com.vaadin.shared.Position position)
onBrowserEvent
public void onBrowserEvent(Event event)
onEventPreview
public boolean onEventPreview(Event event)
addEventListener
public void addEventListener(VNotification.EventListener listener)
removeEventListener
public void removeEventListener(VNotification.EventListener listener)
showNotification
public static void showNotification(ApplicationConnection client,
UIDL notification)
createNotification
public static VNotification createNotification(int delayMsec,
Widget owner)
bringNotificationsToFront
public static void bringNotificationsToFront()
- Moves currently visible notifications to the top of the event preview
stack. Can be called when opening other overlays such as subwindows to
ensure the notifications receive the events they need and don't linger
indefinitely. See #7136.
TODO Should this be a generic Overlay feature instead?
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.