|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.3.0) E17492-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dss.gauge.CustomShapesParser
public abstract class CustomShapesParser
This class is for internal use only. It defines a CustomShapeParser object that is used to read Custom Shapes definition files for use in the gauge.
Field Summary | |
---|---|
protected ErrorHandler |
m_eh |
Constructor Summary | |
---|---|
CustomShapesParser(ErrorHandler eh) |
Method Summary | |
---|---|
protected void |
addShape(java.lang.String compName, CustomShape shape) Adds the specified CustomShape to the Map. |
boolean |
defines(java.lang.String compName) Returns true if the custom shapes Map contains an entry for the component. |
java.awt.geom.Rectangle2D |
getBounds(java.lang.String compName) Returns the bounding box that contains all CustomShapes in the Map for the specified component. |
java.awt.geom.Rectangle2D |
getFullBounds() Returns the bounding box that contains all CustomShapes in the Map. |
java.util.List<CustomShape> |
getShapes(java.lang.String compName) Returns a list of all shapes for a specified component name. |
java.util.Map<java.lang.String,java.util.List<CustomShape>> |
getShapesMap() Returns the entire Map of shapes parsed from the shapes file. |
abstract void |
parseFile(java.io.InputStream stream) |
abstract void |
parseFile(java.lang.String path) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ErrorHandler m_eh
Constructor Detail |
---|
public CustomShapesParser(ErrorHandler eh)
Method Detail |
---|
protected void addShape(java.lang.String compName, CustomShape shape)
compName
-shape
-public boolean defines(java.lang.String compName)
compName
-public java.awt.geom.Rectangle2D getBounds(java.lang.String compName)
compName
-public java.awt.geom.Rectangle2D getFullBounds()
public java.util.List<CustomShape> getShapes(java.lang.String compName)
compName
-public java.util.Map<java.lang.String,java.util.List<CustomShape>> getShapesMap()
public abstract void parseFile(java.lang.String path)
public abstract void parseFile(java.io.InputStream stream)
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.3.0) E17492-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |