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

Class Viewer.Presentation.OverlayList

Object
   |
   +----Viewer.Presentation.OverlayList

public class OverlayList
extends Object
This class manages the overlays of a presentation state. The data of the overlays are capsulated in a jDVPrStateParam_GetOverlayData object.

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

Variable Index

 o ps
Contains the current presentation state wich contains all overlays

Constructor Index

 o Viewer.Presentation.OverlayList(jDVPresentationState)
Constructs a new object.

Method Index

 o activateOverlay(int, int)
Activates an daektivated overlay in the specified layer.
 o draw(Graphics2D, AffineTransform, int)
Draws all activeate overlay off one layer in the specified Graphics2D context.
 o getImageListText(int)
Gets a textual representation of an image overlay.
 o getListText(int, int)
Gets a textual representation of an overlay in the specified layer
 o getPresentationStateListText(int)
Gets a textual representation of an overlay in the presentation state.
 o getRepeatingGroup(int)
Gets a textual representation of repeating group.
 o haveOverlays()
Checks if the current jDVPresentationState have an overlay.

Variables

 o ps
public J2Ci.jDVPresentationState ps
Contains the current presentation state wich contains all overlays

Since: 30.04.1999

Constructors

 o OverlayList
public OverlayList(jDVPresentationState ps)
Constructs a new object.

Parameters:
ps - Contains the current jDVPresentationState
Since:
30.04.1999

Methods

 o activateOverlay
public void activateOverlay(int imageIndex,
                            int layerIndex)
Activates an daektivated overlay in the specified layer. The imageIndex is the index off the deactivated overlay.

Parameters:
layerIndex - Contains the index off the layer in the jDVPresentationState
imageIndex - Contains index off the deaktivated overlay.
Since:
30.04.1999
See Also:
activateOverlayInImage, activateOverlayInPresentationState
 o draw
public void draw(Graphics2D g2,
                 AffineTransform aff,
                 int layerIndex)
Draws all activeate overlay off one layer in the specified Graphics2D context. The layer is specified with his index in the current jDVPresentationState. Before drawing the overlay the specified transformations will be applied.

Parameters:
g2 - Contains the Graphics2D context.
aff - Contains the applying transformation.
layerIndex - Contains the index of the layers in the jDVPresentationState object.
Since:
30.04.1999
 o getImageListText
public java.lang.String getImageListText(int imageIndex)
Gets a textual representation of an image overlay.

Parameters:
imageIndex - Contains index off the image overlay in the jDVPresentationState.
Since:
30.04.1999
See Also:
getOverlayInImageGroup
 o getListText
public java.lang.String getListText(int layerIndex,
                                    int imageIndex)
Gets a textual representation of an overlay in the specified layer

Parameters:
layerIndex - Contains the index off the layer in the jDVPresentationState
imageIndex - Contains index off the image overlay in specified layer.
Since:
30.04.1999
See Also:
getActiveOverlayGroup
 o getPresentationStateListText
public java.lang.String getPresentationStateListText(int imageIndex)
Gets a textual representation of an overlay in the presentation state.

Parameters:
imageIndex - Contains index off the image overlay in the jDVPresentationState.
Since:
30.04.1999
See Also:
getOverlayInPresentationStateGroup
 o getRepeatingGroup
public java.lang.String getRepeatingGroup(int repeatingGroupNumber)
Gets a textual representation of repeating group.

Parameters:
repeatingGroupNumber - Value of the reapeating group.
Since:
30.04.1999
 o haveOverlays
public boolean haveOverlays()
Checks if the current jDVPresentationState have an overlay.

Returns:
True if an overlay exist.
Since:
30.04.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index