Class ScaleBarRenderer

java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.SimpleRenderer
com.vividsolutions.jump.workbench.ui.plugin.scalebar.ScaleBarRenderer
All Implemented Interfaces:
Renderer

public class ScaleBarRenderer extends SimpleRenderer
  • Field Details

    • CONTENT_ID

      public static String CONTENT_ID
  • Constructor Details

  • Method Details

    • isEnabled

      public static boolean isEnabled(LayerViewPanel panel)
    • setEnabled

      public static void setEnabled(boolean enabled, LayerViewPanel panel)
    • paint

      protected void paint(Graphics2D g)
      Specified by:
      paint in class SimpleRenderer
    • paint

      public void paint(Graphics2D g, double scale)
    • getBAR_HEIGHT

      public static int getBAR_HEIGHT()
    • setBAR_HEIGHT

      public static void setBAR_HEIGHT(int bar_height)
    • getFILL1

      public static Color getFILL1()
    • setFILL1

      public static void setFILL1(Color fill1)
    • getFILL2

      public static Color getFILL2()
    • setFILL2

      public static void setFILL2(Color fill2)
    • getHORIZONTAL_MARGIN

      public static int getHORIZONTAL_MARGIN()
    • setHORIZONTAL_MARGIN

      public static void setHORIZONTAL_MARGIN(int horizontal_margin)
    • getLINE_COLOR

      public static Color getLINE_COLOR()
    • setLINE_COLOR

      public static void setLINE_COLOR(Color line_color)
    • getTEXT_BOTTOM_MARGIN

      public static int getTEXT_BOTTOM_MARGIN()
    • setTEXT_BOTTOM_MARGIN

      public static void setTEXT_BOTTOM_MARGIN(int text_bottom_margin)
    • getTEXT_COLOR

      public static Color getTEXT_COLOR()
    • getUNIT_TEXT_BOTTOM_MARGIN

      public static int getUNIT_TEXT_BOTTOM_MARGIN()
    • setUNIT_TEXT_BOTTOM_MARGIN

      public static void setUNIT_TEXT_BOTTOM_MARGIN(int unit_text_bottom_margin)
    • getUNIT_TEXT_COLOR

      public static Color getUNIT_TEXT_COLOR()
    • setUNIT_TEXT_COLOR

      public static void setUNIT_TEXT_COLOR(Color unit_text_color)
    • getVERTICAL_MARGIN

      public static int getVERTICAL_MARGIN()
    • setVERTICAL_MARGIN

      public static void setVERTICAL_MARGIN(int vertical_margin)
    • getFONT

      public static Font getFONT()
    • setFONT

      public static void setFONT(Font font)
    • getUNIT_FONT

      public static Font getUNIT_FONT()
    • setUNIT_FONT

      public static void setUNIT_FONT(Font unit_font)