|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.map.layer.Layer com.esri.aims.mtier.model.map.layer.ImageLayer
public class ImageLayer
Implements an ArcIMS image layer. An ImageLayer
represents a raster image layer.
The ImageLayer class extends the Layer class.
Constructor Summary | |
---|---|
ImageLayer(String id,
String maxScale,
String minScale)
Constructs an instance of ImageLayer with given values. |
Method Summary | |
---|---|
CoordSys |
getCoordSys()
Returns the CoordSys object associated with this ImageLayer . |
Dataset |
getDataset()
Returns the Dataset object associated with this ImageLayer . |
Envelope |
getEnvelope()
Returns the Envelope associated with this ImageLayer . |
RasterInfo |
getRasterInfo()
Returns the ImageLayer's RasterInfo object. |
Raster |
getRasterObject()
Returns the RasterObject associated with this ImageLayer . |
ArrayList |
getTOCGroups()
Returns the table of contents. |
String |
getTransColor()
Returns the ImageLayer object's transparency value. |
double |
getTransparency()
Returns the percentage value of transparency set for this ImageLayer . |
String |
getType()
Returns a name string that describes the layer type. |
void |
setCoordSys(CoordSys obj)
Sets the given CoordSys object to this ImageLayer . |
void |
setDataset(Dataset obj)
Sets the given Dataset object to this ImageLayer . |
void |
setEnvelope(Envelope envelope)
Sets the given Envelope to this ImageLayer . |
void |
setRasterInfo(RasterInfo obj)
Sets the ImageLayer's RasterInfo object. |
void |
setRasterObject(Raster obj)
Sets the given RasterObject object to this ImageLayer . |
void |
setTOCGroups(ArrayList tocGroups)
Sets the table of contents associated with this feature layer. |
void |
setTransColor(String value)
Sets the given value as the transparency color to this ImageLayer . |
void |
setTransparency(double value)
Sets the given value as percentage of transparency. |
Methods inherited from class com.esri.aims.mtier.model.map.layer.Layer |
---|
getID, getMaxScale, getMinScale, getName, isVisible, setID, setMaxScale, setMinScale, setName, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageLayer(String id, String maxScale, String minScale)
ImageLayer
with given values.
Example: ImageLayer imageLayer = new ImageLayer("2","1:24000","1:50000");
id
- the layer identifier to assign.maxScale
- the layers max- scale value to assign.minScale
- the layers min- scale value to assign.Method Detail |
---|
public String getType()
getType
in class Layer
public void setEnvelope(Envelope envelope)
Envelope
to this ImageLayer
.
Example:
Envelope env = new Envelope();
env.setMinX(-125.00);
env.setMaxX(-100.00);
env.setMaxY(45.0);
env.setMinY(10.0);
imageLayer.setEnvelope(env);
envelope
- the Envelope objectgetEnvelope()
public Envelope getEnvelope()
Envelope
associated with this ImageLayer
.
Example: Envelope env = imageLayer.getEnvelope();
setEnvelope(com.esri.aims.mtier.model.envelope.Envelope)
public void setCoordSys(CoordSys obj)
CoordSys
object to this ImageLayer
.
Example:
CoordSys coordsys = new CoordSys();
coordsys.setID(4326);
imageLayer.setCoordSys(coordsys);
obj
- the CoordSys object.public CoordSys getCoordSys()
ImageLayer
.
Example:
CoordSys coordsys = imageLayer.getCoordSys();
setCoordSys(com.esri.aims.mtier.model.map.projection.CoordSys)
public void setTransColor(String value)
ImageLayer
.
Example: imageLayer.setTransColor("255,0,0");
value
- the transparency color as a RGB value. Example, White is 255, 255, 255getTransColor()
public String getTransColor()
String transColor = imageLayer.getTransColor();
setTransColor(java.lang.String)
public void setTransparency(double value)
imageLayer.setTransparency(1.0);
value
- the precentage of transparency.getTransparency()
public double getTransparency()
ImageLayer
.
Example: double transparency = imageLayer.getTransparency();
setTransparency(double)
public void setDataset(Dataset obj)
Dataset
object to this ImageLayer
.
Example:
Dataset dataset = new Dataset();
dataset.setName("dataset1");
imageLayer.setDataset(dataset);
obj
- the Dataset object.getDataset()
public Dataset getDataset()
Dataset
object associated with this ImageLayer
.
Example: Dataset dataset = imageLayer.getDataset();
Dataset
object.setDataset(com.esri.aims.mtier.model.workspace.Dataset)
public void setRasterObject(Raster obj)
RasterObject
object to this ImageLayer
.
Example:
Raster raster = new Raster();
raster.setX(-125.0);
raster.setY(43.0);
imageLayer.setRasterObject(raster);
obj
- the RasterObject
object.getRasterObject()
public Raster getRasterObject()
RasterObject
associated with this ImageLayer
.
Example: Raster raster = imageLayer.getRasterObject();
RasterObject
associated with this ImageLayer
.setRasterObject(com.esri.aims.mtier.model.map.layer.raster.Raster)
public void setRasterInfo(RasterInfo obj)
obj
- getRasterInfo()
public RasterInfo getRasterInfo()
RasterInfo rasterinfo = imageLayer.getRasterInfo();
setRasterInfo(com.esri.aims.mtier.model.map.layer.raster.RasterInfo)
public void setTOCGroups(ArrayList tocGroups)
tocGroups
- the table of contents detailspublic ArrayList getTOCGroups()
ArrayList
- the table of contents
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |