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

Class Viewer.Presentation.PresentationStateLayerObject

Object
   |
   +----Viewer.Presentation.PresentationStateLayerObject

public abstract class PresentationStateLayerObject
extends Object
This class is the superclass for all objects which can be in a PresentationStateGraphicLayer. This Class in not ready yet. Especially the overlays and the curves (not yet implemented) are not based on this class. maybe a next version will implement this. This class and the derived classes implementing only the GUI-based methods. The data are in the c++ interface jDVPresentationState abvailable.

Author:
Klaus Kleber
Since:
30.04.1999
See Also:
PresentationStateAnnotatonObject, PresentationStateGraphicObject, PresentationStateTextObject

Constructor Index

 o Viewer.Presentation.PresentationStateLayerObject()
Constructs a new object.

Method Index

 o contains(Point2D. Float)
Check if this object contains the specified point.
 o deleteAll()
Deletes the object.
 o draw(Graphics2D, AffineTransform)
Draws this object after the transformation aff in the specified Graphics2D context.
 o drawActive(Graphics2D, AffineTransform)
Draws the object with the specified transformation in the specified Graphics2d context if the object is active.
 o drawBounding(Graphics2D, AffineTransform)
Marked the object with bounding Rectangles and draws the rectangles in the specified Graphics2D context.
 o drawMarked(Graphics2D, AffineTransform)
Marked the object with Rectangles and draws Rectangles and this object in the specified Graphics2D context.
 o getIndex()
Gets the index of this object.
 o getInfo()
Returns a String representing this object
 o getInverseTransformedPoint(Point2D. Float, AffineTransform)
Transforms the specified displayPoint with the inverse transformation of aff.
 o getListText()
Returns a String representing this object.
 o isActive()
Sets the active value.
 o moveTo(Point2D. Float, Point2D. Float)
Moves this object analog to the specified points.
 o setActive(boolean)
Sets the active value.
 o setIndex(int)
Sets the index of this object.

Constructors

 o PresentationStateLayerObject
public PresentationStateLayerObject()
Constructs a new object.

Since:
30.04.1999

Methods

 o contains
public abstract boolean contains(Point2D.Float point)
Check if this object contains the specified point.

Returns:
true if this object contains the specified point.
Since:
30.04.1999
 o deleteAll
public abstract void deleteAll()
Deletes the object. This method must be called for deleting.

Since:
30.04.1999
 o draw
public abstract void draw(Graphics2D g2,
                          AffineTransform aff)
Draws this object after the transformation aff in the specified Graphics2D context.

Parameters:
g2 - The context in which this object will be drawn.
aff - Contains the appling transformation.
Since:
30.04.1999
 o drawActive
public void drawActive(Graphics2D g2,
                       AffineTransform aff)
Draws the object with the specified transformation in the specified Graphics2d context if the object is active.

Parameters:
g2 - The Graphics2D object in which the object will be drawn.
aff - Contains the transformations which should be applied to the object before drawing..
 o drawBounding
public abstract void drawBounding(Graphics2D g2,
                                  AffineTransform aff)
Marked the object with bounding Rectangles and draws the rectangles in the specified Graphics2D context.

Parameters:
g2 - The context in which this object will be merked.
aff - Contains the applying transformation.
Since:
30.04.1999
 o drawMarked
public void drawMarked(Graphics2D g2,
                       AffineTransform aff)
Marked the object with Rectangles and draws Rectangles and this object in the specified Graphics2D context.

Parameters:
g2 - The context in which this object will be merked.
aff - Contains the applying transformation.
Since:
30.04.1999
 o getIndex
public int getIndex()
Gets the index of this object.

Returns:
The index of this object.
Since:
30.04.1999
 o getInfo
public abstract java.lang.String getInfo()
Returns a String representing this object

Returns:
A String representing this object
Since:
30.04.1999
 o getInverseTransformedPoint
public java.awt.geom.Point2D. Float getInverseTransformedPoint(Point2D.Float displayPoint,
                                                               AffineTransform transAff)
Transforms the specified displayPoint with the inverse transformation of aff.

Parameters:
displayPoint - Contains the transforming point.
aff - Specifies the inverse transformation.
Returns:
The inverse transformation of the displayPoint with the transformation aff.
Since:
30.04.1999
 o getListText
public abstract java.lang.String getListText()
Returns a String representing this object.

Returns:
A String representing this object.
Since:
30.04.1999
 o isActive
public boolean isActive()
Sets the active value.

Returns:
true if active.
Since:
30.04.1999
 o moveTo
public abstract void moveTo(Point2D.Float moveTo,
                            Point2D.Float point)
Moves this object analog to the specified points. The first point is the start point and the secound point is the point where the first point is moved to. The PresentationStateGraphicObject will be moved analog to the result vector.

Parameters:
moveTo - Start moving point.
point - Stop moving point.
Since:
30.04.1999
 o setActive
public void setActive(boolean active)
Sets the active value.

Parameters:
active - The new active value.
Since:
30.04.1999
 o setIndex
public void setIndex(int index)
Sets the index of this object. The index of the object must be the same as the index in the jDVPresentationState object.

Since:
30.04.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index