public class SaveButton extends Object implements MenuCustom<com.google.gwt.user.client.ui.Widget>
| Constructor and Description |
|---|
SaveButton() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MenuVisitor visitor) |
void |
addEnabledStateChangeListener(EnabledStateChangeListener listener) |
com.google.gwt.user.client.ui.Widget |
build() |
String |
getCaption() |
String |
getContributionPoint() |
String |
getIdentifier() |
int |
getOrder() |
MenuPosition |
getPosition() |
boolean |
isEnabled() |
void |
setCommand(Command command) |
void |
setEnabled(boolean enabled) |
void |
setTextToRestore() |
void |
setTextToSave() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPermissions, getResourceActionsgetDependencies, getResourceType, isTypepublic com.google.gwt.user.client.ui.Widget build()
build in interface MenuCustom<com.google.gwt.user.client.ui.Widget>public void setEnabled(boolean enabled)
setEnabled in interface MenuItempublic String getContributionPoint()
getContributionPoint in interface MenuItempublic String getCaption()
getCaption in interface MenuItempublic MenuPosition getPosition()
getPosition in interface MenuItempublic void accept(MenuVisitor visitor)
public void addEnabledStateChangeListener(EnabledStateChangeListener listener)
addEnabledStateChangeListener in interface HasEnabledStateChangeListenerspublic String getIdentifier()
getIdentifier in interface Resourcepublic void setTextToSave()
public void setTextToRestore()
public void setCommand(Command command)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.