Name

menubutton

Synopsis

LZX: menubutton
JavaScript: lz.menubutton
Type: Class
Access: public
Topic: Components.Laszlo Components
Declared in: lps/components/lz/menu.lzx

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basebutton » button » menubutton

Known Subclasses

Details

Properties (1)

_menuref
<attribute name="_menuref" value="null" />
private var _menuref;
Reference to menu that created this button.

Methods (4)

registerEventHandlers()
<method name="registerEventHandlers" />
public function registerEventHandlers();
this method is called to override the default event handling inherited from button @keywords private
showDown()
<method name="showDown" />
private function showDown();
override the button's showDown method to also display the associated menu
showout()
<method name="showout" />
public function showout();
toString()
<method name="toString" />
private function toString();

LZX Synopsis

<class name="lz.menubutton" extends=" lz.button ">
  <attribute name=" _menuref " value="null" />
  <method name=" registerEventHandlers " />
  <method name=" showDown " />
  <method name=" showout " />
  <method name=" toString " />
</class>

JavaScript Synopsis

public lz.menubutton extends  lz.button  {
  private var _menuref ;
  prototype public function registerEventHandlers ();
  prototype private function showDown ();
  prototype public function showout ();
  prototype private function toString ();
}