ugsEditorPlus.submenuUi Class
Wires up all the "pseudo-selects" (aka "dropdownlists") on a Tooltip-Dialog boxes on the page; assumes consistent HTML (hello, jQuery) TODO: Refactor -- quite brittle!
Item Index
Properties
Methods
closeAll
-
e
user clicked off the current dialog -- close 'em all
Parameters:
-
e
Event
doCollapseAllLists
-
e
Parameters:
-
e
Event
Returns:
bool
getLabelText
-
action
-
value
-
$ele
Builds a descriptor string of the current values for the pseudo-select labels
Parameters:
-
action
String -
value
String -
$ele
JQueryElementjQuery element that ...
Returns:
init
()
type
public
attaches event handlers
Returns:
[description]
onLabelClick
-
e
Label has been clicked, show associated options dialog box. Watch for 2-clicks on same label (should hide on second click)
Parameters:
-
e
Event
Returns:
false to kill event bubbling
onListActive
-
ele
-
isInUse
trying prevent the options not being set from being too distractive -- (trying and clearly failing)
Parameters:
-
ele
DOM-elemnt[description]
-
isInUse
Boolean[description]
Returns:
void
onOptionClick
-
e
a list item has been clicked
Parameters:
-
e
Event
Returns:
false to kill event bubbling
Properties
_descriptions
JSON
private
used to construct the descriptions for current values
_public
JsonObject
attach public members to this object