|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.Graphable
inetsoft.graph.guide.form.GraphForm
public abstract class GraphForm
This is the base class for all form objects. A form object can be added to a graph to add a drawing (or text) at any position.
| Constructor Summary | |
|---|---|
GraphForm()
|
|
| Method Summary | |
|---|---|
abstract Visualizable |
createVisual(Coordinate coord)
Create a visual object to visualize this element. |
Visualizable[] |
createVisuals(Coordinate coord)
Create visual objects to visualize this element. |
Color |
getColor()
Get the foreground color. |
int |
getLine()
Get the line styles for this guide. |
String |
getMeasure()
Get the measure this form is associated with. |
protected Point2D |
getPosition(Coordinate coord,
double[] tuple)
Get the position of the tuple. |
int |
getXOffset()
Get the x offset of the shape to shift in the chart. |
int |
getYOffset()
Get the y offset of the shape to shift in the chart. |
int |
getZIndex()
Get z-index property. |
boolean |
isInPlot()
Check if the form should be kept inside the plot area. |
boolean |
isVisible(Coordinate coord)
Check if this form should be drawn in the coordinate. |
protected double[] |
scale(Object[] tobj,
Coordinate coord)
Apply scales to values in tuple. |
void |
setColor(Color color)
Set the foreground color to a static color. |
void |
setInPlot(boolean inside)
Set whether this form should be kept inside the plot area. |
void |
setLine(int line)
Set the line styles for this guide. |
void |
setMeasure(String measure)
Set the measure this form is associated with. |
void |
setXOffset(int xoffset)
Set the offset to shift the shape in the chart. |
void |
setYOffset(int yoffset)
Set the offset to shift the shape in the chart. |
void |
setZIndex(int zIndex)
The z-index property sets the stack order of a visual. |
| Methods inherited from class inetsoft.graph.Graphable |
|---|
getHint, getHints, setHint, setHints, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GraphForm()
| Method Detail |
|---|
public void setLine(int line)
public int getLine()
public Color getColor()
public void setColor(Color color)
public int getZIndex()
public void setZIndex(int zIndex)
public Visualizable[] createVisuals(Coordinate coord)
coord - the coordinate the visual object is plotted on.
public void setMeasure(String measure)
public String getMeasure()
public void setInPlot(boolean inside)
setInPlot in class Graphablepublic boolean isInPlot()
isInPlot in class Graphablepublic void setXOffset(int xoffset)
public int getXOffset()
public void setYOffset(int yoffset)
public int getYOffset()
public boolean isVisible(Coordinate coord)
public abstract Visualizable createVisual(Coordinate coord)
coord - the coordinate the visual object is plotted on.
protected double[] scale(Object[] tobj,
Coordinate coord)
protected Point2D getPosition(Coordinate coord,
double[] tuple)
|
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 | ||||||||