|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.schema.SchemaPainter
public abstract class SchemaPainter
SchemaPainter defines the common functions of a schema painter. It is used to render multiple measures.
| Field Summary | |
|---|---|
protected inetsoft.graph.geometry.SchemaGeometry |
geometry
|
| Constructor Summary | |
|---|---|
SchemaPainter()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the shema painter. |
abstract Shape |
getShape(int idx)
Get the shape at the specified index of the schema painter. |
abstract int |
getShapeCount()
Get the shape count of the schema painter. |
protected double |
getSize(Coordinate coord,
double size,
SizeFrame frame)
Calculate the horizontal shape size. |
protected double[] |
getTuple(int idx,
double[] tuple,
double[] vars)
Get the tuple. |
abstract void |
init(inetsoft.graph.geometry.SchemaGeometry geometry,
Coordinate coord)
Initialize the schema painter with geometry and coord. |
abstract void |
paint(Graphics2D g)
Paint the schema painter. |
abstract void |
setShape(int idx,
Shape shape)
Replace the specified shape. |
abstract boolean |
supportsFrame(VisualFrame frame)
Check if supports frame. |
abstract void |
transformScreen(AffineTransform trans)
Transform the painter with screen affine transform. |
void |
transformShape(Coordinate coord,
Map hints)
Transform the painter with coordinate. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected inetsoft.graph.geometry.SchemaGeometry geometry
| Constructor Detail |
|---|
public SchemaPainter()
| Method Detail |
|---|
public abstract void init(inetsoft.graph.geometry.SchemaGeometry geometry,
Coordinate coord)
geometry - the specified schema geometry.coord - the specified coord.public abstract void transformScreen(AffineTransform trans)
public abstract void paint(Graphics2D g)
public abstract int getShapeCount()
public abstract Shape getShape(int idx)
public abstract void setShape(int idx,
Shape shape)
public abstract boolean supportsFrame(VisualFrame frame)
protected double[] getTuple(int idx,
double[] tuple,
double[] vars)
idx - the index of the tuple.tuple - the tuple.vars - the measures tuple.
protected double getSize(Coordinate coord,
double size,
SizeFrame frame)
public void transformShape(Coordinate coord,
Map hints)
coord - the specified coordinate.hints - the element hints.public Object clone()
clone in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||