|
||||||||||
| 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.IlvMapCompositeStyle
public class IlvMapCompositeStyle
An IlvMapStyle that wraps a collection
of IlvMapStyles.
| Field Summary |
|---|
| 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 | |
|---|---|
IlvMapCompositeStyle()
Constructs an IlvMapCompositeStyle. |
|
IlvMapCompositeStyle(IlvInputStream stream)
Reads a IlvMapCompositeStyle from an IlvInputStream |
|
IlvMapCompositeStyle(IlvMapCompositeStyle source)
Constructor by copy |
|
| Method Summary | |
|---|---|
void |
addChild(IlvMapStyle style)
Deprecated. Since JViews 8.1 This method no longer sets the parent of the style and will become private. Use IlvMapStyle.setParent(IlvMapStyle) instead |
IlvMapStyle |
copy()
Creates a copy of the style. |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
ilog.views.util.psheet.IlvPropertyDescriptor[] |
getAdditionalDescriptors(Object target,
ilog.views.util.psheet.IlvPropertyDescriptor[] descriptors)
Returns the descriptors of the properties that must be added to the property sheet. |
protected Object |
getAttribute(String name,
boolean useDefault)
Retrieves the value for the attribute name. |
IlvAttributeInfoProperty |
getAttributeInfo()
Retrieves the AttributeInfo property value. |
int |
hashCode()
|
boolean |
isInherited(String name)
Retrieves the inherited state of the property. |
void |
removeChild(IlvMapStyle style)
Deprecated. Since JViews 8.1 This method no longer sets the parent of the style to null and will become private. Use IlvMapStyle.setParent(IlvMapStyle) with a null parameter instead |
void |
setAttribute(String name,
Object o)
Sets the value for the attribute whose name is name. |
void |
setInherited(String name,
boolean i)
Set the inherited state for this property. |
void |
write(IlvOutputStream stream)
Writes a IlvMapCompositeStyle into an IlvOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapCompositeStyle(IlvInputStream stream)
throws IlvReadFileException
IlvMapCompositeStyle from an IlvInputStream
stream - The stream to read from.
IlvReadFileExceptionpublic IlvMapCompositeStyle(IlvMapCompositeStyle source)
source - source style to copypublic IlvMapCompositeStyle()
IlvMapCompositeStyle.
| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvMapCompositeStyle into an IlvOutputStream
write in interface IlvPersistentObjectwrite in class IlvMapStylestream - The stream to write to.
IOExceptionpublic IlvMapStyle copy()
copy in class IlvMapStyleIlvMapCompositeStylepublic void addChild(IlvMapStyle style)
IlvMapStyle.setParent(IlvMapStyle) instead
IvMapStyle to this composite style.
addChild in class IlvMapStylestyle - The style to add.public void removeChild(IlvMapStyle style)
IlvMapStyle.setParent(IlvMapStyle) with a null parameter instead
removeChild in class IlvMapStylestyle - A child to be removed from this style.IlvMapStyle.removeChild(ilog.views.maps.graphic.style.IlvMapStyle)
protected Object getAttribute(String name,
boolean useDefault)
getAttribute in class IlvMapStylename - The name of the attribute to retrieve the value.useDefault - if set to true and if the attribute
has no value, return an eventual default value.
.public boolean isInherited(String name)
isInherited in interface IlvInheritableisInherited in class IlvMapStylename - The name of the property to check.
true if the property is marked as inherited, false otherwise.
public void setInherited(String name,
boolean i)
setInherited in interface IlvInheritablesetInherited in class IlvMapStylename - The name of the property to marki - true if the property will be inherited, false otherwise.public IlvAttributeInfoProperty getAttributeInfo()
getAttributeInfo in class IlvMapStylenull if no value as been
previously set.IlvMapStyle.getAttributeInfo()
public void setAttribute(String name,
Object o)
setAttribute in class IlvMapStylename - The name of the attribute.o - The value for this attribute.
public ilog.views.util.psheet.IlvPropertyDescriptor[] getAdditionalDescriptors(Object target,
ilog.views.util.psheet.IlvPropertyDescriptor[] descriptors)
getAdditionalDescriptors in interface IlvMapStylePropertySheet.PropertyProvidertarget - The target object.descriptors - The descriptors that have been obtained by the
property sheet by introspecting the target object.
IlvMapStylePropertySheet.PropertyProvider.getAdditionalDescriptors(java.lang.Object,
ilog.views.util.psheet.IlvPropertyDescriptor[])public int hashCode()
hashCode in class IlvMapStylepublic boolean equals(Object o)
equals in class IlvMapStyleIlvMapStyle.equals(java.lang.Object)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||