jsm

Class JsmDoubleSelectField

Object
   |
   +--JsmObject
         |
         +--JsmWidget
               |
               +--JsmSelectField
                     |
                     +--JsmDoubleSelectField

class JsmDoubleSelectField
extends JsmSelectField


Lets the user move values from one select list into another
Defined in net/sf/jsm/widgets/jsmDoubleSelectField.js


Field Summary
 Object _delimiter
          
<private>  Array _options
          The options of this select box
 Object _size
          How many options will be shown
 Object selected
          
   
Fields inherited from class JsmSelectField
selected, _options, _multi, _size, _delimiter
   
Fields inherited from class JsmObject
className, id, META_DATA_NAME_PROPERTY_PATH, META_DATA_NAME_VALUE, _attributes, _metaData
 
Constructor Summary
JsmDoubleSelectField (<Array> options, <Array> selectedValueOrLabel, <int> size)
            Creates a new JsmDoubleSelectField
 
Method Summary
 JsmDoubleSelectField clone()
           Clones this JsmDoubleSelectField
 Object getNode()
           Returns the node of the view component; in this case this is a link which will open a div with the select-boxes; the model (this) will be attached to the node as property 'model'
 void showDiv(x, y)
          
 void updateModel(<JsmTable> table, <int> rowIdx, <int> columnIdx, theViewComponent)
           Update the tabel model if all validators are passed.
 
Methods inherited from class JsmSelectField
getSelected, setSelected, setMulti, isMulti, setSize, getSize, getOptions, setOptions, addOption, init
   
Methods inherited from class JsmWidget
validate, addValidator, getValidators, removeValidators
   
Methods inherited from class JsmObject
toString, identify, setId, getId, setAttribute, getAttribute, setMetaData, getMetaData, addAttributesToViewComponent
 

Field Detail

_delimiter

Object _delimiter

_options

<private> Array _options

_size

Object _size

selected

Object selected

Constructor Detail

JsmDoubleSelectField

JsmDoubleSelectField(<Array> options, <Array> selectedValueOrLabel, <int> size)

Method Detail

clone

JsmDoubleSelectField clone()

getNode

Object getNode()

showDiv

void showDiv(x, y)

updateModel

void updateModel(<JsmTable> table, <int> rowIdx, <int> columnIdx, theViewComponent)

jsm

Documentation generated by JSDoc on Tue Sep 26 08:42:57 2006