|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.PlotSpec
public class PlotSpec
This class contains the plot painting attributes.
The background image is always drawn in the original orientation regardless
the rotation of the coordiante. If the background image is mapped to the
scale positions (with the x/y min/max set), the mapping is to the horizontal
and vertical axis regardless of the rotation.
| Constructor Summary | |
|---|---|
PlotSpec()
|
|
| Method Summary | |
|---|---|
double |
getAlpha()
Get the alpha of the background image or color. |
Color |
getBackground()
Get the plot background color. |
Image |
getBackgroundImage()
Get the plot background image. |
Color |
getXBandColor()
Get the banding color for vertical bands. |
double |
getXBandSize()
Get the vertical band size as the multiple of unit (default) size. |
double |
getXMax()
Get the x max position the bottom of the background image corresponds to the x scale. |
double |
getXMin()
Get the x min position the bottom of the background image corresponds to the x scale. |
Color |
getYBandColor()
Get the banding color for horizontal bands. |
double |
getYBandSize()
Get the horizontal band size as the multiple of unit (default) size. |
double |
getYMax()
Get the y max position the bottom of the background image corresponds to the y scale. |
double |
getYMin()
Get the y min position the bottom of the background image corresponds to the y scale. |
boolean |
isLockAspect()
Check if the image's aspect ratio should be locked. |
void |
setAlpha(double alpha)
Set the alpha of the background image or color. |
void |
setBackground(Color bg)
Set the plot background color. |
void |
setBackgroundImage(Image img)
Set the plot background image. |
void |
setLockAspect(boolean lock)
Set if the image's aspect ratio should be locked. |
void |
setXBandColor(Color color)
Set the banding color for vertical bands. |
void |
setXBandSize(double multiple)
Set the vertical band size as the multiple of unit (default) size. |
void |
setXMax(double xmax)
Set the x max position the bottom of the background image corresponds to the x scale. |
void |
setXMin(double xmin)
Set the x min position the bottom of the background image corresponds to the x scale. |
void |
setYBandColor(Color color)
Set the banding color for horizontal bands. |
void |
setYBandSize(double multiple)
Set the horizontal band size as the multiple of unit (default) size. |
void |
setYMax(double ymax)
Set the y max position the bottom of the background image corresponds to the y scale. |
void |
setYMin(double ymin)
Set the y min position the bottom of the background image corresponds to the y scale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlotSpec()
| Method Detail |
|---|
public void setBackground(Color bg)
public Color getBackground()
public void setBackgroundImage(Image img)
public Image getBackgroundImage()
public void setLockAspect(boolean lock)
public boolean isLockAspect()
public void setXMin(double xmin)
public double getXMin()
public void setXMax(double xmax)
public double getXMax()
public void setYMin(double ymin)
public double getYMin()
public void setYMax(double ymax)
public double getYMax()
public void setAlpha(double alpha)
alpha - a value between 0 and 1.public double getAlpha()
public void setXBandColor(Color color)
public Color getXBandColor()
public void setYBandColor(Color color)
public Color getYBandColor()
public void setXBandSize(double multiple)
public double getXBandSize()
public void setYBandSize(double multiple)
public double getYBandSize()
|
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 | ||||||||