|
|
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) |
Method Summary |
String | getTitle() |
void | setTitle(String iTitle) |
CATDialog | getContent() |
CATFrame | getFocalArea() |
void | setToolbarModelURL(String iModelURL) |
String | getToolbarModelURL() |
void | setToolbar(CATMenuModel iModel) |
CATMenuModel | getToolbar() |
CATToolbarCommandNotification | getToolbarNotification() |
Field Detail |
Constructor Detail |
CATDialogFrame(CATDialog iParent, String iName)Creates a dialog frame with the specified parent and name.
iParent
iName
Method Detail |
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).
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
CATDialog getContent()Returns the child component that is the content of the dialog box.
CATFrame getFocalArea()
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"...
iModelURL
null
value unsets the toolbar.String getToolbarModelURL()Returns the toolbar model URL (if any).
null
if no toolbar URL.void setToolbar(CATMenuModel iModel)Sets the toolbar model object.
iModel
null
value unsets the toolbar).CATMenuModel getToolbar()Returns the toolbar model (if any).
null
if not toolbar.CATToolbarCommandNotification getToolbarNotification()Returns the toolbar activation notification.
This notification is sent when an enabled toolbar button is pressed.