Class Index | File Index

Classes


Class ROS3D.InteractiveMarkerMenu


Defined in: InteractiveMarkerMenu.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A menu for an interactive marker.
Method Summary
Method Attributes Method Name and Description
 
hide(event)
Hide the menu DOM element.
<inner>  
makeUl(parentDomElem, parentMenu)
Create the HTML UL element for the menu and link it to the parent.
 
show(control, event)
Shoe the menu DOM element.
Class Detail
ROS3D.InteractiveMarkerMenu(options)
A menu for an interactive marker. This will be overlayed on the canvas.
Parameters:
options
- object with following keys: * menuEntries - the menu entries to add * className (optional) - a custom CSS class for the menu div * entryClassName (optional) - a custom CSS class for the menu entry * overlayClassName (optional) - a custom CSS class for the menu overlay
Method Detail
hide(event)
Hide the menu DOM element.
Parameters:
event
(optional) - the event that caused this

<inner> makeUl(parentDomElem, parentMenu)
Create the HTML UL element for the menu and link it to the parent.
Parameters:
parentDomElem
- the parent DOM element
parentMenu
- the parent menu

show(control, event)
Shoe the menu DOM element.
Parameters:
control
- the control for the menu
event
- the event that caused this

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 03 2013 18:15:58 GMT-0700 (PDT)