|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.BasicPlacedObject
public class BasicPlacedObject
Placed object handed out by the standard label engine.
| Constructor Summary | |
|---|---|
BasicPlacedObject(Object obj)
Construct a BasicPlacedObject using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
double |
getAngle()
Angle for the placed object. |
_WKSPoint |
getAreaCentroid()
The centroid of the polygon shape. |
int |
getClassIndex()
Class index of the placed object. |
IGeometry |
getControlShape()
Control shape of the placed object. |
_WKSPoint |
getControlShapeEndPoint()
The end point of the control shape. |
int |
getFeatureId()
FeatureID associated with the placed object. |
String |
getLabel()
Labeling string for the placed object. |
double |
getLabelHeight()
Height of the label. |
double |
getLabelWidth()
Width of the label. |
int |
getObjectType()
Type of the placed object. |
int |
getPlacementCode()
Code that indicates success/failure of placement. |
String |
getPlacementMessage()
Placement result message. |
int |
hashCode()
the hashcode for this object |
boolean |
isLabelInsidePolygon()
Indicates whether the label is completely inside the polygons. |
void |
setClassIndex(int index)
Class index of the placed object. |
void |
setControlShape(IGeometry shape)
Control shape of the placed object. |
void |
setFeatureId(int featureId)
FeatureID associated with the placed object. |
void |
setLabel(String label)
Labeling string for the placed object. |
void |
setObjectType(int type)
Type of the placed object. |
void |
setPlacementCode(int placementCode)
Code that indicates success/failure of placement. |
void |
setPlacementMessage(String message)
Placement result message. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public BasicPlacedObject(Object obj)
throws IOException
obj to BasicPlacedObject. *
BasicPlacedObject o = (BasicPlacedObject)obj; // will not work
BasicPlacedObject o = new BasicPlacedObject(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
BasicPlacedObject theBasicPlacedObject = (BasicPlacedObject) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getObjectType()
throws IOException,
AutomationException
getObjectType in interface IPlacedObjectgetObjectType in interface IPlacedObject2getObjectType in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setObjectType(int type)
throws IOException,
AutomationException
setObjectType in interface IPlacedObjectsetObjectType in interface IPlacedObject2setObjectType in interface IPlacedObject3type - A com.esri.arcgis.carto.esriPlacedObjectType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureId()
throws IOException,
AutomationException
getFeatureId in interface IPlacedObjectgetFeatureId in interface IPlacedObject2getFeatureId in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureId(int featureId)
throws IOException,
AutomationException
setFeatureId in interface IPlacedObjectsetFeatureId in interface IPlacedObject2setFeatureId in interface IPlacedObject3featureId - The featureId (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getControlShape()
throws IOException,
AutomationException
getControlShape in interface IPlacedObjectgetControlShape in interface IPlacedObject2getControlShape in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setControlShape(IGeometry shape)
throws IOException,
AutomationException
setControlShape in interface IPlacedObjectsetControlShape in interface IPlacedObject2setControlShape in interface IPlacedObject3shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabel()
throws IOException,
AutomationException
getLabel in interface IPlacedObjectgetLabel in interface IPlacedObject2getLabel in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabel(String label)
throws IOException,
AutomationException
setLabel in interface IPlacedObjectsetLabel in interface IPlacedObject2setLabel in interface IPlacedObject3label - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getClassIndex()
throws IOException,
AutomationException
getClassIndex in interface IPlacedObjectgetClassIndex in interface IPlacedObject2getClassIndex in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClassIndex(int index)
throws IOException,
AutomationException
setClassIndex in interface IPlacedObjectsetClassIndex in interface IPlacedObject2setClassIndex in interface IPlacedObject3index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPlacementCode()
throws IOException,
AutomationException
getPlacementCode in interface IPlacedObjectgetPlacementCode in interface IPlacedObject2getPlacementCode in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPlacementCode(int placementCode)
throws IOException,
AutomationException
setPlacementCode in interface IPlacedObjectsetPlacementCode in interface IPlacedObject2setPlacementCode in interface IPlacedObject3placementCode - A com.esri.arcgis.carto.esriPlacementCode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getPlacementMessage()
throws IOException,
AutomationException
getPlacementMessage in interface IPlacedObjectgetPlacementMessage in interface IPlacedObject2getPlacementMessage in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPlacementMessage(String message)
throws IOException,
AutomationException
setPlacementMessage in interface IPlacedObjectsetPlacementMessage in interface IPlacedObject2setPlacementMessage in interface IPlacedObject3message - The message (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngle()
throws IOException,
AutomationException
getAngle in interface IPlacedObjectgetAngle in interface IPlacedObject2getAngle in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public _WKSPoint getControlShapeEndPoint()
throws IOException,
AutomationException
getControlShapeEndPoint in interface IPlacedObject2getControlShapeEndPoint in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLabelWidth()
throws IOException,
AutomationException
getLabelWidth in interface IPlacedObject2getLabelWidth in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLabelHeight()
throws IOException,
AutomationException
getLabelHeight in interface IPlacedObject2getLabelHeight in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public _WKSPoint getAreaCentroid()
throws IOException,
AutomationException
getAreaCentroid in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLabelInsidePolygon()
throws IOException,
AutomationException
isLabelInsidePolygon in interface IPlacedObject3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||