Class CmsImportResultList

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.ade.sitemap.client.alias.CmsImportResultList
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

public class CmsImportResultList extends com.google.gwt.user.client.ui.Composite
A widget used for displaying the results of an alias import operation.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The CSS classes used for this widget.
    static interface 
    The resource bundle used for this widget.

    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.gwt.user.client.ui.Label
    A label which is displayed before any alias files are imported.
    Static instance of the resource bundle for this widget.

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRow(String leftText, String rightText, String styleName)
    Adds a single line of the import result to the widget.
    void
    Clears the result list.
    protected void
    Ensures the existence of the 'empty' label.
    protected void
    Ensure that the 'empty' label does not exist.

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • RESOURCES

      Static instance of the resource bundle for this widget.

    • m_emptyLabel

      protected com.google.gwt.user.client.ui.Label m_emptyLabel
      A label which is displayed before any alias files are imported.
  • Constructor Details

  • Method Details

    • addRow

      public void addRow(String leftText, String rightText, String styleName)
      Adds a single line of the import result to the widget.

      Parameters:
      leftText - the text to display on the left
      rightText - the text to display on the right
      styleName - the style which should be applied to the right text
    • clear

      public void clear()
      Clears the result list.

    • ensureEmptyLabel

      protected void ensureEmptyLabel()
      Ensures the existence of the 'empty' label.

    • ensureNoEmptyLabel

      protected void ensureNoEmptyLabel()
      Ensure that the 'empty' label does not exist.