public class IlvDisplayPreferencesProperty extends IlvNamedProperty
IlvManager containing cartographic data.
Using GetDisplayPreferences(IlvManager) will return the display preference object attached to the manager or create a new one if necessary.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The name of the property.
|
| Constructor and Description |
|---|
IlvDisplayPreferencesProperty(IlvDisplayPreferences ap)
Creates a new
IlvDisplayPreferencesProperty object with the
specified display preferences. |
IlvDisplayPreferencesProperty(IlvDisplayPreferencesProperty source)
Creates a new
IlvDisplayPreferencesProperty by copying an
existing one. |
IlvDisplayPreferencesProperty(IlvInputStream stream)
Creates a new
IlvDisplayPreferencesProperty from an
IlvInputStream. |
| Modifier and Type | Method and Description |
|---|---|
IlvNamedProperty |
copy()
Copies the property.
|
IlvDisplayPreferences |
getDisplayPreferences()
Returns the Display Preferences of this property.
|
static IlvDisplayPreferences |
GetDisplayPreferences(IlvManager manager)
Returns the Display Preferences of a manager.
|
boolean |
isPersistent()
Returns
true if the property can be saved. |
void |
write(IlvOutputStream stream)
Writes the property to an
IlvOutputStream. |
getNamepublic static final String NAME
public IlvDisplayPreferencesProperty(IlvDisplayPreferences ap)
IlvDisplayPreferencesProperty object with the
specified display preferences.ap - The Display Preferences.public IlvDisplayPreferencesProperty(IlvDisplayPreferencesProperty source)
IlvDisplayPreferencesProperty by copying an
existing one.source - The source property to be copied.public IlvDisplayPreferencesProperty(IlvInputStream stream) throws IlvReadFileException
IlvDisplayPreferencesProperty from an
IlvInputStream.stream - The input stream.IlvReadFileException - if an error occurs while reading.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvNamedPropertystream - The output stream.IOException - if an I/O exception occurs.public IlvNamedProperty copy()
copy in class IlvNamedPropertyIlvDisplayPreferencesProperty.public boolean isPersistent()
true if the property can be saved.isPersistent in class IlvNamedPropertytrue.public IlvDisplayPreferences getDisplayPreferences()
public static IlvDisplayPreferences GetDisplayPreferences(IlvManager manager)
IlvDisplayPreferencesProperty is attached to the
manager, the Display Preferences of the property is returned. Otherwise,
a new IlvDisplayPreferences is created, stored and returned.manager - The manager.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.