|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.gauge.DrawableObject
oracle.dss.gauge.DrawableObject.Shape
public static class DrawableObject.Shape
This class defines a shape.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.dss.gauge.DrawableObject |
---|
DrawableObject.Image, DrawableObject.Label, DrawableObject.Shape, DrawableObject.TickLabel, DrawableObject.Transform |
Field Summary |
---|
Fields inherited from class oracle.dss.gauge.DrawableObject |
---|
m_transform |
Constructor Summary | |
---|---|
DrawableObject.Shape(int compType,
java.util.Map map,
java.awt.Shape shape,
java.awt.Color borderColor,
java.awt.Color fillColor,
java.util.HashMap sfxMap,
java.awt.geom.AffineTransform transform)
Constructor for a shape object |
|
DrawableObject.Shape(int compType,
java.awt.Shape shape,
java.awt.Color borderColor,
java.awt.Color fillColor,
java.util.HashMap sfxMap,
java.awt.geom.AffineTransform transform)
|
|
DrawableObject.Shape(int compType,
java.awt.Shape shape,
java.awt.Rectangle rect,
java.awt.Color borderColor,
java.awt.Color fillColor,
java.util.HashMap sfxMap,
java.awt.geom.AffineTransform transform)
|
Method Summary | |
---|---|
boolean |
contains(double x,
double y,
boolean useTruncated)
Perform an inclusion test on the object based on the given point |
java.awt.Color |
getBorderColor()
Gets the border color of this shape. |
java.awt.Color |
getFillColor()
Gets the color to use in filling this shape. |
java.awt.Rectangle |
getOuterRect()
|
java.util.HashMap |
getSFX()
Gets the SFX object associated with this shape. |
java.awt.Shape |
getShape()
Gets the rectangle defining this filled area. |
Methods inherited from class oracle.dss.gauge.DrawableObject |
---|
getAffineTransform, getComponentType, getLabelDimensions, getLabelObject, getTickLabelObject, isSelected, isVisible, render, setSelected, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawableObject.Shape(int compType, java.util.Map map, java.awt.Shape shape, java.awt.Color borderColor, java.awt.Color fillColor, java.util.HashMap sfxMap, java.awt.geom.AffineTransform transform)
transform
- Instance of AffineTransform
to apply
to this shape before rendering itsfxMap
- Instance of HashMap
containing
SFX settings for this objectfillColor
- Instance of Color
representing
the fill color of this shapeborderColor
- Instance of Color
representing
the border color of this shapeshape
- Instance of Shape
compType
- Type of component to which this shape belongs;
valid values are constants in the
GaugeConstants
class beginning with
ID_
public DrawableObject.Shape(int compType, java.awt.Shape shape, java.awt.Color borderColor, java.awt.Color fillColor, java.util.HashMap sfxMap, java.awt.geom.AffineTransform transform)
public DrawableObject.Shape(int compType, java.awt.Shape shape, java.awt.Rectangle rect, java.awt.Color borderColor, java.awt.Color fillColor, java.util.HashMap sfxMap, java.awt.geom.AffineTransform transform)
Method Detail |
---|
public boolean contains(double x, double y, boolean useTruncated)
contains
in class DrawableObject
useTruncated
- True
if the truncated rectangle
should be used, False
otherwisey
- Integer representing the Y location of the pointx
- Integer representing the X location of the point
True
if the point is contained within
this object, False
otherwisepublic java.awt.Shape getShape()
Shape
instance.Shape
public java.awt.Color getBorderColor()
Color
instance.Color
public java.awt.Color getFillColor()
Color
instance.Color
public java.util.HashMap getSFX()
SFX
object associated with this shape.
SFX
instance.SFX
public java.awt.Rectangle getOuterRect()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |