All Packages Class Hierarchy This Package Previous Next Index
Class GraphicPlotter.GraphicBoundsUC
java.lang.Object
|
+----GraphicPlotter.RectangleUC
|
+----GraphicPlotter.GraphicBoundsUC
- public class GraphicBoundsUC
- extends RectangleUC
The bounds of a graphic element consists of the bounding rectangle
and an indication of whether the graphic element is transparent.
-
extraPixels
- Extra pixels added to the AWT bounds when a graphic element is
laid-out.
-
transparent
- If true, graphic elements covered by the bounding rectangle of
this one are painted.
-
GraphicBoundsUC()
- Default constructor leaves fields with default values.
-
GraphicBoundsUC(double, double, double, double, boolean)
- Construct a GraphicBoundsUC from a set of field values.
-
GraphicBoundsUC(GraphicBoundsUC)
- Construct a GraphicBoundsUC from another one.
-
assign(GraphicBoundsUC)
- Set fields of this object equal to those of another one.
-
equals(GraphicBoundsUC)
- Return whether the fields of another object are equal in value to
the fields of this one.
-
toString()
- Return the string representation.
transparent
public boolean transparent
- If true, graphic elements covered by the bounding rectangle of
this one are painted. If a graphic element does not draw in
its entire bounding rectangle, it should set this field to
true when its obtainBounds method is invoked.
extraPixels
public Insets extraPixels
- Extra pixels added to the AWT bounds when a graphic element is
laid-out. These extra pixels are used to draw decorations (such
as arrow heads) whose size does not scale with the size of the
graphic element. This field should be set when the
obtainBounds methods of the graphic element is invoked.
The default value of null indicates that the graphic element uses
no extra pixels.
GraphicBoundsUC
public GraphicBoundsUC()
- Default constructor leaves fields with default values.
GraphicBoundsUC
public GraphicBoundsUC(GraphicBoundsUC other)
- Construct a GraphicBoundsUC from another one.
GraphicBoundsUC
public GraphicBoundsUC(double x,
double y,
double width,
double height,
boolean transparent)
- Construct a GraphicBoundsUC from a set of field values.
assign
public GraphicBoundsUC assign(GraphicBoundsUC other)
- Set fields of this object equal to those of another one.
- Returns:
- this
equals
public boolean equals(GraphicBoundsUC other)
- Return whether the fields of another object are equal in value to
the fields of this one.
toString
public String toString()
- Return the string representation.
- Overrides:
- toString in class RectangleUC
All Packages Class Hierarchy This Package Previous Next Index