com.vividsolutions.jump.workbench.ui.plugin.scalebar
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_ID
public static java.lang.String CONTENT_ID
ScaleBarRenderer
public ScaleBarRenderer(LayerViewPanel panel)
isEnabled
public static boolean isEnabled(LayerViewPanel panel)
setEnabled
public static void setEnabled(boolean enabled,
LayerViewPanel panel)
paint
protected void paint(java.awt.Graphics2D g)
- Specified by:
paint in class SimpleRenderer
paint
public void paint(java.awt.Graphics2D g,
double scale)
getBAR_HEIGHT
public static int getBAR_HEIGHT()
setBAR_HEIGHT
public static void setBAR_HEIGHT(int bar_height)
getFILL1
public static java.awt.Color getFILL1()
setFILL1
public static void setFILL1(java.awt.Color fill1)
getFILL2
public static java.awt.Color getFILL2()
setFILL2
public static void setFILL2(java.awt.Color fill2)
getHORIZONTAL_MARGIN
public static int getHORIZONTAL_MARGIN()
setHORIZONTAL_MARGIN
public static void setHORIZONTAL_MARGIN(int horizontal_margin)
getLINE_COLOR
public static java.awt.Color getLINE_COLOR()
setLINE_COLOR
public static void setLINE_COLOR(java.awt.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 java.awt.Color getTEXT_COLOR()
setTEXT_COLOR
public static void setTEXT_COLOR(java.awt.Color text_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 java.awt.Color getUNIT_TEXT_COLOR()
setUNIT_TEXT_COLOR
public static void setUNIT_TEXT_COLOR(java.awt.Color unit_text_color)
getVERTICAL_MARGIN
public static int getVERTICAL_MARGIN()
setVERTICAL_MARGIN
public static void setVERTICAL_MARGIN(int vertical_margin)
getFONT
public static java.awt.Font getFONT()
setFONT
public static void setFONT(java.awt.Font font)
getUNIT_FONT
public static java.awt.Font getUNIT_FONT()
setUNIT_FONT
public static void setUNIT_FONT(java.awt.Font unit_font)