Interface Paintable

All Known Implementing Classes:
ClusterComponent

public interface Paintable
Implemented by visual components of the dendrogram.
Since:
1.0
Author:
Lars Behnke, 2013, Michael J. Schnieders
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    paint(Graphics2D g, int xDisplayOffset, int yDisplayOffset, double xDisplayFactor, double yDisplayFactor, boolean decorated)
    Paints this visual component onto the provided Graphics2D context.
  • Method Details

    • paint

      void paint(Graphics2D g, int xDisplayOffset, int yDisplayOffset, double xDisplayFactor, double yDisplayFactor, boolean decorated)
      Paints this visual component onto the provided Graphics2D context.
      Parameters:
      g - the Graphics2D to draw into
      xDisplayOffset - x-axis pixel offset applied to model coordinates
      yDisplayOffset - y-axis pixel offset applied to model coordinates
      xDisplayFactor - scale factor to convert model X to pixels
      yDisplayFactor - scale factor to convert model Y to pixels
      decorated - if true, draw additional decorations (e.g., distance labels)