Class CmsFavoriteTab
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.containerpage.client.ui.A_CmsClipboardTab
org.opencms.ade.containerpage.client.ui.CmsFavoriteTab
- 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
Content of the tool-bar menu favorite tab.
- Since:
- 8.0.0
-
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.google.gwt.user.client.ui.FlowPanel
Button panel shown while editing the favorites.protected com.google.gwt.user.client.ui.FlowPanel
Button panel shown while using the favorites.protected CmsPushButton
The cancel edit button.protected CmsToolbarClipboardMenu
The clip-board menu.protected CmsPushButton
The edit button.protected CmsList<CmsListItem>
The list panel holding the favorite elements.protected CmsPushButton
The save favorites button.protected CmsScrollPanel
The scroll panel.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListItem
(CmsListItem item) Adds an item to the list.void
Clears the list.getList()
Returns the item list.Returns the scroll panel.Iterator<com.google.gwt.user.client.ui.Widget>
iterator()
Returns the favorite list item iterator.void
Saves the favorites.Methods inherited from class org.opencms.ade.containerpage.client.ui.A_CmsClipboardTab
getRequiredHeight, replaceItem
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
-
m_buttonEditingPanel
Button panel shown while editing the favorites. -
m_buttonUsePanel
Button panel shown while using the favorites. -
m_cancelButton
The cancel edit button. -
m_clipboard
The clip-board menu. -
m_editButton
The edit button. -
m_listPanel
The list panel holding the favorite elements. -
m_saveButton
The save favorites button. -
m_scrollPanel
The scroll panel.
-
-
Constructor Details
-
CmsFavoriteTab
Constructor.- Parameters:
clipboard
- the clip-board menu
-
-
Method Details
-
addListItem
Description copied from class:A_CmsClipboardTab
Adds an item to the list.- Overrides:
addListItem
in classA_CmsClipboardTab
- Parameters:
item
- the item to add- See Also:
-
clearList
Description copied from class:A_CmsClipboardTab
Clears the list.- Overrides:
clearList
in classA_CmsClipboardTab
- See Also:
-
getList
Description copied from class:A_CmsClipboardTab
Returns the item list.- Specified by:
getList
in classA_CmsClipboardTab
- Returns:
- the item list
- See Also:
-
getScrollPanel
Description copied from class:A_CmsClipboardTab
Returns the scroll panel.- Specified by:
getScrollPanel
in classA_CmsClipboardTab
- Returns:
- the scroll panel
- See Also:
-
iterator
Returns the favorite list item iterator.- Returns:
- the iterator
-
saveFavorites
Saves the favorites.
-