CONTENTS

The Essential JViews Framework

About this Document
Gray bulletWhat Is ILOG JViews Framework?
Gray bulletWhat Is in This Manual?
Introducing ILOG JViews Framework
Gray bulletThe Framework Package
Gray bulletJavaBeans
Gray bulletAPI
Gray bulletJViews Framework as ILOG JViews Foundation
Gray bulletA Basic Graphics Application Model
Gray bulletThe Graphic Object: IlvGraphic
Gray bulletThe Data Structure: IlvManager
Gray bulletThe Viewport: IlvManagerView
Getting Started with JViews Framework
Gray bulletRunning the Example
Gray bulletStep 1 - The Manager
Gray bulletImporting the Library and Packages
Gray bulletCreating the Frame Class
Gray bulletCreating the Manager
Gray bulletLoading/Reading a File
Gray bulletCreating the View
Gray bulletTesting the Application
Gray bulletStep 2 - View Interaction
Gray bulletAdding the selectInteractor Field
Gray bulletCreating the Select Button
Gray bulletStep 3 - Using Events
Gray bullet Adding New Interactor Fields
Gray bulletCreating the Interactor Buttons
Gray bulletListening for a Change of Interactors
Gray bulletRegistering the Listener
Gray bulletStep 4 - Manipulating Graphic Objects
Gray bulletAdding Graphic Objects
Gray bulletMoving Graphic Objects
Framework JavaBeans
Gray bulletInstalling ILOG JViews Beans into an IDE
Gray bulletFramework Classes Available as JavaBeans
Gray bulletILOG JViews Main Data Structure Beans
Gray bulletILOG JViews Main GUI Components
Gray bulletPredefined Interactors
Gray bulletGUI Convenience Components
Gray bulletCreating a Simple Applet Using ILOG JViews Beans
Gray bulletCreating the Manager View
Gray bulletSetting the Properties of the Manager View
Gray bulletCreating a Manager and Displaying its Content in a View
Gray bulletLoading an .ivl File into the Manager
Gray bulletAdding a Control Toolbar Bean
Gray bulletConfiguring the toolbar
Gray bulletTesting the Result
Graphic Objects
Gray bulletIntroducing Graphic Objects
Gray bulletHierarchy of Predefined Graphic Objects
Gray bulletGeometric Properties
Gray bulletThe boundingBox Method
Gray bulletThe draw Method
Gray bulletZoomable and Nonzoomable Objects
Gray bulletTesting Whether a Point is Part of an Object Shape
Gray bulletMoving and Resizing a Graphic Object
Gray bulletUser Properties of Graphic Objects
Gray bulletInput/Output Operations
Gray bulletThe Graphic Bag
Gray bulletPredefined Graphic Objects
Gray bulletArcs
Gray bulletEllipses
Gray bulletLines
Gray bulletRectangles
Gray bulletPolygons and Polylines
Gray bulletLabels and Text
Gray bulletIn-place Text Editing
Gray bulletMarkers
Gray bulletGroups
Gray bulletScales
Gray bulletIcons
Gray bulletPaths
Gray bulletComponent Graphics
Gray bulletCreating a New Graphic Object Class
Gray bulletBasic Steps
Gray bulletTesting for a Point Inside an Object
Gray bulletSaving and Loading the Object Description
Gray bulletNamed Properties
Managers
Gray bulletIntroducing Managers
Gray bulletManager Views
Gray bulletLayers
Gray bulletHandling Input Events: Interactors and Accelerators
Gray bulletInput/Output
Gray bulletUML Diagram
Gray bulletBinding Views to a Manager
Gray bulletCreating a Manager and a View
Gray bulletListener for the Views of a Manager
Gray bulletView Transformation
Gray bulletScrolled Manager View
Gray bulletManaging Double-Buffering
Gray bulletThe Manager View Grid
Gray bulletUML Diagram
Gray bulletManager View Repaint Skipper
Gray bulletManaging Layers
Gray bulletSetting Up Layers
Gray bulletLayers and Graphic Objects
Gray bulletListener for Layer Changes in a Manager
Gray bulletTriple Buffering Layers
Gray bulletCaching Layers
Gray bulletManaging Graphic Objects
Gray bulletAdding and Removing Objects
Gray bulletModifying Geometric Properties of Objects
Gray bulletApplying Functions
Gray bulletEditing and Selecting Properties
Gray bulletOptimizing Drawing Tasks
Gray bulletListener for the Content of the Manager
Gray bulletSelection in a Manager
Gray bulletManaging Selected Objects
Gray bulletSelection Interactor
Gray bulletCreating Your Own Selection Object
Gray bulletListener for the Selections in a Manager
Gray bulletHover Highlighting in a Manager
Gray bulletManaging Hover Highlighting
Gray bulletCreating Your Own Highlighting Effect
Gray bulletManaging Input Events
Gray bulletObject Interactors
Gray bulletExample: Extending the IlvObjectInteractor Class
Gray bulletView Interactors
Gray bulletTooltips and Popup Menus On Graphic Objects
Gray bulletSaving and Reading
Gray bulletOther File Formats
Gray bulletDrawing Exchange Format (DXF)
Graphers
Gray bulletIntroducing Graphers
Gray bulletManaging Nodes and Links
Gray bulletBasic Grapher Link Class
Gray bulletPredefined Link Classes
Gray bulletNode and Link Visibility
Gray bulletContact Points
Gray bulletUsing Link Connectors
Gray bulletUsing the Class IlvPinLinkConnector
Gray bulletOther Link Connectors
Gray bulletUML Diagram
Gray bulletGrapher Interactor Class
Gray bulletCreating a New Class of Link
Gray bulletIlvPolylineLinkImage
Gray bulletLink Shape Policies
Gray bulletOrthogonal Links
Gray bulletCrossing Modes
Gray bulletShape Policies
Composite Graphics
Gray bulletIntroducing Composite Graphics
Gray bulletCreating a Composite Graphic
Gray bulletStep 1 - Starting the Composite Graphic
Gray bulletStep 2 - Creating the Attachment Layout
Gray bulletStep 3 - Creating the First Child Graphic
Gray bulletStep 4 - Attaching a Child Graphic
Gray bulletStep 5 - Using Stacker Layout
Gray bulletStep 6 - Using Centered Layout
Gray bulletSummary
Index