public abstract class A_CmsToolbarListMenuButton extends CmsMenuButton implements I_CmsToolbarActivatable
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DIALOG_WIDTH
The dialog width.
|
protected boolean |
m_initialized
Flag to indicate if the menu tabs have been initialized.
|
static java.lang.String |
TM_LITST_MENU
Text metrics key for truncation.
|
m_button, m_popup, m_resizeRegistration| 构造器和说明 |
|---|
A_CmsToolbarListMenuButton(java.lang.String title,
java.lang.String iconClass,
CmsSitemapToolbar toolbar,
CmsSitemapController controller)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addTab(com.google.gwt.user.client.ui.FlowPanel tab,
java.lang.String title)
Adds a new tab to the tab-panel.
|
com.google.gwt.user.client.ui.FlowPanel |
createTab(CmsList<? extends I_CmsListItem> list)
Creates a new tab.
|
protected CmsSitemapController |
getController()
Returns the controller.
|
protected CmsSitemapToolbar |
getToolbar()
Returns the toolbar.
|
protected abstract void |
initContent()
Initializes the menu tabs.
|
void |
onActivation(com.google.gwt.user.client.ui.Widget widget)
Execute on activation.
|
addClickHandler, autoClose, clear, closeMenu, disable, enable, getPopup, hide, hideMenu, isEnabled, isOpen, isOpenRight, onBrowserEvent, openMenu, setButtonDown, setButtonUp, setEnabled, setMenuWidget, setOpenRight, setToolbarMode, showclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetEnabledpublic static final int DIALOG_WIDTH
public static final java.lang.String TM_LITST_MENU
protected boolean m_initialized
public A_CmsToolbarListMenuButton(java.lang.String title,
java.lang.String iconClass,
CmsSitemapToolbar toolbar,
CmsSitemapController controller)
title - the button titleiconClass - the icon CSS classtoolbar - the toolbar instancecontroller - the controller instancepublic void addTab(com.google.gwt.user.client.ui.FlowPanel tab,
java.lang.String title)
tab - the tabtitle - the tab titlepublic com.google.gwt.user.client.ui.FlowPanel createTab(CmsList<? extends I_CmsListItem> list)
list - list of itemspublic void onActivation(com.google.gwt.user.client.ui.Widget widget)
I_CmsToolbarActivatableonActivation 在接口中 I_CmsToolbarActivatablewidget - the widgetI_CmsToolbarActivatable.onActivation(com.google.gwt.user.client.ui.Widget)protected CmsSitemapController getController()
protected CmsSitemapToolbar getToolbar()
protected abstract void initContent()