Class ScaleBarRenderer
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.SimpleRenderer
com.vividsolutions.jump.workbench.ui.plugin.scalebar.ScaleBarRenderer
- All Implemented Interfaces:
Renderer
-
Nested Class Summary
Nested classes/interfaces inherited from interface Renderer
Renderer.ContentDependendFactory, Renderer.Factory -
Field Summary
FieldsFields inherited from class SimpleRenderer
cancelled, panel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic ColorgetFILL1()static ColorgetFILL2()static FontgetFONT()static intstatic Colorstatic intstatic Colorstatic Fontstatic intstatic Colorstatic intstatic booleanisEnabled(LayerViewPanel panel) protected voidpaint(Graphics2D g) voidpaint(Graphics2D g, double scale) static voidsetBAR_HEIGHT(int bar_height) static voidsetEnabled(boolean enabled, LayerViewPanel panel) static voidstatic voidstatic voidstatic voidsetHORIZONTAL_MARGIN(int horizontal_margin) static voidsetLINE_COLOR(Color line_color) static voidsetTEXT_BOTTOM_MARGIN(int text_bottom_margin) static voidsetUNIT_FONT(Font unit_font) static voidsetUNIT_TEXT_BOTTOM_MARGIN(int unit_text_bottom_margin) static voidsetUNIT_TEXT_COLOR(Color unit_text_color) static voidsetVERTICAL_MARGIN(int vertical_margin) Methods inherited from class SimpleRenderer
cancel, clearImageCache, copyTo, createRunnable, getContentID, isRendering
-
Field Details
-
CONTENT_ID
-
-
Constructor Details
-
ScaleBarRenderer
-
-
Method Details
-
isEnabled
-
setEnabled
-
paint
- Specified by:
paintin classSimpleRenderer
-
paint
-
getBAR_HEIGHT
public static int getBAR_HEIGHT() -
setBAR_HEIGHT
public static void setBAR_HEIGHT(int bar_height) -
getFILL1
-
setFILL1
-
getFILL2
-
setFILL2
-
getHORIZONTAL_MARGIN
public static int getHORIZONTAL_MARGIN() -
setHORIZONTAL_MARGIN
public static void setHORIZONTAL_MARGIN(int horizontal_margin) -
getLINE_COLOR
-
setLINE_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
-
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
-
setUNIT_TEXT_COLOR
-
getVERTICAL_MARGIN
public static int getVERTICAL_MARGIN() -
setVERTICAL_MARGIN
public static void setVERTICAL_MARGIN(int vertical_margin) -
getFONT
-
setFONT
-
getUNIT_FONT
-
setUNIT_FONT
-