|
||||||||||
| 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.IlvPointStyle
public class IlvPointStyle
A IlvMapStyle intended to be used with a
IlvMapMarker.
| Field Summary | |
|---|---|
static String |
FOREGROUND
The Foreground property name. |
static String |
MARKER_CHAR
The MarkerChar property name. |
static String |
MARKER_FONT
The MarkerFont property name. |
static String |
MARKER_IMAGE
The MarkerImage property name. |
static String |
MARKER_IMAGE_SOURCE
The MarkerImageSource property name. |
static String |
MARKER_SIZE
The MarkerSize property name. |
static String |
MARKER_TYPE
The MarkerType 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 | |
|---|---|
IlvPointStyle()
Constructs an IlvPointStyle |
|
IlvPointStyle(IlvInputStream stream)
Reads a IlvPointStyle from a IlvInputStream |
|
IlvPointStyle(IlvPointStyle source)
Constructs a IlvPointStyle 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. |
char |
getChar()
Retrieves the Type attribute value. |
Font |
getFont()
Retrieves the Font attribute value. |
Color |
getForeground()
Retrieve the FOREGROUND attribute value. |
Image |
getImage()
Retrieves either an image from the ImageSource property or the image set by calling setImage(Image). |
String |
getImageSource()
Retrieves the ImageSource attribute value. |
int |
getSize()
Retrieves the Size attribute value. |
int |
getType()
Retrieves the Type attribute value. |
int |
hashCode()
|
void |
setChar(char tchar)
Sets the Char attribute value. |
void |
setFont(Font font)
Sets the Font attribute value. |
void |
setForeground(Color c)
Sets the FOREGROUND attribute value. |
void |
setImage(Image img)
Sets an Image object so that calls to getImage
will return it. |
void |
setImageSource(String source)
Sets the ImageSource attribute value. |
void |
setSize(int size)
Sets the Size attribute value. |
void |
setType(int type)
Sets the Type attribute value. |
void |
write(IlvOutputStream stream)
write an IlvPointStyle into 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 MARKER_SIZE
public static final String MARKER_TYPE
public static final String MARKER_CHAR
public static final String MARKER_FONT
public static final String MARKER_IMAGE
public static final String MARKER_IMAGE_SOURCE
| Constructor Detail |
|---|
public IlvPointStyle(IlvInputStream stream)
throws IlvReadFileException
IlvPointStyle from a IlvInputStream
stream - The stream to read from.
IlvReadFileExceptionpublic IlvPointStyle()
IlvPointStyle
public IlvPointStyle(IlvPointStyle source)
IlvPointStyle by copying an existing one.
source - The style to copy.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvPointStyle into 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 int getSize()
public void setSize(int size)
size - public int getType()
public void setType(int type)
type - The Type attribute value.public Font getFont()
public void setFont(Font font)
font - The Type attribute value.public char getChar()
public void setChar(char tchar)
tchar - The Char attribute value.public String getImageSource()
public void setImageSource(String source)
source - The ImageSource attribute value.public Image getImage()
setImage(Image).
If the ImageSource property has been set to a valid image location,
the corresponding image is returned.
null.setImageSource(String),
getImageSource(),
setImage(Image)public void setImage(Image img)
Image object so that calls to getImage
will return it.
Setting img to null will force the
getImage method to retrieve the image from the ImageSource
property.
img - The image to set.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||