|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MaplexOverposterProperties
public class MaplexOverposterProperties
Properties that specify the label placement rules common to all layers, and associated methods.
Constructor Summary | |
---|---|
MaplexOverposterProperties()
Constructs a MaplexOverposterProperties using ArcGIS Engine. |
|
MaplexOverposterProperties(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MaplexOverposterProperties theMaplexOverposterProperties = (MaplexOverposterProperties) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
IUID |
getAnnotateFeatureID()
The UID of the required AnnotateFeature object. |
IUID |
getAnnotateMapID()
The UID of the required AnnotateMap object. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getConnectionType()
Provides the option to turn off line connection. |
IMaplexDictionaries |
getDictionaries()
Abbreviation dictionaries used by placement. |
IUID |
getFeatureLayerPropertiesID()
The UID of the required labeling LabelEngineLayerProperties object. |
double |
getInvertedLabelTolerance()
The angle at which the label orientation is switched. |
IUID |
getLabelStyleID()
The UID of the required LabelStyle object. |
String |
getName()
Name of the overposter. |
int |
getPlacementQuality()
The placement quality for text placement. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IColor |
getUnplacedLabelColor()
The color with which unplaced labels are drawn. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAllowBorderOverlap()
Indicates whether to allow labels to the cross the map border or not. |
void |
isDirty()
isDirty |
boolean |
isEnableConnection()
Indicates whether to turn off line connection. |
boolean |
isEnableDrawUnplaced()
Indicates whether the unplaced labels are drawn. |
boolean |
isEnableLabelCache()
Indicates whether labels are returned from cache or placement run. |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isLabelLargestPolygon()
Indicates whether to label only the largest polygon in a compound polygon feature. |
boolean |
isPauseLabeling()
Indicates whether to pause the drawing of labels. |
boolean |
isRotateLabelWithDataFrame()
Indicates if labels are rotated if the data frame is rotated. |
boolean |
isValidLicense(Object initData)
Indicates whether the the component is valid. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAllowBorderOverlap(boolean flag)
Indicates whether to allow labels to the cross the map border or not. |
void |
setConnectionType(int type)
Provides the option to turn off line connection. |
void |
setDictionaries(IMaplexDictionaries dictionaries)
Abbreviation dictionaries used by placement. |
void |
setEnableConnection(boolean flag)
Indicates whether to turn off line connection. |
void |
setEnableDrawUnplaced(boolean flag)
Indicates whether the unplaced labels are drawn. |
void |
setEnableLabelCache(boolean flag)
Indicates whether labels are returned from cache or placement run. |
void |
setInvertedLabelTolerance(double angle)
The angle at which the label orientation is switched. |
void |
setLabelLargestPolygon(boolean flag)
Indicates whether to label only the largest polygon in a compound polygon feature. |
void |
setPauseLabeling(boolean flag)
Indicates whether to pause the drawing of labels. |
void |
setPlacementQuality(int quality)
The placement quality for text placement. |
void |
setRotateLabelWithDataFrame(boolean flag)
Indicates if labels are rotated if the data frame is rotated. |
void |
setUnplacedLabelColorByRef(IColor color)
The color with which unplaced labels are drawn. |
void |
stackLabel(ILabelEngineLayerProperties layerprops,
boolean forceStack,
String labelIn,
boolean[] stacked,
String[] labelOut)
Provides the option to stack a label based on the current overposter properties. |
void |
translateLabel(ILabelEngineLayerProperties layerprops,
String labelIn,
boolean[] translated,
String[] labelOut)
Provides the option to translate a label based on the current overposter properties. |
void |
writeExternal(ObjectOutput out)
|
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 MaplexOverposterProperties() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic MaplexOverposterProperties(Object obj) throws IOException
MaplexOverposterProperties theMaplexOverposterProperties = (MaplexOverposterProperties) obj;
obj
to MaplexOverposterProperties
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getPlacementQuality() throws IOException, AutomationException
getPlacementQuality
in interface IMaplexOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlacementQuality(int quality) throws IOException, AutomationException
setPlacementQuality
in interface IMaplexOverposterProperties
quality
- A com.esri.arcgis.carto.esriMaplexPlacementQuality constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAllowBorderOverlap() throws IOException, AutomationException
isAllowBorderOverlap
in interface IMaplexOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAllowBorderOverlap(boolean flag) throws IOException, AutomationException
setAllowBorderOverlap
in interface IMaplexOverposterProperties
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMaplexDictionaries getDictionaries() throws IOException, AutomationException
getDictionaries
in interface IMaplexOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDictionaries(IMaplexDictionaries dictionaries) throws IOException, AutomationException
setDictionaries
in interface IMaplexOverposterProperties
dictionaries
- A reference to a com.esri.arcgis.carto.IMaplexDictionaries (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableConnection() throws IOException, AutomationException
isEnableConnection
in interface IMaplexOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableConnection(boolean flag) throws IOException, AutomationException
setEnableConnection
in interface IMaplexOverposterProperties
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getConnectionType() throws IOException, AutomationException
getConnectionType
in interface IMaplexOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConnectionType(int type) throws IOException, AutomationException
setConnectionType
in interface IMaplexOverposterProperties
type
- A com.esri.arcgis.carto.esriMaplexConnectionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLabelLargestPolygon() throws IOException, AutomationException
isLabelLargestPolygon
in interface IMaplexOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelLargestPolygon(boolean flag) throws IOException, AutomationException
setLabelLargestPolygon
in interface IMaplexOverposterProperties
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getAnnotateFeatureID() throws IOException, AutomationException
getAnnotateFeatureID
in interface IOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getAnnotateMapID() throws IOException, AutomationException
getAnnotateMapID
in interface IOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getFeatureLayerPropertiesID() throws IOException, AutomationException
getFeatureLayerPropertiesID
in interface IOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getLabelStyleID() throws IOException, AutomationException
getLabelStyleID
in interface IOverposterProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void translateLabel(ILabelEngineLayerProperties layerprops, String labelIn, boolean[] translated, String[] labelOut) throws IOException, AutomationException
translateLabel
in interface IOverposterOptions
layerprops
- A reference to a com.esri.arcgis.carto.ILabelEngineLayerProperties (in)labelIn
- The labelIn (in)translated
- The translated (out: use single element array)labelOut
- The labelOut (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stackLabel(ILabelEngineLayerProperties layerprops, boolean forceStack, String labelIn, boolean[] stacked, String[] labelOut) throws IOException, AutomationException
stackLabel
in interface IOverposterOptions
layerprops
- A reference to a com.esri.arcgis.carto.ILabelEngineLayerProperties (in)forceStack
- The forceStack (in)labelIn
- The labelIn (in)stacked
- The stacked (out: use single element array)labelOut
- The labelOut (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableLabelCache() throws IOException, AutomationException
isEnableLabelCache
in interface IOverposterOptions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableLabelCache(boolean flag) throws IOException, AutomationException
setEnableLabelCache
in interface IOverposterOptions
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableDrawUnplaced() throws IOException, AutomationException
isEnableDrawUnplaced
in interface IOverposterOptions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableDrawUnplaced(boolean flag) throws IOException, AutomationException
setEnableDrawUnplaced
in interface IOverposterOptions
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnplacedLabelColorByRef(IColor color) throws IOException, AutomationException
setUnplacedLabelColorByRef
in interface IOverposterOptions
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getUnplacedLabelColor() throws IOException, AutomationException
getUnplacedLabelColor
in interface IOverposterOptions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInvertedLabelTolerance(double angle) throws IOException, AutomationException
setInvertedLabelTolerance
in interface IOverposterOptions
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getInvertedLabelTolerance() throws IOException, AutomationException
getInvertedLabelTolerance
in interface IOverposterOptions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotateLabelWithDataFrame(boolean flag) throws IOException, AutomationException
setRotateLabelWithDataFrame
in interface IOverposterOptions
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRotateLabelWithDataFrame() throws IOException, AutomationException
isRotateLabelWithDataFrame
in interface IOverposterOptions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPauseLabeling() throws IOException, AutomationException
isPauseLabeling
in interface IOverposterOptions2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPauseLabeling(boolean flag) throws IOException, AutomationException
setPauseLabeling
in interface IOverposterOptions2
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValidLicense(Object initData) throws IOException, AutomationException
isValidLicense
in interface ILicensedComponent
initData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |