public class CmsPropertyDefinitionButton extends CmsPushButton
com.google.gwt.user.client.ui.CustomButton.Face
构造器和说明 |
---|
CmsPropertyDefinitionButton()
Creates a new instance of the button.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
editPropertyDefinition()
Opens the dialog for creating new property definitions.
|
CmsFormDialog |
getDialog()
Gets the dialog which this button is used for.
|
void |
installOnDialog(CmsFormDialog dialog)
Installs the button on a dialog if the user has sufficient permissions.
|
void |
onBeforeEditPropertyDefinition()
Method which is called directly before the property definition dialog is opened.
|
void |
onClosePropertyDefinitionDialog()
Method which is called when the property definition dialog is closed.
|
void |
setDialog(CmsFormDialog dialog)
Sets the dialog instance.
|
clearHoverState, disable, enable, getDownImageClass, getFaceHtml, getHorizontalAlignment, getImageClass, getSize, getText, getTitle, isDown, isUseMinWidth, onBrowserEvent, setButtonStyle, setDown, setDownFace, setDownImageClass, setHorizontalAlignment, setImageClass, setSize, setText, setTitle, setUpFace, setUseMinWidth
getDownDisabledFace, getDownFace, getDownHoveringFace, getHTML, getTabIndex, getUpDisabledFace, getUpFace, getUpHoveringFace, onAttach, onDetach, setAccessKey, setEnabled, setFocus, setHTML, setHTML, setTabIndex
addBlurHandler, addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addFocusHandler, addFocusListener, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getFocusImpl, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public CmsPropertyDefinitionButton()
public CmsFormDialog getDialog()
public void installOnDialog(CmsFormDialog dialog)
dialog
- the dialog to which the button should be addedpublic void onBeforeEditPropertyDefinition()
public void onClosePropertyDefinitionDialog()
public void setDialog(CmsFormDialog dialog)
dialog
- the dialog instanceprotected void editPropertyDefinition()