Class Viewer.Presentation.PresentationStateOverlayObject
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.Presentation.PresentationStateOverlayObject

Object
   |
   +----Viewer.Presentation.PresentationStateOverlayObject

public class PresentationStateOverlayObject
extends Object
This class manages the overlay data of one overlay. The data structure is encapsulate in the jDVPrStateParam_GetOverlayData.
The handling of the overlays is inconsistent with the handling of the annotations. First the overlays will be rotated and flipped in the interface, the annoations not. Therefore they need an other transformation. Secondly the overlays have less functionality than the annotations. Especially this programm can only show overlays, if exist. This programm can not create overlays.

Author:
Klaus Kleber
Since:
30.04.1999
See Also:
jDVPrStateParam_GetOverlayData, PresentationStateOverlayObject

Variable Index

 o ps
Contains data structure of the presentation state in the c++ interface.

Constructor Index

 o Viewer.Presentation.PresentationStateOverlayObject(jDVPresentationState, int, int)
Constructs a new object form the specified parameters.

Method Index

 o draw(Graphics2D, AffineTransform)
Draws the overlay in the specified Graphics2D context.
 o getData()
Gets the overlay data from the c++ interface and create the geometric representation.

Variables

 o ps
public J2Ci.jDVPresentationState ps
Contains data structure of the presentation state in the c++ interface.

Since: 30.04.1999
See Also:
jDVPresentationState

Constructors

 o PresentationStateOverlayObject
public PresentationStateOverlayObject(jDVPresentationState ps,
                                      int layerIndex,
                                      int imageIndex)
Constructs a new object form the specified parameters.

Parameters:
ps - Contains the current jDVPresentationState
layerIndex - Contains the layer index of the overlay
imageIndex - Contains the index of the overlay in the specified layer.
Since:
30.04.1999

Methods

 o draw
public void draw(Graphics2D g2,
                 AffineTransform aff)
Draws the overlay in the specified Graphics2D context.

Parameters:
g2 - Contains the Graphics2D object
aff - Contains applying transformations
imageIndex - Contains the index of the overlay in the specified layer.
Since:
30.04.1999
 o getData
public void getData()
Gets the overlay data from the c++ interface and create the geometric representation.

Since:
30.04.1999
See Also:
jDVPrStateParam_GetOverlayData

All Packages  Class Hierarchy  This Package  Previous  Next  Index