Documentation of 'info.monitorenter.gui.chart.axistitlepainters.AxisTitlePainterDefault' Java class
AxisTitlePainterDefault
info.monitorenter.gui.chart.axistitlepainters

Class AxisTitlePainterDefault

  • All Implemented Interfaces:
    IAxisTitlePainter, java.io.Serializable


    public class AxisTitlePainterDefault
    extends java.lang.Object
    implements IAxisTitlePainter
    An IAxisTitlePainter implementation that will render titles in a default way while adapting to x or y axis use.

    For x axis the title will be displayed centered below the axis. For y axis the title will be displayed rotated by 90 degrees centered left of the axis.

    The y axis rotation will only be performed when the given Graphics Object is of type Graphics2D.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getHeight(IAxis<?> axis, java.awt.Graphics g2d)
      Returns the height of this axis title in px with respect to the current title of the given axis title.
      int getWidth(IAxis<?> axis, java.awt.Graphics g2d)
      Returns the width of this axis title in px with respect to the current title of the given axis.
      void paintTitle(IAxis<?> axis, java.awt.Graphics g)
      TODO: This will not work for multiple axis in the same dimension and position (overwriting titles)!
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.