Package org.opencms.gwt.client.ui
Class CmsNotificationWidget
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.opencms.gwt.client.ui.CmsNotificationWidget
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,I_CmsNotificationWidget
public class CmsNotificationWidget extends com.google.gwt.user.client.ui.Composite implements I_CmsNotificationWidget
The toolbar notification widget.- Since:
- 8.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
CmsNotificationWidget.I_CmsNotificationWidgetUiBinder
-
Constructor Summary
Constructors Constructor Description CmsNotificationWidget()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMessage(CmsNotificationMessage message)
Adds the given notification message.void
clearMessages()
Removes all messages.protected void
onHideComplete()
Clears the messages once the hide animation is completed.protected void
onShowComplete()
Called once the show animation is completed.void
removeMessage(CmsNotificationMessage message)
Removes the given notification message.-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
-
-
-
Constructor Detail
-
CmsNotificationWidget
public CmsNotificationWidget()
Constructor.
-
-
Method Detail
-
addMessage
public void addMessage(CmsNotificationMessage message)
Description copied from interface:I_CmsNotificationWidget
Adds the given notification message.Will also block the screen, if required.
- Specified by:
addMessage
in interfaceI_CmsNotificationWidget
- Parameters:
message
- the message- See Also:
I_CmsNotificationWidget.addMessage(org.opencms.gwt.client.ui.CmsNotificationMessage)
-
clearMessages
public void clearMessages()
Description copied from interface:I_CmsNotificationWidget
Removes all messages.- Specified by:
clearMessages
in interfaceI_CmsNotificationWidget
- See Also:
I_CmsNotificationWidget.clearMessages()
-
removeMessage
public void removeMessage(CmsNotificationMessage message)
Description copied from interface:I_CmsNotificationWidget
Removes the given notification message.Will also unblock the screen, if no longer required.
- Specified by:
removeMessage
in interfaceI_CmsNotificationWidget
- Parameters:
message
- the message- See Also:
I_CmsNotificationWidget.removeMessage(org.opencms.gwt.client.ui.CmsNotificationMessage)
-
onHideComplete
protected void onHideComplete()
Clears the messages once the hide animation is completed.
-
onShowComplete
protected void onShowComplete()
Called once the show animation is completed.
-
-