Class AbstractMultipleSelectAgentBuilder.AbstractMultipleSelectAgentImpl
java.lang.Object
org.zkoss.zats.mimic.impl.operation.AgentDelegator<ComponentAgent>
org.zkoss.zats.mimic.impl.operation.select.AbstractMultipleSelectAgentBuilder.AbstractMultipleSelectAgentImpl
- All Implemented Interfaces:
Agent,MultipleSelectAgent,OperationAgent
- Enclosing class:
- AbstractMultipleSelectAgentBuilder
public abstract static class AbstractMultipleSelectAgentBuilder.AbstractMultipleSelectAgentImpl
extends AgentDelegator<ComponentAgent>
implements MultipleSelectAgent
-
Field Summary
Fields inherited from class org.zkoss.zats.mimic.impl.operation.AgentDelegator
target -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcollectSelectedItems(Set<String> selected) voiddeselect()to de-select an item.protected abstract org.zkoss.zk.ui.Componentprotected abstract booleanvoidselect()to select an item.Methods inherited from class org.zkoss.zats.mimic.impl.operation.AgentDelegator
getClient, getDelegateeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zkoss.zats.mimic.Agent
getClient, getDelegatee
-
Constructor Details
-
AbstractMultipleSelectAgentImpl
-
-
Method Details
-
select
public void select()Description copied from interface:MultipleSelectAgentto select an item. If the parent component isn't at multiple selection mode, it will throw exception.- Specified by:
selectin interfaceMultipleSelectAgent
-
deselect
public void deselect()Description copied from interface:MultipleSelectAgentto de-select an item. If the parent component isn't at multiple selection mode, it will throw exception.- Specified by:
deselectin interfaceMultipleSelectAgent
-
getEventTarget
protected abstract org.zkoss.zk.ui.Component getEventTarget() -
isMultiple
protected abstract boolean isMultiple() -
collectSelectedItems
-