|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LabelPlacement
Encapsulates the label placement attributes that can be applied to any text Graphic.
Field Summary | |
---|---|
static String |
LABEL
Label attribute name. |
static String |
ROTATION
Label rotation attribute name. |
static String |
SHOW_LABEL
Show label attribute name. |
static String |
XANCHOR
Label X anchor attribute name. |
static String |
XDISPLACEMENT
Label X displacementattribute name. |
static String |
YANCHOR
Label Y anchor attribute name. |
static String |
YDISPLACEMENT
Label Y displacement attribute name. |
Method Summary | |
---|---|
String |
getLabel()
Returns the label. |
float |
getRotation()
Returns the label rotation. |
boolean |
getShowLabel()
Returns the show label. |
XAnchor |
getXAnchor()
Returns the label XAnchor. |
float |
getXDisplacement()
Returns the label X displacement. |
YAnchor |
getYAnchor()
Returns the label YAnchor. |
float |
getYDisplacement()
Returns the label Y displacement. |
boolean |
isLabelSet()
Returns whether the label has been set. |
boolean |
isRotationSet()
Returns whether the label rotation has been set. |
boolean |
isShowLabelSet()
Returns whether the show label has been set. |
boolean |
isXAnchorSet()
Returns whether the label XAnchor has been set. |
boolean |
isXDisplacementSet()
Returns whether the label X displacement has been set. |
boolean |
isYAnchorSet()
Returns whether the label YAnchor has been set. |
boolean |
isYDisplacementSet()
Returns whether the label Y displacement has been set. |
void |
setLabel(String label)
Sets the label. |
void |
setLabelSet(boolean flag)
Sets the fact that the label has been set. |
void |
setRotation(float labelRotation)
Sets the label rotation. |
void |
setRotationSet(boolean flag)
Sets the fact that the label rotation has been set. |
void |
setShowLabel(boolean showLabel)
Sets the show label. |
void |
setShowLabelSet(boolean flag)
Sets the fact that the show label has been set. |
void |
setXAnchor(XAnchor labelXAnchor)
Sets the label XAnchor. |
void |
setXAnchorSet(boolean flag)
Sets the fact that the label XAnchor has been set. |
void |
setXDisplacement(float labelXDisplacement)
Sets the label X displacement. |
void |
setXDisplacementSet(boolean flag)
Sets the fact that the label X displacement has been set. |
void |
setYAnchor(YAnchor labelYAnchor)
Sets the label YAnchor. |
void |
setYAnchorSet(boolean flag)
Sets the fact that the label YAnchor has been set. |
void |
setYDisplacement(float labelYDisplacement)
Sets the label Y displacement. |
void |
setYDisplacementSet(boolean flag)
Sets the fact that the label Y displacement has been set. |
Field Detail |
---|
static final String LABEL
static final String ROTATION
static final String XANCHOR
static final String XDISPLACEMENT
static final String YANCHOR
static final String YDISPLACEMENT
static final String SHOW_LABEL
Method Detail |
---|
String getLabel()
boolean isLabelSet()
void setLabel(String label)
label
- the label.void setLabelSet(boolean flag)
flag
- true if the label has been set, false otherwise.float getRotation()
boolean isRotationSet()
void setRotation(float labelRotation)
labelRotation
- the label rotation.void setRotationSet(boolean flag)
flag
- true if the label rotation has been set, false otherwise.XAnchor getXAnchor()
boolean isXAnchorSet()
void setXAnchor(XAnchor labelXAnchor)
labelXAnchor
- the label XAnchor.void setXAnchorSet(boolean flag)
flag
- true if the label XAnchor has been set, false otherwise.float getXDisplacement()
boolean isXDisplacementSet()
void setXDisplacement(float labelXDisplacement)
labelXDisplacement
- the label X displacement.void setXDisplacementSet(boolean flag)
flag
- true if the label X displacement has been set, false otherwise.YAnchor getYAnchor()
boolean isYAnchorSet()
void setYAnchor(YAnchor labelYAnchor)
labelYAnchor
- the label YAnchor.void setYAnchorSet(boolean flag)
flag
- true if the label YAnchor has been set, false otherwise.float getYDisplacement()
boolean isYDisplacementSet()
void setYDisplacement(float labelYDisplacement)
labelYDisplacement
- the label Y displacement.void setYDisplacementSet(boolean flag)
flag
- true if the label Y displacement has been set, false otherwise.boolean getShowLabel()
boolean isShowLabelSet()
void setShowLabel(boolean showLabel)
showLabel
- the show label.void setShowLabelSet(boolean flag)
flag
- true if the show label has been set, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |