|
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
inetsoft.graph.guide.form.ShapeForm
public class ShapeForm
This form can be used to add a GShape to a graph.
| Constructor Summary | |
|---|---|
ShapeForm()
Default constructor. |
|
ShapeForm(GShape shape)
Create a form to paint a GShape. |
|
| Method Summary | |
|---|---|
Visualizable |
createVisual(Coordinate coord)
Create a visual object to visualize this element. |
int |
getAlignmentX()
Gets the the horizontal alignment. |
int |
getAlignmentY()
Gets the the vertical alignment. |
Point2D |
getPoint()
Get the fixed position for the label. |
double |
getRotation()
Get the shape rotation angle. |
GShape |
getShape()
Get the shape. |
Dimension2D |
getSize()
Get the size of the shape. |
double[] |
getTuple()
Get the position tuple value. |
Object[] |
getValues()
Get the position values value. |
void |
setAlignmentX(int alignx)
Set the the horizontal alignment. |
void |
setAlignmentY(int aligny)
Set the the vertical alignment. |
void |
setPoint(Point2D pos)
Set the fixed position for the label. |
void |
setRotation(double degree)
Rotate the shape. |
void |
setShape(GShape shape)
Set the shape. |
void |
setSize(Dimension2D size)
Set the size of the shape. |
void |
setTuple(double[] tuple)
Set the tuple for obtaining the position for the label in the coordinate. |
void |
setValues(Object[] values)
Set the values for obtaining the position for the label in the coordinate. |
| Methods inherited from class inetsoft.graph.guide.form.GraphForm |
|---|
createVisuals, getColor, getLine, getMeasure, getPosition, getXOffset, getYOffset, getZIndex, isInPlot, isVisible, scale, setColor, setInPlot, setLine, setMeasure, setXOffset, setYOffset, setZIndex |
| 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 ShapeForm()
public ShapeForm(GShape shape)
| Method Detail |
|---|
public void setShape(GShape shape)
public GShape getShape()
public void setSize(Dimension2D size)
public Dimension2D getSize()
public void setTuple(double[] tuple)
public double[] getTuple()
public void setValues(Object[] values)
public Object[] getValues()
public void setPoint(Point2D pos)
pos - the point location in graph. If the value is between 0 and
1 (non-inclusive), it's treated as a proportion of the width/height. If the
value is negative, it's the distance from the right/top of the graph.public Point2D getPoint()
public void setAlignmentX(int alignx)
public void setAlignmentY(int aligny)
public int getAlignmentX()
public int getAlignmentY()
public Visualizable createVisual(Coordinate coord)
createVisual in class GraphFormcoord - the coordinate the visual object is plotted on.
public void setRotation(double degree)
degree - angle in degrees.public double getRotation()
|
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 | ||||||||