Interface IVerticalRulerExtension

  • All Known Implementing Classes:
    CompositeRuler, VerticalRuler

    public interface IVerticalRulerExtension
    Extension interface for IVerticalRuler.

    Allows to set the font of the vertical ruler and to set the location of the last mouse button activity.

    Since:
    2.0
    • Method Detail

      • setFont

        void setFont​(Font font)
        Sets the font of this vertical ruler.
        Parameters:
        font - the new font of the vertical ruler
      • setLocationOfLastMouseButtonActivity

        void setLocationOfLastMouseButtonActivity​(int x,
                                                  int y)
        Sets the location of the last mouse button activity. This method is used for example by external mouse listeners.
        Parameters:
        x - the x-coordinate
        y - the y-coordinate