Using the Designer > Writing an Application > JViews Diagrammer Classes Available as Beans

The Designer allows you to create a diagram that can be loaded in the main component of JViews Diagrammer, the IlvDiagrammer component. This component is a JavaBean that you will integrate into the Swing GUI of your application. Further JavaBeans are provided to build up a GUI in your favorite IDE. These supply commonly required components such as menus and toolbars.

The full list of ILOG JViews Diagrammer beans is shown in alphabetical order in Table 4.1.

Table 4.1 ILOG JViews Diagrammer JavaBeans

 

 
IlvDiagrammer 
A diagram component; it wraps an SDM view and an SDM engine. There can be one or more in an application. 
IlvDiagrammerEditBar 
A predefined toolbar containing actions for editing the objects in a diagram component. 
IlvDiagrammerEditMenu 

 
A predefined Edit menu for use in an application based on a diagram component. The default actions are: Undo, Redo, Cut, Copy, Paste, Duplicate, Select All, Delete, Group, Ungroup, Layout All Nodes, Layout Selected Nodes. 
IlvDiagrammerFileMenu 

 
A predefined File menu for use in an application based on a diagram component.  
IlvDiagrammerHelpMenu 
A predefined Help menu for use in an application based on a diagram component. 
IlvDiagrammerMenu 
A predefined menu for use in an application based on an ILOG JViews Diagrammer diagram component. 
IlvDiagrammerMenuBar 
A predefined menu bar for use in an application based on an ILOG JViews Diagrammer diagram component. The default menus are File, Edit, View, Options, Help. 
IlvDiagrammerOptionsMenu 
A predefined Options menu for use in an application based on an ILOG JViews Diagrammer diagram component. The default actions are: Editing, Sticky Modes, Auto Edit Label.  
IlvDiagrammerOverview 
An overview component showing the whole extent of the diagram and any background map in a reduced view. 
IlvDiagrammerPaletteBar 
A predefined toolbar containing actions for creating new nodes and links in an application based on an ILOG JViews Diagrammer diagram component. 
IlvDiagrammerPropertySheet 
A component to view and edit the properties of the selected object in an ILOG JViews Diagrammer diagram component. 
IlvDiagrammerStatusBar 

 
A predefined status bar for use in an application based on an ILOG JViews Diagrammer diagram component 
IlvDiagrammerTable 

 
A component to display the data model of an ILOG JViews Diagrammer diagram component as a table. 
IlvDiagrammerToolbar 
A toolbar in which the contents are set through an actions property. Predefined action arrays are provided, for example, setActions(editActions) and setActions(viewActions). 
IlvDiagrammerTree 

 
A component to display the data model of an ILOG JViews Diagrammer diagram component as a tree. 
IlvDiagrammerViewBar 
A predefined toolbar containing actions for controling the view in an ILOG JViews Diagrammer diagram component. 
IlvDiagrammerViewMenu 

 
A predefined View menu for use in an application based on an ILOG JViews Diagrammer diagram component. The default actions are: Zoom In, Zoom Out, Reset Zoom, Fit To Contents. 

The ready-to-use Swing application supplied by the class IlvDiagrammerApplication makes use of all the JavaBeans listed.

The menu classes are derived from IlvDiagrammerMenu and are alternatives to using the standard JMenu class.