public class DefaultSubcommandsCommandDecorator extends AbstractCommandDecorator implements SubcommandsCommandDecorator, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
| Modifier and Type | Field and Description |
|---|---|
protected org.zkoss.zul.Combobutton |
combobutton |
commandATTRIB_DECORATOR, ATTRIB_DIRTY_NOTIFIED, ATTRIB_MODIFIED| Constructor and Description |
|---|
DefaultSubcommandsCommandDecorator(Command command) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(Object container) |
void |
dettach() |
String |
getName() |
boolean |
isAttached() |
boolean |
isDisabled() |
void |
onEvent(org.zkoss.zk.ui.event.Event event) |
void |
render() |
protected void |
renderSubCommands(Command parent,
org.zkoss.zul.Menupopup container) |
void |
setDisabled(boolean disabled) |
void |
setName(String name) |
addMessageListener, dispatchMessage, getCommand, getListeners, processMessage, removeMessageListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandaddMessageListener, dispatchMessage, getListeners, removeMessageListenerprocessMessagepublic DefaultSubcommandsCommandDecorator(Command command)
public void attach(Object container)
attach in interface CommandDecoratorpublic void dettach()
dettach in interface CommandDecoratorpublic String getName()
getName in interface CommandDecoratorpublic boolean isAttached()
isAttached in interface CommandDecoratorpublic boolean isDisabled()
isDisabled in interface CommandDecoratorpublic void onEvent(org.zkoss.zk.ui.event.Event event)
throws Exception
onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>Exceptionpublic void render()
render in interface CommandDecoratorprotected void renderSubCommands(Command parent, org.zkoss.zul.Menupopup container)
public void setDisabled(boolean disabled)
setDisabled in interface CommandDecoratorpublic void setName(String name)
setName in interface CommandDecoratorCopyright 2012-2013 Veniamin Isaias. All rights reserved.