public class IlvMapCompositeStyle extends IlvMapStyle implements IlvMapStylePropertySheet.PropertyProvider
IlvMapStyle that wraps a collection of
IlvMapStyles.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 and Description |
|---|
IlvMapCompositeStyle()
Constructs an
IlvMapCompositeStyle. |
IlvMapCompositeStyle(IlvInputStream stream)
Reads a
IlvMapCompositeStyle from an
IlvInputStream |
IlvMapCompositeStyle(IlvMapCompositeStyle source)
Constructor by copy
|
| Modifier and Type | Method and Description |
|---|---|
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 |
addAttributeListener, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttributeFilter, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeStyleListener, setAlpha, setAlwaysOnTop, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInViewpublic IlvMapCompositeStyle(IlvInputStream stream) throws IlvReadFileException
IlvMapCompositeStyle from an
IlvInputStreamstream - The stream to read from.IlvReadFileExceptionpublic IlvMapCompositeStyle(IlvMapCompositeStyle source)
source - source style to copypublic IlvMapCompositeStyle()
IlvMapCompositeStyle.public void write(IlvOutputStream stream) throws IOException
IlvMapCompositeStyle into an
IlvOutputStreamwrite in interface IlvPersistentObjectwrite in class IlvMapStylestream - The stream to write to.IOExceptionpublic IlvMapStyle copy()
copy in class IlvMapStyleIlvMapCompositeStyle@Deprecated public void addChild(IlvMapStyle style)
IlvMapStyle.setParent(IlvMapStyle) insteadIvMapStyle to this composite style.addChild in class IlvMapStylestyle - The style to add.@Deprecated public void removeChild(IlvMapStyle style)
IlvMapStyle.setParent(IlvMapStyle) with a null parameter insteadremoveChild 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)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.