org.kuali.rice.core.api.uif
Class RemotableSelect

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.core.api.uif.RemotableAbstractControl
          extended by org.kuali.rice.core.api.uif.RemotableSelect
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete, Control, KeyLabeled, Select, Sized

public final class RemotableSelect
extends RemotableAbstractControl
implements Select

A select control type.

See Also:
Serialized Form

Nested Class Summary
static class RemotableSelect.Builder
           
 
Method Summary
 List<RemotableSelectGroup> getGroups()
          Gets an immutable list of Grouped keyLabel pairs.
 Map<String,String> getKeyLabels()
          The key-label pairs to display on the control.
 Integer getSize()
          The size value to make the control.
 boolean isMultiple()
          Whether the select control allows selection of multiple values.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getKeyLabels

public Map<String,String> getKeyLabels()
Description copied from interface: KeyLabeled
The key-label pairs to display on the control. This field cannot be null or an empty map.

Specified by:
getKeyLabels in interface KeyLabeled
Returns:
a map containing values.

getSize

public Integer getSize()
Description copied from interface: Sized
The size value to make the control. This field can be null. Cannot be less than 1.

Specified by:
getSize in interface Sized
Returns:
the size value or null.

getGroups

public List<RemotableSelectGroup> getGroups()
Description copied from interface: Select
Gets an immutable list of Grouped keyLabel pairs. When this list is non-empty, KeyLabeled.getKeyLabels() must be empty. Cannot be null.

Specified by:
getGroups in interface Select
Returns:
the list of groups.

isMultiple

public boolean isMultiple()
Description copied from interface: Select
Whether the select control allows selection of multiple values. defaults to false.

Specified by:
isMultiple in interface Select
Returns:
allows multiple selections


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.