public class IlvMapCompositeStyle extends IlvMapStyle implements IlvMapStylePropertySheet.PropertyProvider
IlvMapStyle
that wraps a collection of
IlvMapStyle
s.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, setVisibleInView
public IlvMapCompositeStyle(IlvInputStream stream) throws IlvReadFileException
IlvMapCompositeStyle
from an
IlvInputStream
stream
- The stream to read from.IlvReadFileException
public IlvMapCompositeStyle(IlvMapCompositeStyle source)
source
- source style to copypublic IlvMapCompositeStyle()
IlvMapCompositeStyle
.public void write(IlvOutputStream stream) throws IOException
IlvMapCompositeStyle
into an
IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvMapStyle
stream
- The stream to write to.IOException
public IlvMapStyle copy()
copy
in class IlvMapStyle
IlvMapCompositeStyle
@Deprecated public void addChild(IlvMapStyle style)
IlvMapStyle.setParent(IlvMapStyle)
insteadIvMapStyle
to this composite style.addChild
in class IlvMapStyle
style
- The style to add.@Deprecated public void removeChild(IlvMapStyle style)
IlvMapStyle.setParent(IlvMapStyle)
with a null parameter insteadremoveChild
in class IlvMapStyle
style
- 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 IlvMapStyle
name
- 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 IlvInheritable
isInherited
in class IlvMapStyle
name
- 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 IlvInheritable
setInherited
in class IlvMapStyle
name
- The name of the property to marki
- true
if the property will be inherited, false
otherwise.public IlvAttributeInfoProperty getAttributeInfo()
getAttributeInfo
in class IlvMapStyle
null
if no value as been
previously set.IlvMapStyle.getAttributeInfo()
public void setAttribute(String name, Object o)
setAttribute
in class IlvMapStyle
name
- 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.PropertyProvider
target
- 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 IlvMapStyle
public boolean equals(Object o)
equals
in class IlvMapStyle
IlvMapStyle.equals(java.lang.Object)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.