public class NodeElemStyle extends ElemStyle implements StyleKeys
Modifier and Type | Class and Description |
---|---|
static class |
NodeElemStyle.Symbol |
static class |
NodeElemStyle.SymbolShape |
Modifier and Type | Field and Description |
---|---|
static StyleCache.StyleList |
DEFAULT_NODE_STYLELIST |
static StyleCache.StyleList |
DEFAULT_NODE_STYLELIST_TEXT |
private java.awt.Image |
disabledNodeIcon |
private boolean |
disabledNodeIconIsTemporary |
private java.awt.Image |
enabledNodeIcon |
private boolean |
enabledNodeIconIsTemporary |
MapImage |
mapImage |
static NodeElemStyle |
SIMPLE_NODE_ELEMSTYLE |
NodeElemStyle.Symbol |
symbol |
ICON_KEYS, isModifier, major_z_index, object_z_index, REPEAT_IMAGE_KEYS, z_index
COLOR, DASHES, DASHES_BACKGROUND_COLOR, DASHES_BACKGROUND_OPACITY, DASHES_OFFSET, FILL_COLOR, FILL_IMAGE, FILL_OPACITY, ICON_HEIGHT_IDX, ICON_IMAGE, ICON_IMAGE_IDX, ICON_OPACITY_IDX, ICON_WIDTH_IDX, MODIFIER, OBJECT_Z_INDEX, OFFSET, OPACITY, REAL_WIDTH, REPEAT_IMAGE, REPEAT_IMAGE_ALIGN, REPEAT_IMAGE_OFFSET, REPEAT_IMAGE_PHASE, REPEAT_IMAGE_SPACING, TEXT, TEXT_POSITION, WIDTH, Z_INDEX
Modifier | Constructor and Description |
---|---|
protected |
NodeElemStyle(Cascade c,
MapImage mapImage,
NodeElemStyle.Symbol symbol,
float default_major_z_index) |
Modifier and Type | Method and Description |
---|---|
static NodeElemStyle |
create(Environment env) |
private static NodeElemStyle |
create(Environment env,
float default_major_z_index,
boolean allowDefault) |
static MapImage |
createIcon(Environment env,
java.lang.String[] keys) |
private static NodeElemStyle.Symbol |
createSymbol(Environment env) |
boolean |
equals(java.lang.Object obj) |
BoxTextElemStyle.BoxProvider |
getBoxProvider() |
int |
hashCode() |
void |
paintPrimitive(OsmPrimitive primitive,
MapPaintSettings settings,
StyledMapRenderer painter,
boolean selected,
boolean outermember,
boolean member)
draws a primitive
|
java.lang.String |
toString() |
getFont, getWidth, isProperLineStyle
public final NodeElemStyle.Symbol symbol
private java.awt.Image enabledNodeIcon
private java.awt.Image disabledNodeIcon
private boolean enabledNodeIconIsTemporary
private boolean disabledNodeIconIsTemporary
public static final NodeElemStyle SIMPLE_NODE_ELEMSTYLE
public static final StyleCache.StyleList DEFAULT_NODE_STYLELIST
public static final StyleCache.StyleList DEFAULT_NODE_STYLELIST_TEXT
protected NodeElemStyle(Cascade c, MapImage mapImage, NodeElemStyle.Symbol symbol, float default_major_z_index)
public static NodeElemStyle create(Environment env)
private static NodeElemStyle create(Environment env, float default_major_z_index, boolean allowDefault)
public static MapImage createIcon(Environment env, java.lang.String[] keys)
private static NodeElemStyle.Symbol createSymbol(Environment env)
public void paintPrimitive(OsmPrimitive primitive, MapPaintSettings settings, StyledMapRenderer painter, boolean selected, boolean outermember, boolean member)
ElemStyle
paintPrimitive
in class ElemStyle
selected
- true, if primitive is selectedoutermember
- true, if primitive is not selected and outer member of a selected multipolygon relationmember
- true, if primitive is not selected and member of a selected relationpublic BoxTextElemStyle.BoxProvider getBoxProvider()