Name

modaldialog

Synopsis

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

Description

A modal dialog window.

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basewindow » windowpanel » modaldialog

Known Subclasses

Known Direct Subclasses: alert

Details

Properties (4)

content_inset_bottom
<attribute name="content_inset_bottom" value="10" />
public var content_inset_bottom;
The bottom inset for the dialog contents from the edge of the window inner frame.
content_inset_left
<attribute name="content_inset_left" value="14" />
public var content_inset_left;
The left inset for the dialog contents from the edge of the window inner frame.
content_inset_right
<attribute name="content_inset_right" value="14" />
public var content_inset_right;
The right inset for the dialog contents from the edge of the window inner frame
content_inset_top
<attribute name="content_inset_top" value="10" />
public var content_inset_top;
The top inset for the dialog contents from the edge of the window inner frame.

Methods (2)

close()
<method name="close" />
public function close();
Closes the dialog.
open()
<method name="open" />
public function open();
Opens the dialog (use this method, not setVisible). While the dialog is open, the user will not be able to interact with other windows or UI elements in the application.

LZX Synopsis

<class name="modaldialog" extends=" windowpanel ">
  <attribute name=" content_inset_bottom " value="10" />
  <attribute name=" content_inset_left " value="14" />
  <attribute name=" content_inset_right " value="14" />
  <attribute name=" content_inset_top " value="10" />
  <method name=" close " />
  <method name=" open " />
</class>

JavaScript Synopsis

public modaldialog extends  windowpanel  {
  public var content_inset_bottom ;
  public var content_inset_left ;
  public var content_inset_right ;
  public var content_inset_top ;
  prototype public function close ();
  prototype public function open ();
}