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
-
ps
- Contains the current presentation state wich contains all overlays
-
Viewer.Presentation.OverlayList(jDVPresentationState)
- Constructs a new object.
-
activateOverlay(int, int)
- Activates an daektivated overlay in the specified layer.
-
draw(Graphics2D, AffineTransform, int)
- Draws all activeate overlay off one layer in the specified Graphics2D context.
-
getImageListText(int)
- Gets a textual representation of an image overlay.
-
getListText(int, int)
- Gets a textual representation of an overlay
in the specified layer
-
getPresentationStateListText(int)
- Gets a textual representation of an overlay in the presentation state.
-
getRepeatingGroup(int)
- Gets a textual representation of repeating group.
-
haveOverlays()
- Checks if the current jDVPresentationState have an overlay.
ps
public J2Ci.jDVPresentationState ps
- Contains the current presentation state wich contains all overlays
- Since:
30.04.1999
OverlayList
public OverlayList(jDVPresentationState ps)
- Constructs a new object.
- Parameters:
- ps - Contains the current jDVPresentationState
- Since:
- 30.04.1999
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
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
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
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
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
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
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