|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.mapper.AbstractAxisMapper
lt.monarch.chart.mapper.CountableAxisMapper
public abstract class CountableAxisMapper extends AbstractAxisMapper
Class for axis mappers, which have a countable number of labels.
| Constructor and Description |
|---|
CountableAxisMapper()
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getLabelCount()
Gets label count in the axis mapper. |
abstract java.lang.Object[] |
getRegisteredKeys()
Gets axis registered keys. |
protected double |
getTextHeigh(AbstractGraphics g,
AbstractTextPainter textPainter,
java.lang.Object value,
java.text.Format format)
Internal API method. |
protected double |
getTextWidth(AbstractGraphics g,
AbstractTextPainter textPainter,
java.lang.Object value,
java.text.Format format)
Internal API method. |
| Methods inherited from class lt.monarch.chart.mapper.AbstractAxisMapper |
|---|
addListener, fireMappingChanged, getProjectionRange, mapBack, removeListener, setProjectionRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.mapper.AxisMapper |
|---|
formatKey, getPreferredHeight, getPreferredWidth, getScale, getViewRange, map |
| Constructor Detail |
|---|
public CountableAxisMapper()
| Method Detail |
|---|
public abstract int getLabelCount()
public abstract java.lang.Object[] getRegisteredKeys()
protected double getTextWidth(AbstractGraphics g,
AbstractTextPainter textPainter,
java.lang.Object value,
java.text.Format format)
g - graphics contexttextPainter - painting modevalue - value to formatformat - text format
protected double getTextHeigh(AbstractGraphics g,
AbstractTextPainter textPainter,
java.lang.Object value,
java.text.Format format)
g - graphics contexttextPainter - painting modevalue - value to formatformat - text format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||