|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.LabelBase<String> com.google.gwt.user.client.ui.Label com.google.gwt.user.client.ui.HTML info.magnolia.ui.vaadin.gwt.client.magnoliashell.shellmessage.ShellMessageWidget
public abstract class ShellMessageWidget
Simple notification object that pops up when warnings/errors occur.
Nested Class Summary | |
---|---|
static class |
ShellMessageWidget.MessageType
Enumeration of possible message types. |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.HasDirection |
---|
com.google.gwt.i18n.client.HasDirection.Direction |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
---|
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.Label |
---|
DEFAULT_DIRECTION_ESTIMATOR |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Fields inherited from interface com.google.gwt.user.client.ui.HasAutoHorizontalAlignment |
---|
ALIGN_CONTENT_END, ALIGN_CONTENT_START |
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
---|
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_LOCALE_END, ALIGN_LOCALE_START, ALIGN_RIGHT |
Constructor Summary | |
---|---|
ShellMessageWidget(MagnoliaShellView shell,
String topic,
String message,
String id)
|
Method Summary | |
---|---|
protected void |
applyCloseIconStyles(com.google.gwt.user.client.Element element)
|
protected void |
close()
|
protected void |
construct()
|
com.google.gwt.user.client.Element |
getHeader()
|
protected int |
getHeaderHeight()
|
String |
getId()
|
String |
getMessage()
|
protected abstract String |
getMessageTypeCaption()
|
protected MagnoliaShellView |
getShell()
|
String |
getTopic()
|
void |
hide()
|
void |
hideWithoutTransition()
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
protected void |
onLoad()
|
protected void |
onMessageClicked(com.google.gwt.user.client.Element targetEl)
|
protected void |
onUnload()
|
void |
show()
|
Methods inherited from class com.google.gwt.user.client.ui.HTML |
---|
getHTML, getTextOrHtml, setHTML, setHTML, setHTML, setHTML, wrap |
Methods inherited from class com.google.gwt.user.client.ui.Label |
---|
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setText |
Methods inherited from class com.google.gwt.user.client.ui.LabelBase |
---|
getAutoHorizontalAlignment, getDirectionEstimator, getHorizontalAlignment, getWordWrap, setAutoHorizontalAlignment, setDirectionEstimator, setDirectionEstimator, setHorizontalAlignment, setWordWrap, updateHorizontalAlignment |
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, isAttached, isOrWasAttached, onAttach, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.user.client.ui.HasDirectionalText |
---|
getTextDirection, setText |
Methods inherited from interface com.google.gwt.user.client.ui.HasText |
---|
getText, setText |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
public ShellMessageWidget(MagnoliaShellView shell, String topic, String message, String id)
Method Detail |
---|
protected void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
protected void onMessageClicked(com.google.gwt.user.client.Element targetEl)
protected void close()
protected void construct()
protected void applyCloseIconStyles(com.google.gwt.user.client.Element element)
protected abstract String getMessageTypeCaption()
protected int getHeaderHeight()
public void show()
public void hide()
public void hideWithoutTransition()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
protected void onUnload()
onUnload
in class com.google.gwt.user.client.ui.Widget
public com.google.gwt.user.client.Element getHeader()
protected final MagnoliaShellView getShell()
public String getMessage()
public String getId()
public String getTopic()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |