|
|||||||||
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.AcetateLayer
public class AcetateLayer
Implements an ArcIMS acetate layer. The AcetateLayer class extends the Layer class.
Constructor Summary | |
---|---|
AcetateLayer(String id,
String maxScale,
String minScale)
Creates an instance of an AcetateLayer object. |
Method Summary | |
---|---|
void |
add(Object acetateObject)
Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by addAcetate(com.esri.aims.mtier.model.acetate.Acetate) . |
void |
addAcetate(Acetate newAcetate)
Adds the given acetate to this acetate layer collection. |
void |
clear()
Clears all Acetate objects from the acetate layer collection. |
Acetate |
getAcetateObject(int index)
Returns an Acetate object at given index from the objects collection. |
Vector |
getAcetateObjectsCollection()
Returns collection of all acetate layer objects. |
int |
getCount()
Returns the count of the Acetate objects in the acetate layer collection. |
String |
getType()
Returns a name string that describes the Layer type. |
void |
remove(int index)
Removes an acetate object from the acetate layer collection at given index. |
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 AcetateLayer(String id, String maxScale, String minScale)
AcetateLayer
object.
AcetateLayer acetateLayer = new AcetateLayer("1","1:24000", "1:25000");
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 add(Object acetateObject)
addAcetate(com.esri.aims.mtier.model.acetate.Acetate)
.
Point point = new Point();
point.setX(-125.0);
point.setY(45.0);
Acetate acetate = new Acetate();
acetate.setObject(point);
acetateLayer.add(acetate);
acetateObject
- the object to add.getAcetateObject(int)
public Acetate getAcetateObject(int index)
Acetate
object at given index from the objects collection.
Acetate acetate = acetateLayer.getAcetateObject(0);
index
- the index at which the Acetate object is located.
public int getCount()
Acetate
objects in the acetate layer collection.
int count = acetateLayer.getCount();
public void remove(int index)
acetateLayer.remove(0);
index
- the index at which the acetate object is located.add(java.lang.Object)
,
clear()
public void clear()
Acetate
objects from the acetate layer collection.
acetateLayer.clear();
add(java.lang.Object)
,
remove(int)
public Vector getAcetateObjectsCollection()
Vector aObjects = acetateLayer.getAcetateObjectsCollection();
add(java.lang.Object)
,
remove(int)
,
getAcetateObject(int)
public void addAcetate(Acetate newAcetate)
Point point = new Point();
point.setX(-125.0);
point.setY(45.0);
Acetate acetate = new Acetate();
acetate.setAcetateElement(point);
acetateLayer.addAcetate(acetate);
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |