|
PHP2Go Javascript Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--Field
|
+--ComponentField
|
+--MultiColumnLookupField
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 |
Object btn
Object container
Object height
Object selectedIndex
Object size
Object style
Object tbl
Object tblContainer
Object text
| Constructor Detail |
MultiColumnLookupField(<String> id, <Integer> height, <Object> style)
id - Component's ID
height - Table height
style - Style properties hash
| Method Detail |
void cellClickHandler(<Event> e)
e - Event
void cellHoverHandler(<Event> e)
e - Event
void clear()
void clearOptions()
void focus()
String getValue()
void hide()
void importOptions(str, lsep, csep, pos)
String - str Options string
String - lsep Line separator
String - csep Column separator
Integer - pos Add position
void keyHandler(<Event> e)
e - Event
void mouseDownHandler(<Event> e)
e - Event
void navigate(<Integer> fw)
fw - Offset (positive or negative)
void setDisabled(<Boolean> b)
b - Flag value
void setup()
void setValue(<String> val)
val - New value
void setValueByIndex(<Integer> idx)
idx - Option index
void toggleDisplay()
|
PHP2Go Javascript Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||