|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.chart.ChartItemPosition
public class ChartItemPosition
Name: ChartItemPosition
Description: A class defining chart item positions.
Field Summary | |
---|---|
static short |
ABSOLUTE
Constant telling that the item should be placed at an absolutely defined position. |
static short |
BOTTOM
Constant telling that the item should be placed at the bottom side. |
static short |
CENTER
Constant telling that the item should be centered horizontally. |
static short |
LEFT
Constant telling that the item should be placed at the left side. |
static short |
MIDDLE
Constant telling that the item should be centered vertically. |
static short |
RIGHT
Constant telling that the item should be placed at the right side. |
static short |
TOP
Constant telling that the item should be placed at the top side. |
Constructor Summary | |
---|---|
ChartItemPosition(double x,
double y)
Constructs a ChartItemPosition instance with specific attributes. |
|
ChartItemPosition(double x,
short verticalPositionMode)
Constructs a ChartItemPosition instance with specific attributes. |
|
ChartItemPosition(short horizontalPositionMode,
double y)
Constructs a ChartItemPosition instance with specific attributes. |
|
ChartItemPosition(short horizontalPositionMode,
short verticalPositionMode)
Constructs a ChartItemPosition instance with specific attributes. |
Method Summary | |
---|---|
short |
getHorizontalPositionMode()
Gets the horizontal position mode. |
short |
getVerticalPositionMode()
Gets the vertical position mode. |
double |
getX()
Gets the absolute horizontal position. |
double |
getY()
Gets the absolute vertical position mode. |
void |
setHorizontalPositionMode(short horizontalPositionMode)
Setter method for the the property horizontalPositionMode. |
void |
setVerticalPositionMode(short verticalPositionMode)
Setter method for the the property verticalPositionMode. |
void |
setX(double x)
Sets the absolute horizontal position. |
void |
setY(double y)
Sets the absolute horizontal position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short ABSOLUTE
public static final short LEFT
public static final short CENTER
public static final short RIGHT
public static final short TOP
public static final short MIDDLE
public static final short BOTTOM
Constructor Detail |
---|
public ChartItemPosition(short horizontalPositionMode, short verticalPositionMode)
horizontalPositionMode
- The hozizontal position mode.verticalPositionMode
- The vertical position mode.public ChartItemPosition(double x, short verticalPositionMode)
x
- The hozizontal position.verticalPositionMode
- The vertical position mode.public ChartItemPosition(short horizontalPositionMode, double y)
horizontalPositionMode
- The hozizontal position mode.y
- The vertical position mode.public ChartItemPosition(double x, double y)
x
- The hozizontal position.y
- The vertical position mode.Method Detail |
---|
public short getHorizontalPositionMode()
public void setHorizontalPositionMode(short horizontalPositionMode)
horizontalPositionMode
- The value to set for the property horizontalPositionMode.public short getVerticalPositionMode()
public void setVerticalPositionMode(short verticalPositionMode)
verticalPositionMode
- The value to set for the property verticalPositionMode.public double getX()
public void setX(double x)
x
- The absolute horizontal position.public double getY()
public void setY(double y)
y
- The absolute horizontal position.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |