|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.exponto.jstock.gui.panels.GraphicsParameters
This class encapsulates a few parameters that are needed in order to draw the indicator correctly on screen.
Constructor Summary | |
GraphicsParameters()
|
Method Summary | |
java.lang.Object |
clone()
|
int |
getBottomMargin()
Use default settings pr. |
java.awt.Dimension |
getDimension()
|
int |
getLeftMargin()
|
double |
getLogaritmicMaximumValue()
|
double |
getLogaritmicMinimumValue()
|
int |
getNetWidth()
|
int |
getPixelPrDay()
|
int |
getRelativeEndOfPeriode()
See setRelativeEndOfPeriode(int relativeEnd) |
int |
getRelativeStartOfPeriode()
See setRelativeEndOfPeriode(int relativeEnd) |
int |
getRightMargin()
|
int |
getTopMargin()
Use default settings pr. |
boolean |
isEqual(GraphicsParameters oldGP)
Compares a few size related parameters to determine if oldGP is equal to this GraphicsParameters. |
void |
setBottomMargin(int bottomMargin)
|
void |
setDimension(java.awt.Dimension dimension)
|
void |
setLogaritmicMaximumValue(double d)
|
void |
setLogaritmicMinimumValue(double d)
|
void |
setRelativeEndOfPeriode(int relativeEnd)
Contains information about the position in a dataseries of the part of the indicator that is displayed on the screen. |
void |
setTopMargin(int topMargin)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphicsParameters()
Method Detail |
public java.lang.Object clone()
public boolean isEqual(GraphicsParameters oldGP)
oldGP
-
public int getBottomMargin()
public java.awt.Dimension getDimension()
public int getLeftMargin()
public int getPixelPrDay()
public int getRightMargin()
public int getTopMargin()
public void setDimension(java.awt.Dimension dimension)
dimension
- public int getNetWidth()
public double getLogaritmicMaximumValue()
public double getLogaritmicMinimumValue()
public void setLogaritmicMaximumValue(double d)
d
- public void setLogaritmicMinimumValue(double d)
d
- public void setBottomMargin(int bottomMargin)
bottomMargin
- The bottomMargin to set.public void setTopMargin(int topMargin)
topMargin
- The topMargin to set.public void setRelativeEndOfPeriode(int relativeEnd)
relativeEnd
- public int getRelativeEndOfPeriode()
public int getRelativeStartOfPeriode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |