|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.graphic.style.IlvMapStyle
ilog.views.maps.graphic.style.IlvPolylineStyle
public class IlvPolylineStyle
An IlvMapStyle intended to be used by a
IlvMapPolyline graphic object. This style
redefines the Stroke, EndCap, LineJoin, LineStyle ...
graphic properties.
| Field Summary | |
|---|---|
static String |
BACKGROUND
The Background property name. |
static String |
DECORATION
The Decoration attribute name. |
static String |
DECORATION_ONLY
The DecorationOnly attribute name. |
static String |
DECORATION_PAINT
The DecorationPaint attribute name. |
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 |
STROKE
The Stroke property name. |
| Fields inherited from class ilog.views.maps.graphic.style.IlvMapStyle |
|---|
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 Summary | |
|---|---|
IlvPolylineStyle()
Create a IlvPolylineStyle |
|
IlvPolylineStyle(IlvInputStream stream)
Reads an IlvPolylineStyle from an IlvInputStream |
|
IlvPolylineStyle(IlvPolylineStyle source)
Creates s IlvPolyLine by copying an existing one. |
|
| Method Summary | |
|---|---|
IlvMapStyle |
copy()
Return a copy of the style. |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
Color |
getBackground()
Retrieves the Background property value. |
IlvPathDecoration |
getDecoration()
Retrieves the Decoration property value. |
Paint |
getDecorationPaint()
Retrieves the DecorationPaint property value. |
int |
getEndCap()
Retrieves the EndCap property value. |
Color |
getForeground()
Retrieve the FOREGROUND attribute value. |
int |
getLineJoin()
Retrieves the LineJoin property value. |
float[] |
getLineStyle()
Retrieves the LineStyle property value. |
float |
getLineWidth()
Retrieves the LineWidth property value. |
Stroke |
getStroke()
Retrieves the Stroke property value. |
int |
hashCode()
|
boolean |
isDecorationOnly()
Retrieves the DecorationOnly property value. |
void |
setBackground(Color b)
Sets the Background property value. |
void |
setDecoration(IlvPathDecoration decoration)
Sets the Decoration property value. |
void |
setDecorationOnly(boolean on)
Sets the DecorationOnly property value. |
void |
setDecorationPaint(Paint p)
Sets the DecorationPaint 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(float width)
Sets the LineWidth property value. |
void |
setStroke(Stroke s)
Sets the Stroke property value. |
void |
write(IlvOutputStream stream)
Writes an IllPolylineStyle to an IlvOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FOREGROUND
public static final String DECORATION
public static final String DECORATION_ONLY
public static final String DECORATION_PAINT
public static final String BACKGROUND
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
| Constructor Detail |
|---|
public IlvPolylineStyle(IlvInputStream stream)
throws IlvReadFileException
IlvPolylineStyle from an IlvInputStream
stream - The stream to read from.
IlvReadFileExceptionpublic IlvPolylineStyle()
IlvPolylineStyle
public IlvPolylineStyle(IlvPolylineStyle source)
IlvPolyLine by copying an existing one.
source - The polyline to copy.| Method Detail |
|---|
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 Colorpublic Color getBackground()
public void setBackground(Color b)
b - The Background 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(float width)
width - The LineWidth property value.public float getLineWidth()
public void setDecoration(IlvPathDecoration decoration)
decoration - The Decoration property value.public IlvPathDecoration getDecoration()
public void setDecorationOnly(boolean on)
on - The DecorationOnly property value.public boolean isDecorationOnly()
public void setDecorationPaint(Paint p)
p - The DecorationPaint property value.public Paint getDecorationPaint()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||