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
-
Viewer.Presentation.PresentationStateLayerObject()
- Constructs a new object.
-
contains(Point2D. Float)
- Check if this object contains the specified point.
-
deleteAll()
- Deletes the object.
-
draw(Graphics2D, AffineTransform)
- Draws this object after the transformation aff in the specified
Graphics2D context.
-
drawActive(Graphics2D, AffineTransform)
- Draws the object with the specified
transformation in the specified Graphics2d context if the object is
active.
-
drawBounding(Graphics2D, AffineTransform)
- Marked the object with bounding Rectangles and draws
the rectangles in the specified Graphics2D context.
-
drawMarked(Graphics2D, AffineTransform)
- Marked the object with Rectangles and draws Rectangles and
this object in the specified Graphics2D context.
-
getIndex()
- Gets the index of this object.
-
getInfo()
- Returns a String representing this object
-
getInverseTransformedPoint(Point2D. Float, AffineTransform)
- Transforms the specified displayPoint with the inverse
transformation of aff.
-
getListText()
- Returns a String representing this object.
-
isActive()
- Sets the active value.
-
moveTo(Point2D. Float, Point2D. Float)
- Moves this object analog to the specified points.
-
setActive(boolean)
- Sets the active value.
-
setIndex(int)
- Sets the index of this object.
PresentationStateLayerObject
public PresentationStateLayerObject()
- Constructs a new object.
- Since:
- 30.04.1999
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
deleteAll
public abstract void deleteAll()
- Deletes the object. This method must be called for deleting.
- Since:
- 30.04.1999
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
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..
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
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
getIndex
public int getIndex()
- Gets the index of this object.
- Returns:
- The index of this object.
- Since:
- 30.04.1999
getInfo
public abstract java.lang.String getInfo()
- Returns a String representing this object
- Returns:
- A String representing this object
- Since:
- 30.04.1999
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
getListText
public abstract java.lang.String getListText()
- Returns a String representing this object.
- Returns:
- A String representing this object.
- Since:
- 30.04.1999
isActive
public boolean isActive()
- Sets the active value.
- Returns:
- true if active.
- Since:
- 30.04.1999
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
setActive
public void setActive(boolean active)
- Sets the active value.
- Parameters:
- active - The new active value.
- Since:
- 30.04.1999
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