org.kuali.rice.kns.uif.control
Class SelectControl

java.lang.Object
  extended by org.kuali.rice.kns.uif.core.ComponentBase
      extended by org.kuali.rice.kns.uif.control.ControlBase
          extended by org.kuali.rice.kns.uif.control.MultiValueControlBase
              extended by org.kuali.rice.kns.uif.control.SelectControl
All Implemented Interfaces:
Serializable, Control, Component, ScriptEventSupport, org.springframework.core.Ordered

public class SelectControl
extends MultiValueControlBase

Represents a HTML Select control. Provides preset options for the User to choose from by a drop down

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.kuali.rice.kns.uif.core.Ordered
INITIAL_ORDER_VALUE
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
SelectControl()
           
 
Method Summary
 int getSize()
          Horizontal size of the control.
 boolean isMultiple()
          Indicates whether multiple values can be selected.
 void setMultiple(boolean multiple)
           
 void setSize(int size)
           
 
Methods inherited from class org.kuali.rice.kns.uif.control.MultiValueControlBase
getOptions, setOptions
 
Methods inherited from class org.kuali.rice.kns.uif.control.ControlBase
getComponentTypeName, getTabIndex, setTabIndex
 
Methods inherited from class org.kuali.rice.kns.uif.core.ComponentBase
addStyleClass, appendToStyle, getAlign, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getConditionalColSpan, getConditionalReadOnly, getConditionalRender, getConditionalRequired, getConditionalRowSpan, getContext, getEventCode, getId, getNestedComponents, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getPropertiesForReferenceCopy, getPropertyReplacers, getRequired, getRowSpan, getStyle, getStyleClasses, getStyleClassesAsString, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnDocumentReady, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnLoad, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, getTemplate, getTitle, getValign, getWidth, isHidden, isReadOnly, isRender, performApplyModel, performFinalize, performInitialization, pushObjectToContext, setAlign, setColSpan, setComponentModifiers, setComponentOptions, setConditionalColSpan, setConditionalReadOnly, setConditionalRender, setConditionalRequired, setConditionalRowSpan, setContext, setHidden, setId, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPropertyReplacers, setReadOnly, setRender, setRequired, setRowSpan, setStyle, setStyleClasses, setStyleClasses, setTemplate, setTitle, setValign, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.uif.core.Component
addStyleClass, appendToStyle, getColSpan, getComponentModifiers, getComponentOptions, getConditionalReadOnly, getContext, getId, getNestedComponents, getOrder, getPropertiesForReferenceCopy, getPropertyReplacers, getRequired, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isReadOnly, isRender, performApplyModel, performFinalize, performInitialization, pushObjectToContext, setColSpan, setComponentModifiers, setComponentOptions, setConditionalReadOnly, setContext, setHidden, setId, setOrder, setPropertyReplacers, setReadOnly, setRender, setRequired, setRowSpan, setStyle, setStyleClasses, setTemplate, setTitle
 

Constructor Detail

SelectControl

public SelectControl()
Method Detail

getSize

public int getSize()
Horizontal size of the control. This determines how many options can be seen without using the control scoll bar. Defaults to 1

Returns:
int size

setSize

public void setSize(int size)

isMultiple

public boolean isMultiple()
Indicates whether multiple values can be selected. Defaults to false

If multiple is set to true, the underlying property must be of Array type

Returns:
boolean true if multiple values can be selected, false if only one value can be selected

setMultiple

public void setMultiple(boolean multiple)


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