|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eltima.chart.LegendModel
The LegendModel class.
Copyright: Copyright (c) 2000-2005
Company: Eltima Software
Field Summary | |
static int |
ALIGNMENT_BEGIN
|
static int |
ALIGNMENT_CENTER
|
static int |
ALIGNMENT_END
|
static int |
POSITION_BOTTOM
|
static int |
POSITION_LEFT
|
static int |
POSITION_RIGHT
|
static int |
POSITION_TOP
|
Constructor Summary | |
LegendModel()
Creates new instance of LegendModel. |
Method Summary | |
int |
getAlignment()
Returns the legend alignment. |
GradientModel |
getGradientModel()
Returns the background of GradientModel. |
LabelModel |
getLabelModel()
Returns the LabelModel. |
int |
getLegendPlotMargin()
Returns the legend/plot margin. |
int |
getPosition()
Returns the legend position. |
void |
setAlignment(int alignment)
Sets the legend alignment. |
void |
setGradientModel(GradientModel model)
Sets the background of GradientModel. |
void |
setLabelModel(LabelModel model)
Sets the LabelModel. |
void |
setLegendPlotMargin(int legendPlotMargin)
Sets the legend/plot margin. |
void |
setPosition(int position)
Sets the legend position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int POSITION_LEFT
public static final int POSITION_RIGHT
public static final int POSITION_TOP
public static final int POSITION_BOTTOM
public static final int ALIGNMENT_BEGIN
public static final int ALIGNMENT_CENTER
public static final int ALIGNMENT_END
Constructor Detail |
public LegendModel()
Method Detail |
public int getAlignment()
public GradientModel getGradientModel()
public LabelModel getLabelModel()
public int getPosition()
public void setAlignment(int alignment)
alignment
- ALIGNMENT_BEGIN, ALIGNMENT_CENTER or ALIGNMENT_END.public void setGradientModel(GradientModel model)
public void setLabelModel(LabelModel model)
public void setPosition(int position)
position
- POSITION_LEFT, POSITION_RIGHT, POSITION_TOP or POSITION_BOTTOM.public int getLegendPlotMargin()
public void setLegendPlotMargin(int legendPlotMargin)
legendPlotMargin
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |