|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.text.TextPainter
lt.monarch.chart.text.RotatedLabelPainter
public abstract class RotatedLabelPainter extends TextPainter
Text painter for rotating labels
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.text.TextPainter |
|---|
boundingBox, hAlignment, text, vAlignment, xMargin, yMargin |
| Constructor and Description |
|---|
RotatedLabelPainter()
|
| Modifier and Type | Method and Description |
|---|---|
abstract Area |
getFullArea(java.awt.FontMetrics fm)
Returns the area where is label. |
protected abstract java.awt.Dimension |
getFullSize(java.awt.FontMetrics fm)
Returns full not rotated text size. |
abstract Rectangle2D |
getPreferredBounds(java.awt.FontMetrics fm)
Gets preferred bounds |
abstract float |
getRelativePosition()
Returns relative position for the label |
abstract double |
getRotationAngle()
Gets rotation angle for label in radians |
abstract Point2D |
getRotationPoint()
Returns rotation point |
abstract void |
setRelativePosition(float relativePosition)
Sets relative position for the label |
abstract void |
setRotationAngle(double rotationAngle)
Sets rotation angle for the label in radians |
abstract void |
setRotationPoint(Point2D rotationPoint)
Sets rotation point |
| Methods inherited from class lt.monarch.chart.text.TextPainter |
|---|
dispose, findBounds, getBounds, getHorizontalAlignment, getHorizontalMargin, getMarginInPixels, getMinimumHeight, getMinimumSize, getMinimumSize, getText, getVerticalAlignment, getVerticalMargin, getWrappingEnabled, paint, setHorizontalAlignment, setHorizontalMargin, setMargin, setText, setText, setVerticalAlignment, setVerticalMargin, setWrappingEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotatedLabelPainter()
| Method Detail |
|---|
public abstract void setRotationAngle(double rotationAngle)
rotationAngle - rotation angle for labelpublic abstract double getRotationAngle()
public abstract void setRotationPoint(Point2D rotationPoint)
rotationPoint - rotation pointpublic abstract Point2D getRotationPoint()
public abstract Rectangle2D getPreferredBounds(java.awt.FontMetrics fm)
fm - FontMetricspublic abstract void setRelativePosition(float relativePosition)
relativePosition - relative position for the labelpublic abstract float getRelativePosition()
public abstract Area getFullArea(java.awt.FontMetrics fm)
fm - font metricsprotected abstract java.awt.Dimension getFullSize(java.awt.FontMetrics fm)
fm - font metrics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||