public class IlvLinkStyle extends IlvMapStyle
IlvMapStyle intended to be used by a
IlvMapPolyline graphic object. This style
redefines the Stroke, EndCap, LineJoin, LineStyle ...
graphic properties.| Modifier and Type | Field and Description |
|---|---|
static String |
END_CAP
The EndCap property name.
|
static String |
FOREGROUND
The Foreground attribute name.
|
static String |
LINE_JOIN
The LineJoin property name.
|
static String |
LINE_STYLE
The LineStyle property name.
|
static String |
LINE_WIDTH
The LineWidth property name.
|
static String |
ORIENTED
The Oriented attribute name.
|
static String |
STROKE
The Stroke property name.
|
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 |
|---|
IlvLinkStyle()
Creates a
IlvPolylineStyle |
IlvLinkStyle(IlvInputStream stream)
Reads an
IlvPolylineStyle from an IlvInputStream |
IlvLinkStyle(IlvLinkStyle source)
Creates s
IlvPolyLine by copying an existing one. |
| Modifier and Type | Method and Description |
|---|---|
IlvMapStyle |
copy()
Return a copy of the style.
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
int |
getEndCap()
Retrieves the EndCap property value.
|
Color |
getForeground()
Retrieves the
FOREGROUND attribute value. |
int |
getLineJoin()
Retrieves the LineJoin property value.
|
float[] |
getLineStyle()
Retrieves the LineStyle property value.
|
double |
getLineWidth()
Retrieves the LineWidth property value.
|
Stroke |
getStroke()
Retrieves the Stroke property value.
|
int |
hashCode() |
boolean |
isOriented()
Retrieves the Oriented property value.
|
void |
setEndCap(int cap)
Sets the EndCap property value.
|
void |
setForeground(Color c)
Sets the
FOREGROUND attribute value. |
void |
setLineJoin(int join)
Sets the LineJoin property value.
|
void |
setLineStyle(float[] style)
Sets the LineStyle property value.
|
void |
setLineWidth(double width)
Sets the LineWidth property value.
|
void |
setOriented(boolean b)
Sets the Oriented property value.
|
void |
setStroke(Stroke s)
Sets the Stroke property value.
|
void |
write(IlvOutputStream stream)
Writes an
IllPolylineStyle to an IlvOutputStream. |
addAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInViewpublic static final String FOREGROUND
public static final String ORIENTED
public static final String STROKE
public static final String END_CAP
public static final String LINE_JOIN
public static final String LINE_STYLE
public static final String LINE_WIDTH
public IlvLinkStyle(IlvInputStream stream) throws IlvReadFileException
IlvPolylineStyle from an IlvInputStreamstream - The stream to read from.IlvReadFileExceptionpublic IlvLinkStyle()
IlvPolylineStylepublic IlvLinkStyle(IlvLinkStyle source)
IlvPolyLine by copying an existing one.source - The polyline to copy.public void write(IlvOutputStream stream) throws IOException
IllPolylineStyle to an IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvMapStylestream - The stream to write to.IOExceptionpublic IlvMapStyle copy()
copy in class IlvMapStyleIlvMapStyle.copy()public int hashCode()
hashCode in class IlvMapStylepublic boolean equals(Object o)
equals in class IlvMapStyleIlvMapStyle.equals(java.lang.Object)public Color getForeground()
FOREGROUND attribute value.FOREGROUND attribute value.public void setForeground(Color c)
FOREGROUND attribute value.c - The FOREGROUND attribute value as a Color.public boolean isOriented()
public void setOriented(boolean b)
b - The Oriented property value.public void setStroke(Stroke s)
s - The Stroke property value.public Stroke getStroke()
public int getEndCap()
public void setEndCap(int cap)
cap - The EndCap property value.public int getLineJoin()
public void setLineJoin(int join)
join - The LineJoin property value.public float[] getLineStyle()
public void setLineStyle(float[] style)
style - The LineStyle property value.public void setLineWidth(double width)
width - The LineWidth property value.public double getLineWidth()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.