|
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.GeomForm
inetsoft.graph.guide.form.RectForm
public class RectForm
This is a rectangle form guide.
| Constructor Summary | |
|---|---|
RectForm()
Default constructor. |
|
RectForm(double[] topLeft,
double[] bottomRight)
Create a rectangle from two points in logic space (scaled tuple). |
|
RectForm(Object[] topLeft,
Object[] bottomRight)
Create a rectangle from two points specified as unscaled values. |
|
RectForm(Rectangle2D rect)
Create a fixed position and size rectangle. |
|
| Method Summary | |
|---|---|
Visualizable |
createVisual(Coordinate coord)
Create a visual object to visualize this element. |
Point2D |
getBottomRightPoint()
Get the point for the bottom-right corner. |
double[] |
getBottomRightTuple()
Get the tuple for the bottom-right corner. |
Object[] |
getBottomRightValues()
Get the values for the bottom-right corner. |
Point2D |
getTopLeftPoint()
Get the point for the top-left corner. |
double[] |
getTopLeftTuple()
Get the tuple for the top-left corner. |
Object[] |
getTopLeftValues()
Get the values for the top-left corner. |
boolean |
isIgnoreNegative()
Check whether to ignore negative size rectangle. |
void |
setBottomRightPoint(Point2D point)
Set the point for the bottom-right corner. |
void |
setBottomRightTuple(double[] tuple)
Set the tuple for the bottom-right corner. |
void |
setBottomRightValues(Object[] values)
Set the values for the bottom-right corner. |
void |
setIgnoreNegative(boolean ignore)
Set whether to ignore negative size rectangle. |
void |
setTopLeftPoint(Point2D point)
Set the point for the top-left corner. |
void |
setTopLeftTuple(double[] tuple)
Set the tuple for the top-left corner. |
void |
setTopLeftValues(Object[] values)
Set the values for the top-left corner. |
| Methods inherited from class inetsoft.graph.guide.form.GeomForm |
|---|
isFill, setFill |
| 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 RectForm()
public RectForm(Rectangle2D rect)
public RectForm(double[] topLeft,
double[] bottomRight)
topLeft - top-left tuple of a rectangle.bottomRight - bottom-right tuple of a rectangle.
public RectForm(Object[] topLeft,
Object[] bottomRight)
topLeft - top-left unscaled tuple of a rectangle.bottomRight - bottom-right unscaled tuple of a rectangle.| Method Detail |
|---|
public void setTopLeftPoint(Point2D point)
point - 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 getTopLeftPoint()
public void setBottomRightPoint(Point2D point)
point - 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 getBottomRightPoint()
public void setTopLeftTuple(double[] tuple)
public double[] getTopLeftTuple()
public void setBottomRightTuple(double[] tuple)
public double[] getBottomRightTuple()
public void setTopLeftValues(Object[] values)
public Object[] getTopLeftValues()
public void setBottomRightValues(Object[] values)
public Object[] getBottomRightValues()
public Visualizable createVisual(Coordinate coord)
createVisual in class GraphFormcoord - the coordinate the visual object is plotted on.
public void setIgnoreNegative(boolean ignore)
public boolean isIgnoreNegative()
|
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 | ||||||||