PHP2Go Javascript Framework

Class MultiColumnLookupField

Object
   |
   +--Field
         |
         +--ComponentField
               |
               +--MultiColumnLookupField

class MultiColumnLookupField
extends ComponentField


MultiColumnLookupField
Defined in form/multicolumnlookupfield.js


Field Summary
 Object btn
          
 Object container
          
 Object height
          
 Object selectedIndex
          
 Object size
          
 Object style
          
 Object tbl
          
 Object tblContainer
          
 Object text
          
   
Fields inherited from class ComponentField
componentClass
   
Fields inherited from class Field
fld, id, name, label, type
 
Constructor Summary
MultiColumnLookupField (<String> id, <Integer> height, <Object> style)
            Javascript component used by the MultiColumnLookupField form component
 
Method Summary
 void cellClickHandler(<Event> e)
           Handles a mouse click event on the table rows.
 void cellHoverHandler(<Event> e)
           Handles mouseover event on the option rows.
 void clear()
           Clear the component's value
 void clearOptions()
           Clear all options in the component
 void focus()
           Move focus to the component's first member
 String getValue()
           Retrieve the component's value
 void hide()
           Hide the table containing component's options
 void importOptions(str, lsep, csep, pos)
           Import options to the component from a string splitted by line and column separators.
 void keyHandler(<Event> e)
           Handler method for keyboard events
 void mouseDownHandler(<Event> e)
           Handler method for the mousedown event.
 void navigate(<Integer> fw)
           Navigation method.
 void setDisabled(<Boolean> b)
           Disables/enables the component
 void setup()
           Initializes the component's properties and event handlers
 void setValue(<String> val)
           Define the component's value
 void setValueByIndex(<Integer> idx)
           Select an option from its index
 void toggleDisplay()
           Toggle display status of the component
 
Methods inherited from class ComponentField
raiseEvent
   
Methods inherited from class Field
getFormElement, getMask, isEmpty, enable, disable, beforeFocus, serialize
 

Field Detail

btn

Object btn

container

Object container

height

Object height

selectedIndex

Object selectedIndex

size

Object size

style

Object style

tbl

Object tbl

tblContainer

Object tblContainer

text

Object text

Constructor Detail

MultiColumnLookupField

MultiColumnLookupField(<String> id, <Integer> height, <Object> style)

Method Detail

cellClickHandler

void cellClickHandler(<Event> e)

cellHoverHandler

void cellHoverHandler(<Event> e)

clear

void clear()

clearOptions

void clearOptions()

focus

void focus()

getValue

String getValue()

hide

void hide()

importOptions

void importOptions(str, lsep, csep, pos)

keyHandler

void keyHandler(<Event> e)

mouseDownHandler

void mouseDownHandler(<Event> e)

navigate

void navigate(<Integer> fw)

setDisabled

void setDisabled(<Boolean> b)

setup

void setup()

setValue

void setValue(<String> val)

setValueByIndex

void setValueByIndex(<Integer> idx)

toggleDisplay

void toggleDisplay()

PHP2Go Javascript Framework

Copyright © 2002-2006 by Marcos Pont
Documentation generated by JSDoc on Sun Oct 7 19:52:10 2007