com.alkacon.geranium.client.ui
public abstract class A_NotificationWidget extends com.google.gwt.user.client.ui.Composite implements I_NotificationWidget
| Constructor and Description |
|---|
A_NotificationWidget() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
animateHide()
Animates the notification out of view.
|
protected abstract void |
animateShow()
Animates the notification into view.
|
protected A_Animation |
getAnimation()
Returns the currently running animation.
|
protected abstract java.lang.String |
getMessage()
Returns the current notification message.
|
Notification.Mode |
getMode()
Returns the mode.
|
com.google.gwt.user.client.Timer |
getTimer()
Returns the timer.
|
Notification.Type |
getType()
Returns the type.
|
void |
hide()
Hides the widget.
|
protected void |
hide(boolean force)
Hides the notification message.
|
protected abstract void |
onHideComplete()
Execute when hiding is complete.
|
protected abstract void |
onShowComplete()
Execute when notification is completely visible.
|
protected void |
setAnimation(A_Animation animation)
Sets the currently running animation.
|
protected abstract void |
setClassForType(Notification.Type type)
Sets the appropriate css class for the given type.
|
protected abstract void |
setMessage(java.lang.String message)
Sets the current notification message.
|
void |
show(Notification.Mode mode,
Notification.Type type,
java.lang.String message)
Sets the notification.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetBlockingpublic Notification.Mode getMode()
public com.google.gwt.user.client.Timer getTimer()
public Notification.Type getType()
public void hide()
I_NotificationWidgethide in interface I_NotificationWidgetI_NotificationWidget.hide()public void show(Notification.Mode mode, Notification.Type type, java.lang.String message)
I_NotificationWidgetshow in interface I_NotificationWidgetmode - the current notification modetype - the notification typemessage - the message to setI_NotificationWidget.show(com.alkacon.geranium.client.ui.Notification.Mode, com.alkacon.geranium.client.ui.Notification.Type, java.lang.String)protected abstract void animateHide()
protected abstract void animateShow()
protected A_Animation getAnimation()
protected abstract java.lang.String getMessage()
protected void hide(boolean force)
force - if true will also hide the message if mode is fixedprotected abstract void onHideComplete()
protected abstract void onShowComplete()
protected void setAnimation(A_Animation animation)
animation - the animationprotected abstract void setClassForType(Notification.Type type)
type - the message typeprotected abstract void setMessage(java.lang.String message)
message - the notification message