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
FieldsModifier and TypeFieldDescriptionprotected com.google.gwt.user.client.ui.FlowPanelButton panel shown while editing the favorites.protected com.google.gwt.user.client.ui.FlowPanelButton panel shown while using the favorites.protected CmsPushButtonThe cancel edit button.protected CmsToolbarClipboardMenuThe clip-board menu.protected CmsPushButtonThe edit button.protected CmsList<CmsListItem> The list panel holding the favorite elements.protected CmsPushButtonThe save favorites button.protected CmsScrollPanelThe scroll panel.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListItem(CmsListItem item) Adds an item to the list.voidClears 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.voidSaves the favorites.Methods inherited from class org.opencms.ade.containerpage.client.ui.A_CmsClipboardTab
getRequiredHeight, replaceItemMethods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetMethods 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, unsinkEventsMethods 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_CmsClipboardTabAdds an item to the list.- Overrides:
addListItemin classA_CmsClipboardTab- Parameters:
item- the item to add- See Also:
-
clearList
Description copied from class:A_CmsClipboardTabClears the list.- Overrides:
clearListin classA_CmsClipboardTab- See Also:
-
getList
Description copied from class:A_CmsClipboardTabReturns the item list.- Specified by:
getListin classA_CmsClipboardTab- Returns:
- the item list
- See Also:
-
getScrollPanel
Description copied from class:A_CmsClipboardTabReturns the scroll panel.- Specified by:
getScrollPanelin classA_CmsClipboardTab- Returns:
- the scroll panel
- See Also:
-
iterator
Returns the favorite list item iterator.- Returns:
- the iterator
-
saveFavorites
Saves the favorites.
-