public class CmsRenameView
extends com.google.gwt.user.client.ui.Composite
| 限定符和类型 | 字段和说明 |
|---|---|
protected CmsPushButton |
m_cancelButton
The Cancel button.
|
protected com.google.gwt.user.client.ui.Panel |
m_infoBoxContainer
The container for the resource info box.
|
protected CmsTextBox |
m_newNameInput
The input field for the new name.
|
protected com.google.gwt.user.client.ui.HasText |
m_newNameLabel
The label for the input box.
|
protected CmsPushButton |
m_okButton
The OK button.
|
protected com.google.gwt.user.client.ui.HasText |
m_oldNameLabel
The label for the old name.
|
protected com.google.gwt.user.client.ui.HasText |
m_oldNameValue
The label containing the old name.
|
| 构造器和说明 |
|---|
CmsRenameView(CmsRenameInfoBean renameInfo,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> renameCallback)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<CmsPushButton> |
getDialogButtons()
Gets the buttons which should be inserted into the parent dialog.
|
protected void |
onClickCancel(com.google.gwt.event.dom.client.ClickEvent e)
Event handler for the Cancel button.
|
protected void |
onClickOk(com.google.gwt.event.dom.client.ClickEvent e)
Event handler for the OK button.
|
void |
setDialog(CmsPopup popup)
Sets the dialog in which this view is contained.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, 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, unsinkEvents@UiField protected CmsPushButton m_cancelButton
@UiField protected com.google.gwt.user.client.ui.Panel m_infoBoxContainer
@UiField protected CmsTextBox m_newNameInput
@UiField protected com.google.gwt.user.client.ui.HasText m_newNameLabel
@UiField protected CmsPushButton m_okButton
@UiField protected com.google.gwt.user.client.ui.HasText m_oldNameLabel
@UiField protected com.google.gwt.user.client.ui.HasText m_oldNameValue
public CmsRenameView(CmsRenameInfoBean renameInfo, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> renameCallback)
renameInfo - the information for the resource which is being renamedrenameCallback - the callback which should be called when the resource has been successfully renamedpublic java.util.List<CmsPushButton> getDialogButtons()
public void setDialog(CmsPopup popup)
popup - the dialog containing this view@UiHandler(value="m_cancelButton") protected void onClickCancel(com.google.gwt.event.dom.client.ClickEvent e)
e - the click event@UiHandler(value="m_okButton") protected void onClickOk(com.google.gwt.event.dom.client.ClickEvent e)
e - the click event