public class IlvGraphicPathStyle extends IlvPolylineStyle
IlvMapStyle
intended to be
used with a IlvMapGraphicPath
.Modifier and Type | Field and Description |
---|---|
static String |
DO_FILL
The Filling attribute name.
|
static String |
DO_STROKE
The DrawingStroke attribute name.
|
static String |
PAINT
The Paint attribute name.
|
BACKGROUND, DECORATION, DECORATION_ONLY, DECORATION_PAINT, END_CAP, FOREGROUND, LINE_JOIN, LINE_STYLE, LINE_WIDTH, STROKE
ALPHA, ALWAYS_ON_TOP, ATTRIBUTE_INFO, CATEGORY, LABEL_ATTRIBUTE, LEGEND_GROUP, PARENT, THIN_CLIENT_BACKGROUND, VISIBLE_IN_3DVIEW, VISIBLE_IN_OVERVIEW, VISIBLE_IN_TREE, VISIBLE_IN_VIEW
Constructor and Description |
---|
IlvGraphicPathStyle()
Constructs an
IlvGraphicPathStyle |
IlvGraphicPathStyle(IlvGraphicPathStyle source)
Constructor by copy
|
IlvGraphicPathStyle(IlvInputStream stream)
Reads
IlvGraphicPathStyle from an IlvInputStream |
Modifier and Type | Method and Description |
---|---|
IlvMapStyle |
copy()
Constructor by copy
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
Paint |
getPaint()
Retrieves the paint attribute value.
|
int |
hashCode() |
boolean |
isDrawingStroke()
Tells if the drawing stroke attribute is set.
|
boolean |
isFilling()
Tells if the drawing stroke attribute is set or not.
|
boolean |
isInherited(String propertyName)
Retrieves the inherited state of the property.
|
void |
setDrawingStroke(boolean stroke)
Sets the DrawingStroke
|
void |
setFilling(boolean fill)
Set the filling attribute value.
|
void |
setInherited(String propertyName,
boolean inherited)
Set the inherited state for this property.
|
void |
setPaint(Paint paint)
Sets the paint attribute value.
|
void |
write(IlvOutputStream stream)
Write this style to an
IlvOutputStream |
getBackground, getDecoration, getDecorationPaint, getEndCap, getForeground, getLineJoin, getLineStyle, getLineWidth, getStroke, isDecorationOnly, setBackground, setDecoration, setDecorationOnly, setDecorationPaint, setEndCap, setForeground, setLineJoin, setLineStyle, setLineWidth, setStroke
addAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInView
public static final String DO_STROKE
public static final String DO_FILL
public static final String PAINT
public IlvGraphicPathStyle(IlvInputStream stream) throws IlvReadFileException
IlvGraphicPathStyle
from an IlvInputStream
stream
- The stream to read from.IlvReadFileException
public IlvGraphicPathStyle()
IlvGraphicPathStyle
public IlvGraphicPathStyle(IlvGraphicPathStyle source)
source
- source style to copypublic void write(IlvOutputStream stream) throws IOException
IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvPolylineStyle
stream
- The stream to write to.IOException
public IlvMapStyle copy()
copy
in class IlvPolylineStyle
IlvMapStyle.copy()
public int hashCode()
hashCode
in class IlvPolylineStyle
public boolean equals(Object o)
equals
in class IlvPolylineStyle
IlvPolylineStyle.equals(java.lang.Object)
public void setDrawingStroke(boolean stroke)
stroke
- the drawing stroke attribute value.public boolean isDrawingStroke()
public void setFilling(boolean fill)
fill
- The value of the filling attribute.public boolean isFilling()
public void setPaint(Paint paint)
paint
- The paint attribute value.public Paint getPaint()
public boolean isInherited(String propertyName)
isInherited
in interface IlvInheritable
isInherited
in class IlvMapStyle
propertyName
- The name of the property to check.true
if the property is marked as inherited, false
otherwise.public void setInherited(String propertyName, boolean inherited)
setInherited
in interface IlvInheritable
setInherited
in class IlvMapStyle
propertyName
- The name of the property to markinherited
- true
if the property will be inherited, false
otherwise.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.