SilverStream
Application Server 3.5

com.sssw.shr.page
Class AgpChoice

java.lang.Object
 |
 +--com.sssw.shr.page.AgpTag
       |
       +--com.sssw.shr.page.AgpControlBase
             |
             +--com.sssw.shr.page.AgpListBase
                   |
                   +--com.sssw.shr.page.AgpChoice
All Implemented Interfaces:
AgiJavaScriptEnhanced, AgiPageControl, AgiRowSetManager, Cloneable, Externalizable, Serializable

public class AgpChoice
extends AgpListBase

HTML Choice dropdown control. The Choice control is usually a dropdown that displays a list of items to the user when clicked. The user can select one of the items. The control then displays the selection as a single text item. The browser may decide to display the Choice control as a dropdown or as a simple list box.

Note that the width is determined by the content, which may not be known at design time.

Properties:
Automatic Query, Choices, Data Column, Display Value, Distinct, Enable HTML Generation, Limit Rows, Load Choices, Maximum Rows, Name, Order By, Put Values In OPTION Tag, Storage Value, Submit On Change, Table Name, Values, Where Clause
Events:
validationFailed, validationTest, valueChanged
See Also:
Serialized Form

Fields inherited from class com.sssw.shr.page.AgpTag
UNIT_PERCENT, UNIT_PIXEL
 
Constructor Summary
AgpChoice()
           
 
Methods inherited from class com.sssw.shr.page.AgpListBase
add, add, deselect, getItem, getItemCount, getItems, getItemValue, getItemValues, getSelectedIndex, getSubmitOnChange, getValue, getValueInOptionTag, insert, insert, isSelected, loadFromRowCursor, remove, removeAll, replaceItem, replaceItem, select, setSubmitOnChange, setValue, setValueInOptionTag
 
Methods inherited from class com.sssw.shr.page.AgpControlBase
getName
 
Methods inherited from class com.sssw.shr.page.AgpTag
getBoolProperty, getEnableHTMLGeneration, getIntArrayProperty, getIntProperty, getIntPropertyUnit, getProperty, getStringArrayProperty, invalidateHTML, removeProperty, setEnableHTMLGeneration, setIntProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods implemented from interface com.sssw.shr.page.AgiJavaScriptEnhanced
generateFunction, generateRepaintScript, generateScriptInitializers, getFunctionNameForMethod, getFunctionNames, getMethodNames, getScriptObjectName, isHTMLRepaintPending, isJavaScriptRepaintPending
 
Methods implemented from interface com.sssw.shr.page.AgiPageControl
generateHTML, getPrefix, notifyPageLoaded, notifyPageRequestBegin, notifyPageRequestEnd, notifyPostValue, notifyPostValues
 
Methods implemented from interface com.sssw.rt.util.AgiRowSetManager
clearRows, haveRowsChanged, query, query, refreshRows, updateRows
 
Methods implemented from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

AgpChoice

public AgpChoice()

SilverStream
Application Server 3.5