public abstract class AbstractClickableCommandDecorator extends AbstractCommandDecorator implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
| Modifier and Type | Field and Description |
|---|---|
protected org.zkoss.zul.impl.LabelImageElement |
clickable |
commandATTRIB_DECORATOR, ATTRIB_DIRTY_NOTIFIED, ATTRIB_MODIFIED| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClickableCommandDecorator(Command command) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach(Object container) |
void |
dettach() |
void |
dispatchMessage(Message message) |
protected abstract org.zkoss.zul.impl.LabelImageElement |
getClickable() |
String |
getName() |
boolean |
isAttached() |
void |
onEvent(org.zkoss.zk.ui.event.Event event) |
void |
processMessage(Message message) |
void |
render() |
void |
setName(String name) |
addMessageListener, getCommand, getListeners, removeMessageListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDisabled, setDisabledprotected AbstractClickableCommandDecorator(Command command)
public void attach(Object container)
attach in interface CommandDecoratorpublic void dettach()
dettach in interface CommandDecoratorpublic void dispatchMessage(Message message)
dispatchMessage in interface MessageAwaredispatchMessage in class AbstractCommandDecoratorprotected abstract org.zkoss.zul.impl.LabelImageElement getClickable()
public String getName()
getName in interface CommandDecoratorpublic boolean isAttached()
isAttached 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 processMessage(Message message)
processMessage in interface MessageListenerprocessMessage in class AbstractCommandDecoratorpublic void render()
render in interface CommandDecoratorpublic void setName(String name)
setName in interface CommandDecoratorCopyright 2012-2013 Veniamin Isaias. All rights reserved.