public class IlvShadeableRasterStyle extends IlvRasterStyle
IlvShadeableRasterStyle represents a raster style that
manages the light orientation for rasters containing altitude data.IlvRasterStyle,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
EAST
East shading.
|
static int |
NONE
No shading
|
static int |
NORTH
North shading.
|
static int |
NORTH_EAST
North east shading.
|
static int |
NORTH_WEST
North West shading.
|
static String |
ORIENTATION
The light orientation attribute name.
|
static int |
SOUTH
South shading.
|
static int |
SOUTH_EAST
South east shading.
|
static int |
SOUTH_WEST
South west shading.
|
static int |
WEST
West shading.
|
BRIGHTNESS, COLORMODEL, CONTRAST, reader, SATURATIONALPHA, 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 |
|---|
IlvShadeableRasterStyle()
Constructs a new
IlvShadeableRasterStyle instance. |
IlvShadeableRasterStyle(IlvInputStream stream)
Reads an
IlvShadeableRasterStyle instance from an
IlvInputStream. |
IlvShadeableRasterStyle(IlvRasterAbstractReader reader)
Constructs an
IlvShadeableRasterStyle instance for
the specified reader. |
IlvShadeableRasterStyle(IlvShadeableRasterStyle source)
The copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IlvMapStyle |
copy()
Returns a copy of this
IlvShadeableRasterStyle instance. |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
int |
getOrientation()
Retrieves the
ORIENTATION attribute value. |
void |
setOrientation(int c)
Sets the
ORIENTATION attribute value. |
void |
updateLoader(IlvRasterTileLoader loader)
Updates the loader of this
IlvShadeableRasterStyle instance
with the orientation parameters. |
void |
updateReader(IlvRasterProperties props)
Indicates to the color model of the properties that it needs to take
shading into account.
|
void |
write(IlvOutputStream stream)
Writes this
IlvShadeableRasterStyle instance to an
IlvOutputStream. |
getBrightness, getColorModel, getContrast, getSaturation, hashCode, setBrightness, setColorModel, setContrast, setSaturation, styleChangedaddAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInViewpublic static final int NONE
public static final int SOUTH_EAST
public static final int SOUTH
public static final int SOUTH_WEST
public static final int EAST
public static final int WEST
public static final int NORTH_EAST
public static final int NORTH
public static final int NORTH_WEST
public static final String ORIENTATION
public IlvShadeableRasterStyle()
IlvShadeableRasterStyle instance.public IlvShadeableRasterStyle(IlvRasterAbstractReader reader)
IlvShadeableRasterStyle instance for
the specified reader.reader - An image reader.public IlvShadeableRasterStyle(IlvInputStream stream) throws IlvReadFileException
IlvShadeableRasterStyle instance from an
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
stream.public IlvShadeableRasterStyle(IlvShadeableRasterStyle source)
source - The source style to copy.public void write(IlvOutputStream stream) throws IOException
IlvShadeableRasterStyle instance to an
IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvRasterStylestream - The stream to write to.IOException - if there is a problem writing to stream.IlvMapStyle.write(ilog.views.io.IlvOutputStream)public IlvMapStyle copy()
IlvShadeableRasterStyle instance.copy in class IlvRasterStyleIlvRasterStyle.public int getOrientation()
ORIENTATION attribute value.int value representing the
ORIENTATION attribute value.public void setOrientation(int c)
ORIENTATION attribute value.c - An int value representing the
ORIENTATION attribute value.public void updateLoader(IlvRasterTileLoader loader)
IlvShadeableRasterStyle instance
with the orientation parameters.
This method is usually called by an IlvRasterIcon instance
when it needs to update its image.loader - The IlvRasterTileLoader to update.public void updateReader(IlvRasterProperties props)
IlvRasterIcon object when
it needs to update its image.updateReader in class IlvRasterStyleprops - The raster properties used.IlvRasterStyle.updateReader(ilog.views.maps.raster.IlvRasterProperties)public boolean equals(Object o)
equals in class IlvRasterStyleIlvRasterStyle.equals(java.lang.Object)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.