|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.Visualizable
inetsoft.graph.VContainer
inetsoft.graph.BoundedContainer
inetsoft.graph.VGraph
public class VGraph
VGraph is the final output of a EGraph. It contains plotting information and
can be used to produce the output on a graphics. It can also be used to
query visual object positions and sizes for adding interactions or links.
A VGraph can be produced from a EGraph and a dataset using a Plotter.
| Constructor Summary | |
|---|---|
VGraph(Coordinate coord)
Create a VGraph. |
|
| Method Summary | |
|---|---|
void |
addAxis(inetsoft.graph.guide.axis.Axis axis)
Add an axis object to this graph. |
Object |
clone()
Make a copy of this object. |
inetsoft.graph.guide.axis.Axis |
getAxis(int idx)
Get the specified axis object. |
int |
getAxisCount()
Get the number of axis objects defined in contained in this graph. |
Rectangle2D |
getContentBounds()
Get the content bounds. |
Coordinate |
getCoordinate()
Get the coordinate. |
EGraph |
getEGraph()
Get the element graph. |
Dimension2D |
getLayoutSize()
Get size for laying out legend and axis. |
protected double |
getMinHeight0()
Get the minimum height. |
protected double |
getMinWidth0()
Get the minimum width. |
Rectangle2D |
getPlotBounds()
Get the plot bounds. |
protected double |
getPreferredHeight0()
Get graph preferred height. |
protected double |
getPreferredWidth0()
Get graph preferred width. |
VLabel |
getX2Title()
Get the secondary x axis title. |
VLabel |
getXTitle()
Get the x axis title. |
VLabel |
getY2Title()
Get the secondary y axis title. |
VLabel |
getYTitle()
Get the y axis title. |
void |
layout(int x,
int y,
int w,
int h)
Layout the graph to prepare for painting. |
void |
paint(Graphics2D g,
boolean legend)
Paint all visual objects in the container. |
void |
paintGraph(Graphics2D g,
boolean legend)
Paint the top-level VGraph. |
protected void |
paintVisualizables(Graphics2D g,
List visuals)
Paint all visual objects in the container. |
void |
removeAxis(int idx)
Remove the axis object at the specified position. |
void |
setAxis(int idx,
inetsoft.graph.guide.axis.Axis axis)
Set the axis object at specified position. |
void |
setLayoutSize(Dimension2D size)
Set size for laying out legend and axis. |
void |
setPlotBounds(Rectangle2D rect)
Set plot bounds. |
| Methods inherited from class inetsoft.graph.BoundedContainer |
|---|
getBounds, getPosition, getSize, setBounds, setPosition, setSize |
| Methods inherited from class inetsoft.graph.VContainer |
|---|
addVisual, concat, getVisual, getVisualCount, paint, removeAllVisuals, removeVisual, removeVisual, scaleTo, setScreenTransform, setVisual |
| Methods inherited from class inetsoft.graph.Visualizable |
|---|
compareTo, getGraphable, getMinHeight, getMinWidth, getPreferredHeight, getPreferredWidth, getScreenTransform, getZIndex, invalidate, setZIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VGraph(Coordinate coord)
coord - the coordinate of this graph.| Method Detail |
|---|
public void paintGraph(Graphics2D g,
boolean legend)
g - the graphics in screen coordinate (0 at top);legend - true if include legends.public void addAxis(inetsoft.graph.guide.axis.Axis axis)
public void setAxis(int idx,
inetsoft.graph.guide.axis.Axis axis)
public void removeAxis(int idx)
public inetsoft.graph.guide.axis.Axis getAxis(int idx)
public int getAxisCount()
public void layout(int x,
int y,
int w,
int h)
public void paint(Graphics2D g,
boolean legend)
g - the graphics in graph coordinate (0 at bottom);legend - true if include legends.
protected void paintVisualizables(Graphics2D g,
List visuals)
VContainer
paintVisualizables in class VContainerpublic VLabel getXTitle()
public VLabel getX2Title()
public VLabel getYTitle()
public VLabel getY2Title()
public void setPlotBounds(Rectangle2D rect)
protected double getMinWidth0()
getMinWidth0 in class Visualizableprotected double getMinHeight0()
getMinHeight0 in class Visualizableprotected double getPreferredWidth0()
getPreferredWidth0 in class Visualizableprotected double getPreferredHeight0()
getPreferredHeight0 in class Visualizablepublic void setLayoutSize(Dimension2D size)
public Dimension2D getLayoutSize()
public Rectangle2D getPlotBounds()
public Rectangle2D getContentBounds()
public Coordinate getCoordinate()
public EGraph getEGraph()
public Object clone()
clone in class VContainer
|
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 | ||||||||