|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvNamedProperty
ilog.views.maps.datasource.IlvMapDataSourceProperty
public class IlvMapDataSourceProperty
A named property used to attach a IlvMapDataSourceModel
to a IlvManager. The data source model can be retrieved
from the manager by using the following code :
IlvManager manager = ...;
IlvMapDataSourceModel model =
IlvMapDataSourceProperty.GetMapDataSourceModel(manager);
Note that if no model have been previously attached, a new one
is created and attached by calling the GetMapDataSourceModel method.
| Field Summary | |
|---|---|
static String |
NAME
The name of the property. |
| Constructor Summary | |
|---|---|
IlvMapDataSourceProperty(IlvInputStream stream)
Creates a new IlvNamedProperty from
an IlvInputStream. |
|
IlvMapDataSourceProperty(IlvMapDataSourceModel model)
Creates a new IlvMapDataSourceProperty. |
|
IlvMapDataSourceProperty(IlvMapDataSourceProperty source)
Creates a new IlvMapDataSourceProperty by copying an existing one. |
|
| Method Summary | |
|---|---|
IlvNamedProperty |
copy()
Returns a copy of this property. |
IlvMapDataSourceModel |
getMapDataSourceModel()
Returns the value of this property. |
static IlvMapDataSourceModel |
GetMapDataSourceModel(IlvManager manager)
Gets the IlvMapDataSourceModel attached as a IlvMapDataSourceProperty
to the manager. |
boolean |
isPersistent()
Indicates if this property is persistent. |
void |
write(IlvOutputStream stream)
Writes this property into an IlvOutputStream. |
| Methods inherited from class ilog.views.IlvNamedProperty |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public IlvMapDataSourceProperty(IlvMapDataSourceModel model)
IlvMapDataSourceProperty.
model - The value of this property.public IlvMapDataSourceProperty(IlvMapDataSourceProperty source)
IlvMapDataSourceProperty by copying an existing one.
source - The origin of the copy.
public IlvMapDataSourceProperty(IlvInputStream stream)
throws IlvReadFileException
IlvNamedProperty from
an IlvInputStream.
stream - The input stream from which the property is be read.
IlvReadFileException| Method Detail |
|---|
public IlvNamedProperty copy()
copy in class IlvNamedPropertypublic boolean isPersistent()
isPersistent in class IlvNamedPropertytrue. This property is persistent.
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvNamedPropertystream - The stream to write to.
IOExceptionpublic IlvMapDataSourceModel getMapDataSourceModel()
IlvMapDataSource, value of the property.public static IlvMapDataSourceModel GetMapDataSourceModel(IlvManager manager)
IlvMapDataSourceModel attached as a IlvMapDataSourceProperty
to the manager. If no IlvMapDataSourceModel has been attached, a new one is created
and attached to the manager.
manager - The manager from which to get the data source.
IlvMapDataSourceModel attached to the manager.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||