|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.Justify
Class internal to JClass Chart 3D. Used to store information about annotation placment and justification.
Field Summary | |
boolean |
above
Moves annotation above the axis. |
protected double |
easeway
The amount of space between the axis and the extent of the annotation. |
protected boolean |
flipX
Rotates 180 degrees about X axis. |
protected boolean |
flipY
Rotates 180 degrees about Y axis. |
protected int |
rotate
Rotates annotation 0, 90, 180, or 270 degrees. |
protected boolean |
spinTitle
Rotates title 180 degrees about the Z axis. |
protected boolean |
vertical
Draws annotation vertical (orthogonal to axis) or horizontal (parallel to axis). |
Constructor Summary | |
Justify()
Null constructor. |
Method Summary | |
boolean |
doFlipX()
Returns whether to rotate the annotation 180 degrees about the X axis. |
boolean |
doFlipY()
Returns whether to rotate the annotation 180 degrees about the Y axis. |
boolean |
doSpinTitle()
Returns whether to spin the title 180 degrees about the Z axis. |
protected double |
getEaseway()
Returns the amount of space between the axis and the extent of the annotation. |
int |
getRotate()
Returns whether to rotate text 0, 90, 180, or 270 degrees. |
boolean |
isAbove()
Returns whether the annotation is above the axis. |
boolean |
isVertical()
Returns whether the annotation is orthogonal to the axis (vertical is true ) or parallel to the axis (vertical is false ). |
void |
setAbove(boolean above)
Sets whether the annotation is above the axis. |
void |
setEaseway(double easeway)
Sets the amount of space between the axis and the extent of the annotation. |
void |
setFlipX(boolean flipX)
Sets whether to rotate the annotation 180 degrees about the X axis. |
void |
setFlipY(boolean flipY)
Sets whether to rotate the annotation 180 degrees about the Y axis. |
void |
setRotate(int rotate)
Sets whether to rotate text 0, 90, 180, or 270 degrees. |
void |
setSpinTitle(boolean spinTitle)
Sets whether to to spin the title 180 degrees about the Z axis. |
protected void |
setVertical(boolean vertical)
Sets whether the annotation is orthogonal to the axis (vertical is true ) or parallel to the axis (vertical is false ). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int rotate
public boolean above
protected boolean vertical
protected boolean flipX
protected boolean flipY
protected boolean spinTitle
protected double easeway
Constructor Detail |
public Justify()
Method Detail |
public int getRotate()
Transform.ROTATE_NONE
,
Transform.ROTATE_90
, Transform.ROTATE_180
, or
Transform.ROTATE_270
.public void setRotate(int rotate)
rotate
- enum which indicates whether to rotate text 0, 90, 180, or
270 degreespublic boolean isAbove()
public void setAbove(boolean above)
above
- true
if the annotation is above the axispublic boolean isVertical()
true
) or parallel to the axis (vertical is false
).
protected void setVertical(boolean vertical)
true
) or parallel to the axis (vertical is false
).
vertical
- true
if the annotation is orthogonal to the axispublic boolean doFlipX()
public void setFlipX(boolean flipX)
flipX
- true
if the annotation is rotated 180 about the
X axispublic boolean doFlipY()
public void setFlipY(boolean flipY)
flipY
- true
if the annotation is rotated 180 about the
Y axispublic boolean doSpinTitle()
public void setSpinTitle(boolean spinTitle)
spinTitle
- true
if the title is to be rotated 180 degrees
about the Z axisprotected double getEaseway()
public void setEaseway(double easeway)
easeway
- the new value of easeway
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |