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
A widget used for displaying the results of an alias import operation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic 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
Modifier and TypeFieldDescriptionprotected com.google.gwt.user.client.ui.Label
A label which is displayed before any alias files are imported.static final CmsImportResultList.I_Resources
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a single line of the import result to the widget.void
clear()
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
-
Field Details
-
RESOURCES
Static instance of the resource bundle for this widget. -
m_emptyLabel
A label which is displayed before any alias files are imported.
-
-
Constructor Details
-
CmsImportResultList
public CmsImportResultList()Default constructor.
-
-
Method Details
-
addRow
Adds a single line of the import result to the widget.- Parameters:
leftText
- the text to display on the leftrightText
- the text to display on the rightstyleName
- the style which should be applied to the right text
-
clear
Clears the result list. -
ensureEmptyLabel
Ensures the existence of the 'empty' label. -
ensureNoEmptyLabel
Ensure that the 'empty' label does not exist.
-