Glg Toolkit

Package com.genlogic

Glg Toolkit: Standard and Extended API.

See:
          Description

Interface Summary
GlgCustomDrawListener Direct rendering interface.
GlgErrorHandler Error handler interface.
GlgHListener H callback interface.
GlgInputListener Input handling interface.
GlgReadyListener Ready event handling interface.
GlgSelectListener Selection handling interface.
GlgTraceListener Generic event handling interface.
GlgVListener V callback interface.
 

Class Summary
GlgArc Arc object.
GlgBean AWT-based Glg bean component and applet.
GlgBoolean Mutable Boolean
GlgBoxAttr  
GlgColorTable Color table object.
GlgConnection Display connection object.
GlgCube Defines a parallelepiped in 3D space (usually an object's bounding box) by its two diagonal points.
GlgCustomBean Custom bean.
GlgCustomDrawData The GlgCustomDrawData class is used to pass information to the CustomDrawListener.
GlgCustomJBean Custom bean.
GlgCustomJLWBean Custom bean.
GlgDataPoint Abstract superclass implementing generic attribute object functionality for all data types.
GlgDataValue Abstract superclass implementing generic data object functionality for all data types.
GlgDDataPoint Double attribute object.
GlgDDataValue Double data object.
GlgDocumentFilter  
GlgDouble Mutable Double
GlgDynArray Dynamic array object.
GlgEdge Recta-linear or arc connector object.
GlgFont Glg font object.
GlgFontTable Glg font table object.
GlgFrame Glg frame object.
GlgFunction Function object.
GlgGDataPoint Geometrical attribute object (XYZ or RGB triplet).
GlgGDataValue Geometrical data object (XYZ or RGB triplet).
GlgGIS  
GlgHistory History object.
GlgImage Glg image object.
GlgJBean Heavyweight Swing-based Glg component and applet.
GlgJLWBean Light-weight Swing-based Glg component for use with JDesktoPane and JInternalFrame.
GlgLatLonPoint Latitude/Longitude point for GIS coordinate conversion utilities.
GlgList Double linked list object.
GlgMarker Marker object
GlgMatrix Matrix object.
GlgMatrixData Used to return and pass matrix data.
GlgObject Abstract superclass of all Glg objects.
GlgParallelogram Parallelogram object
GlgPoint Defines an XYZ point in 3D space or an RGB color.
GlgPolygon Polygon object
GlgPolyline Polyline object
GlgPolySurface Polysurface object.
GlgReference Reference object.
GlgRenderingAttr  
GlgResourceReference Alias object
GlgScreen Screen object.
GlgSDataPoint String attribute object.
GlgSDataValue String data object.
GlgSeries Series object.
GlgSpline Spline object.
GlgSquareSeries Square series object.
GlgTag  
GlgText Text object.
GlgTraceData The GlgTraceData class is used to pass information to the TraceListener.
GlgUtmMgrs  
GlgUtmPoint Point in UTM coordinates for GIS coordinate conversion utilities.
GlgVector Vector object.
GlgViewport Viewport object.
GlgXform Transformation object.
 

Package com.genlogic Description

Glg Toolkit: Standard and Extended API.

The GlgObject class and several Glg bean classes are the main classes of the GLG package. There are also a few utility classes (GlgPoint, GlgCube, GlgTraceData, etc.) which provide some convenient functionality. The rest of the classes extend the generic GlgObject class providing specific functionality of graphical objects available in the GLG Toolkit. These classes are mostly for internal use. The only time they are used in an application is when their constructors are invoked to create various GLG objects (i.e. GlgArc, GlgPolygon, etc.) using the Extended API.

Glg bean classes are used for embedding GLG drawings into a Java application, in which case the GLG bean is used as a container which loads and displays a GLG drawing and provides programmatic access to the GLG objects in the drawing.

The Toolkit provides several types of the Glg beans. GlgBean is an AWT bean that can be used both as a bean and an applet. The GlgJBean is a heavy-weight Swing-based bean that may also be used as a bean or an applet (JApplet). The GlgJLWBean is a Swing-based light-weight bean. There are also custom versions of these beans (GlgCustomBean, etc.) that allow using custom drawings from the GLG jar file as well as browsing custom properties of the drawings in an IDE environment.

The GlgObject class is a generic GLG superclass that provides API methods for all GLG objects. It provides an application with a way to create and manipulate individual objects directly, without a need to create a Glg bean.

The Toolkit provides two levels of programming interface: the Standard and Extended API. The Standard API provides methods for loading the drawing created in the Graphics Builder, displaying and updating it with dynamic data, as well as handling user interaction (selecting objects with the mouse, pressing buttons, etc.)

The Extended API provides methods for creating objects programmatically, as well as methods for extended object manipulation (adding or deleting objects at run time, dragging objects with the mouse, traversing the object hierarchy, querying a list of object resources, etc.), supplying an application with all the functionality available in the Graphics Builder at run-time.

The GLG Standard and Extended API methods are implemented on both the Glg bean and GlgObject levels. The GlgObject class provides access to the API methods of individual objects, while the Glg bean classes (GlgBean, GlgJBean, GlgJLWBean, etc.) implement the same set of methods at the bean level and provide a centralized way to invoke API methods for any GLG object rendered inside the bean.


Glg Toolkit