Class VErrorMessage

  • 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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

    public class VErrorMessage
    extends com.google.gwt.user.client.ui.FlowPanel
    • Nested Class Summary

      • 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.user.client.ui.HasWidgets

        com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel

        com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String CLASSNAME  
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      VErrorMessage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void hide()  
      void setOwner​(com.google.gwt.user.client.ui.Widget owner)
      Set the owner, i.e the Widget that created this VErrorMessage.
      void showAt​(com.google.gwt.dom.client.Element indicatorElement)
      Shows this error message next to given element.
      void showAt​(com.google.gwt.user.client.Element indicatorElement)
      Deprecated.
      As of 7.2, call and override showAt(Element) instead
      void updateErrorLevel​(ErrorLevel errorLevel)
      Sets the correct error level style name for the error message and removes all previous style names.
      void updateMessage​(String htmlErrorMessage)  
      • Methods inherited from class com.google.gwt.user.client.ui.FlowPanel

        add, clear, insert, insert
      • Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, adopt, doAttachChildren, doDetachChildren, orphan, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        getWidget, getWidgetCount, getWidgetIndex, remove
      • Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget

        getWidgetIndex
      • Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget

        add
    • Constructor Detail

      • VErrorMessage

        public VErrorMessage()
    • Method Detail

      • setOwner

        public void setOwner​(com.google.gwt.user.client.ui.Widget owner)
        Set the owner, i.e the Widget that created this VErrorMessage. The owner must be set if the VErrorMessage is created 'stand-alone' (not within a VOverlay), or theming might not work properly.
        Parameters:
        owner - the owner (creator Widget)
        See Also:
        Overlay.setOwner(Widget)
      • updateMessage

        public void updateMessage​(String htmlErrorMessage)
      • updateErrorLevel

        public void updateErrorLevel​(ErrorLevel errorLevel)
        Sets the correct error level style name for the error message and removes all previous style names.
        Parameters:
        errorLevel - error level
        Since:
        7.7.11
      • showAt

        @Deprecated
        public void showAt​(com.google.gwt.user.client.Element indicatorElement)
        Deprecated.
        As of 7.2, call and override showAt(Element) instead
        Shows this error message next to given element.
        Parameters:
        indicatorElement -
      • showAt

        public void showAt​(com.google.gwt.dom.client.Element indicatorElement)
        Shows this error message next to given element.
        Parameters:
        indicatorElement -
        Since:
        7.2
      • hide

        public void hide()