|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.BasicPlacedObject
public class BasicPlacedObject
COM Class 'BasicPlacedObject'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Placed object handed out by the standard label engine.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.carto.IPlacedObject |
---|
IID, IID3141f2f2_38e2_11d1_8809_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IPlacedObject2 |
---|
IID, IIDbddfa62b_1810_4e9c_85c3_2c2b50ea70b6, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IPlacedObject3 |
---|
IID, IID2f68dd01_d7e6_4e21_8ef9_14165ef00552, xxDummy |
Constructor Summary | |
---|---|
BasicPlacedObject(java.lang.Object obj)
Construct a BasicPlacedObject using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.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. |
java.lang.String |
getPlacementMessage()
Placement result message. |
int |
hashCode()
the hashcode for this object |
boolean |
isLabelInsidePolygon()
Indicates whether the label is completely inside the polygons. |
void |
release()
Release a BasicPlacedObject. |
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(java.lang.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(java.lang.String message)
Placement result message. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicPlacedObject(java.lang.Object obj) throws java.io.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
java.io.IOException
- if there are interop problems
BasicPlacedObject theBasicPlacedObject = (BasicPlacedObject) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getObjectType() throws java.io.IOException, AutomationException
getObjectType
in interface IPlacedObject
getObjectType
in interface IPlacedObject2
getObjectType
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjectType(int type) throws java.io.IOException, AutomationException
setObjectType
in interface IPlacedObject
setObjectType
in interface IPlacedObject2
setObjectType
in interface IPlacedObject3
type
- A com.esri.arcgis.carto.esriPlacedObjectType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFeatureId() throws java.io.IOException, AutomationException
getFeatureId
in interface IPlacedObject
getFeatureId
in interface IPlacedObject2
getFeatureId
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureId(int featureId) throws java.io.IOException, AutomationException
setFeatureId
in interface IPlacedObject
setFeatureId
in interface IPlacedObject2
setFeatureId
in interface IPlacedObject3
featureId
- The featureId (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getControlShape() throws java.io.IOException, AutomationException
getControlShape
in interface IPlacedObject
getControlShape
in interface IPlacedObject2
getControlShape
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setControlShape(IGeometry shape) throws java.io.IOException, AutomationException
setControlShape
in interface IPlacedObject
setControlShape
in interface IPlacedObject2
setControlShape
in interface IPlacedObject3
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLabel() throws java.io.IOException, AutomationException
getLabel
in interface IPlacedObject
getLabel
in interface IPlacedObject2
getLabel
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(java.lang.String label) throws java.io.IOException, AutomationException
setLabel
in interface IPlacedObject
setLabel
in interface IPlacedObject2
setLabel
in interface IPlacedObject3
label
- The label (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getClassIndex() throws java.io.IOException, AutomationException
getClassIndex
in interface IPlacedObject
getClassIndex
in interface IPlacedObject2
getClassIndex
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClassIndex(int index) throws java.io.IOException, AutomationException
setClassIndex
in interface IPlacedObject
setClassIndex
in interface IPlacedObject2
setClassIndex
in interface IPlacedObject3
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPlacementCode() throws java.io.IOException, AutomationException
getPlacementCode
in interface IPlacedObject
getPlacementCode
in interface IPlacedObject2
getPlacementCode
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlacementCode(int placementCode) throws java.io.IOException, AutomationException
setPlacementCode
in interface IPlacedObject
setPlacementCode
in interface IPlacedObject2
setPlacementCode
in interface IPlacedObject3
placementCode
- A com.esri.arcgis.carto.esriPlacementCode constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPlacementMessage() throws java.io.IOException, AutomationException
getPlacementMessage
in interface IPlacedObject
getPlacementMessage
in interface IPlacedObject2
getPlacementMessage
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlacementMessage(java.lang.String message) throws java.io.IOException, AutomationException
setPlacementMessage
in interface IPlacedObject
setPlacementMessage
in interface IPlacedObject2
setPlacementMessage
in interface IPlacedObject3
message
- The message (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngle() throws java.io.IOException, AutomationException
getAngle
in interface IPlacedObject
getAngle
in interface IPlacedObject2
getAngle
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public _WKSPoint getControlShapeEndPoint() throws java.io.IOException, AutomationException
getControlShapeEndPoint
in interface IPlacedObject2
getControlShapeEndPoint
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLabelWidth() throws java.io.IOException, AutomationException
getLabelWidth
in interface IPlacedObject2
getLabelWidth
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLabelHeight() throws java.io.IOException, AutomationException
getLabelHeight
in interface IPlacedObject2
getLabelHeight
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public _WKSPoint getAreaCentroid() throws java.io.IOException, AutomationException
getAreaCentroid
in interface IPlacedObject3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLabelInsidePolygon() throws java.io.IOException, AutomationException
isLabelInsidePolygon
in interface IPlacedObject3
java.io.IOException
- 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 |