formtoolkit
Class PullDownMenu

java.lang.Object
  extended byformtoolkit.FormComponent
      extended byformtoolkit.MenuFormComponent
          extended byformtoolkit.PullDownMenu

public class PullDownMenu
extends MenuFormComponent

Title: Form Toolkit Description: Copyright: Copyright (c) 2002 Company: Fox Chase Cancer Center


Constructor Summary
PullDownMenu(java.lang.String[] menuValues, java.lang.String[] menuLabels)
           
 
Method Summary
 java.lang.String generateHTML(int prefix, java.lang.String value)
          should silently ignore invalid values so that the form to correct them can be produced...
 void setMultSelect(boolean multSelect)
          Enables/disables the multiple selection feature.
 
Methods inherited from class formtoolkit.MenuFormComponent
setMenuLabels, setMenuValues
 
Methods inherited from class formtoolkit.FormComponent
generateHTML, generateHTML, getDescr, getName, setDefaultValue, setDescr, setName, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PullDownMenu

public PullDownMenu(java.lang.String[] menuValues,
                    java.lang.String[] menuLabels)
Method Detail

setMultSelect

public void setMultSelect(boolean multSelect)
Enables/disables the multiple selection feature. If multSelect=true, then multiple menu choices may be selected. Otherwise, only one may be selected.


generateHTML

public java.lang.String generateHTML(int prefix,
                                     java.lang.String value)
Description copied from class: FormComponent
should silently ignore invalid values so that the form to correct them can be produced...

Specified by:
generateHTML in class FormComponent