|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.chart.style.AbstractStyle com.jidesoft.chart.style.LabelStyle
public class LabelStyle
Contains style information for a label
Constructor Summary | |
---|---|
LabelStyle()
Create a new LabelStyle using the default font and font size |
|
LabelStyle(Color color,
Font font)
Create a new Label Style using the specified color and font |
|
LabelStyle(Color color,
Font font,
double rotation)
Create a new Label Style using the specified color, font and rotation |
|
LabelStyle(double rotation)
Create a new Label Style using the default font and font size, and specifying a rotation for the label |
|
LabelStyle(Font font)
Create a new Label Style using the specified font |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Font |
getFont()
Returns the currently specified font |
Double |
getRotation()
Retrieve the rotation specified for the label |
int |
hashCode()
|
void |
setFont(Font font)
Specify the font to use for the label |
void |
setRotation(Double rotation)
Specify the rotation of a label (in radians) |
Methods inherited from class com.jidesoft.chart.style.AbstractStyle |
---|
getColor, getPaint, setColor, setPaint |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelStyle()
public LabelStyle(Font font)
font
- the font to use for the labelpublic LabelStyle(double rotation)
rotation
- the rotation of the label in radianspublic LabelStyle(Color color, Font font)
color
- the color for the labelfont
- the font to use for the labelpublic LabelStyle(Color color, Font font, double rotation)
color
- the color to use for the labelfont
- the font to use for the labelrotation
- the rotation of the label in radiansMethod Detail |
---|
public Font getFont()
public void setFont(Font font)
font
- the new font to use for the labelpublic Double getRotation()
public void setRotation(Double rotation)
rotation
- the rotation of the labelpublic int hashCode()
hashCode
in class AbstractStyle
public boolean equals(Object obj)
equals
in class AbstractStyle
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |