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 Constructor Description AbstractMultipleSelectAgentImpl(ComponentAgent target)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcollectSelectedItems(Set<String> selected)voiddeselect()to de-select an item.protected abstract org.zkoss.zk.ui.ComponentgetEventTarget()protected abstract booleanisMultiple()voidselect()to select an item.-
Methods inherited from class org.zkoss.zats.mimic.impl.operation.AgentDelegator
getClient, getDelegatee
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zkoss.zats.mimic.Agent
getClient, getDelegatee
-
-
-
-
Constructor Detail
-
AbstractMultipleSelectAgentImpl
public AbstractMultipleSelectAgentImpl(ComponentAgent target)
-
-
Method Detail
-
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()
-
-