Recent Changes - Search:

Information

Installation

Documentation

 

 « Frame | Sitemap | Panel » 

Dialog

Dialogs are independent frames too but the main difference with respect to the previous case is that is not possible to minimize it (although it can hide). Dialogs keep visible above the previous frame in the elements tree. This may be useful in a multiframe simulations. However, the use of dialogs is not suitable for java applets on web pages because they can disappear behind the browser window.

Properties

Dialog  
Main  
Name Description Values accepted Default
Title The title to display at the top. A string constant or variable.
Layout The layout policy for this container. Use the editor provided or read about the layout property.
Visible The visibility of the element. A boolean variable or one of the constants true or false.
Closable Whether the dialog can be closed. A boolean variable or one of the constants true or false.
Modal Modal dialogs block the rest of the interface. A boolean variable or one of the constants true or false.
On Resize The action to invoke when the element is resized. The Java code to invoke for the action.
On Closing The action to invoke when the window is closed. The Java code to invoke for the action.
Position and Size  
Name Description Values accepted Default
Location The location of the window. Type the point coordinates or use the editor provided.
Size The double[] array with the size of the frame in each direction. Type the two size values or use the editor provided.
Resizable Whether the element can be resized. A boolean variable or one of the constants true or false.
Graphical Aspect  
Name Description Values accepted Default
Print Target The view element to print when taking a snapshot. A string constant or variable.
Background The background color for the element. Use the editor provided or read about colors.
Foreground The color to use when drawing or writing in the element. Use the editor provided or read about colors.
Font The font used to display text in the element. Use the editor provided to select name, style and size of the font.
Tooltip Text displayed when the mouse is over the element. A string constant or variable.



 « Frame | Sitemap | Panel » 

Edit - History - Print - Recent Changes - Search
Page last modified on September 29, 2010, at 03:16 PM