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
CmsImportResultList.I_Css
The CSS classes used for this widget.static interface
CmsImportResultList.I_Resources
The resource bundle used for this widget.
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gwt.user.client.ui.Label
m_emptyLabel
A label which is displayed before any alias files are imported.static CmsImportResultList.I_Resources
RESOURCES
Static instance of the resource bundle for this widget.
-
Constructor Summary
Constructors Constructor Description CmsImportResultList()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRow(java.lang.String leftText, java.lang.String rightText, java.lang.String styleName)
Adds a single line of the import result to the widget.void
clear()
Clears the result list.protected void
ensureEmptyLabel()
Ensures the existence of the 'empty' label.protected void
ensureNoEmptyLabel()
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 Detail
-
RESOURCES
public static final CmsImportResultList.I_Resources 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 Detail
-
CmsImportResultList
public CmsImportResultList()
Default constructor.
-
-
Method Detail
-
addRow
public void addRow(java.lang.String leftText, java.lang.String rightText, java.lang.String styleName)
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
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.
-
-