|
|
|||||
| Package com.dassault_systemes.catjdialog |
Class CATDialogFrame
|
| Class Hierarchy |
java.lang.Object
|
+-com.dassault_systemes.catjdialog.CATCallbackSource
|
+-com.dassault_systemes.catjdialog.CATDialog
|
+-com.dassault_systemes.catjdialog.CATDialogFrame
| Class Location |
| Class Description |
public class CATDialogFrame
The dialog frame graphical component.
<dialogframe_path>.Title entry.
You may also set it programmatically using setTitle().
All Implemented Interfaces: CATIContainerDialog CATIToolbarHolder CATIFocalContentHolder
| Field Summary |
| Constructor Summary |
| CATDialogFrame(CATDialog iParent, String iName)
Creates a dialog frame with the specified parent and name. |
| Method Summary |
| public CATDialog | getContent()
Returns the child component that is the content of the dialog box. |
| public CATFrame | getFocalArea()
|
| public String | getTitle()
Returns the dialog frame's title. |
| public CATMenuModel | getToolbar()
Returns the toolbar model (if any). |
| public String | getToolbarModelURL()
Returns the toolbar model URL (if any). |
| public CATToolbarCommandNotification | getToolbarNotification()
Returns the toolbar activation notification. |
| public void | setTitle(String iTitle)
Sets the dialog frame's title. |
| public void | setToolbar(CATMenuModel iModel)
Sets the toolbar model object. |
| public void | setToolbarModelURL(String iModelURL)
Sets the toolbar model URL. |
| Field Detail |
| Constructor Detail |
CATDialogFrame(CATDialog iParent, String iName)
Creates a dialog frame with the specified parent and name.
iParentiName| Method Detail |
public CATDialog getContent()
Returns the child component that is the content of the dialog box.
public CATFrame getFocalArea()
public String getTitle()
Returns the dialog frame's title.
Returns the programmatic value if setTitle() has been called,
or tries to retrieve its title from the associated message catalog file
(<dialogframe_path>.Title entry).
public CATMenuModel getToolbar()
Returns the toolbar model (if any).
null if not toolbar.
public String getToolbarModelURL()
Returns the toolbar model URL (if any).
null if no toolbar URL.
public CATToolbarCommandNotification getToolbarNotification()
Returns the toolbar activation notification.
This notification is sent when an enabled toolbar button is pressed.
public void setTitle(String iTitle)
Sets the dialog frame's title.
Calling this method sets programmatically the title. This should
be reserved for cases where the title can only be determined by dynamic
means.
The standard way of defining components messages is using CATNls catalog
files (supports NLS).
iTitle
public void setToolbar(CATMenuModel iModel)
Sets the toolbar model object.
iModelnull value unsets the toolbar).
public void setToolbarModelURL(String iModelURL)
Sets the toolbar model URL.
The expected format is: <model classname>@<arg1>,<arg2>,...
<model classname> must have a constructor with the following signature:
void <Constructor>(CATDialog iDialog, String[] iArgs)
Note: This method allows to set the toolbar model inline in the XMLDlg file.
Example: <DialogFrame Name="Top" ToolbarModelURL="com.mypackage.MyToolbarModel@myarg"...
iModelURLnull value unsets the toolbar.