|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.BasicOverposter
public class BasicOverposter
COM Class 'BasicOverposter'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'An engine that places labels for features using conflict detection.' 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 | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.carto.IOverposter |
---|
IID, IID3141f2f5_38e2_11d1_8809_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IOverposter2 |
---|
IID, IIDffec8117_ec4f_4329_bb7d_420453d29edd, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IOverposter3 |
---|
IID, IID75dddcde_ca45_49da_a5c3_7663e2977dd5, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IOverposter4 |
---|
IID, IID655ef2f1_880a_34bb_1dfa_7e00af2e442a, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Constructor Summary | |
---|---|
BasicOverposter()
Constructs a BasicOverposter using ArcGIS Engine. |
|
BasicOverposter(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. BasicOverposter theBasicOverposter = (BasicOverposter) obj; |
Method Summary | |
---|---|
void |
addBarriers(int weight,
IGeometryCollection barriers)
Adds a barrier object that placed objects must avoid. |
int |
addClass(IOverposterLayerProperties props)
Adds a class to the overposter and specifies its properties. |
int |
addClass(IOverposterLayerProperties props,
ITextSymbol symbol)
Adds a class to the overposter and specifies its properties. |
void |
addCurvedLabel(int classIndex,
java.lang.String label,
java.lang.Object widths,
java.lang.Object ascents,
java.lang.Object descents,
double fontHeight,
double fontDescent,
IGeometry controlShape,
int featureId,
ISymbol symbol)
Adds a curved label object to be placed. |
void |
addIBasicOverposterEventsListener(IBasicOverposterEvents theListener)
addIBasicOverposterEventsListener. |
void |
addLabel(int classIndex,
java.lang.String label,
double width,
double height,
IGeometry controlShape,
int featureId,
ISymbol symbol)
Adds a label object to be placed. |
void |
addLabel2(int classIndex,
java.lang.String label,
double width,
double height,
IGeometry controlShape,
int featureId,
ISymbol symbol,
double angle)
Adds a label object to be placed. |
void |
addSymbol(int classIndex,
ISymbol symbol,
IGeometry geometry,
int featureId)
Adds a symbol to be placed. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
int |
getCapabilities(ILayer layer)
Overposter capabilities for the specified layer. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getNumberOfPlacedLabels()
The number of unplaced labels. |
int |
getNumberOfUnplacedLabels()
The number of unplaced labels. |
int |
getNumClasses()
The number of classes. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
initialize(IEnvelope extent,
IDisplay display)
Initializes the overposter for drawing into the specified area of the map display. |
void |
initialize(IEnvelope extent,
IDisplay display,
IOverposterProperties pOverposterProps)
Initializes the overposter for drawing into the specified area of the map display. |
void |
insertClass(int index,
IOverposterLayerProperties props)
Inserts a class at a specific index, and specifies its peoperties. |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
nextPlaced(IPlacedObject[] object,
ITrackCancel trackCancel,
IStepProgressor stepProgressor)
The next object that was successfully placed. |
void |
nextUnplaced(IPlacedObject[] object)
The next object that was not successfully placed. |
void |
nextUnused(IPlacedObject[] object)
The next object that was not used. |
void |
placeObjects()
Places objects using the overposter. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a BasicOverposter. |
void |
releaseResources()
Releases current objects from memory. |
void |
removeClass(int classIndex)
Removes the class at the specified index from the overposter. |
void |
removeIBasicOverposterEventsListener(IBasicOverposterEvents theListener)
removeIBasicOverposterEventsListener. |
void |
resetClasses()
Removes all classes from the overposter. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public BasicOverposter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic BasicOverposter(java.lang.Object obj) throws java.io.IOException
BasicOverposter theBasicOverposter = (BasicOverposter) obj;
obj
to BasicOverposter
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
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 addIBasicOverposterEventsListener(IBasicOverposterEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IBasicOverposterEvents interface.
java.io.IOException
- If there are communications problems.public void removeIBasicOverposterEventsListener(IBasicOverposterEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IBasicOverposterEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getNumClasses() throws java.io.IOException, AutomationException
getNumClasses
in interface IOverposter
getNumClasses
in interface IOverposter2
getNumClasses
in interface IOverposter3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCapabilities(ILayer layer) throws java.io.IOException, AutomationException
getCapabilities
in interface IOverposter
getCapabilities
in interface IOverposter2
getCapabilities
in interface IOverposter3
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addClass(IOverposterLayerProperties props) throws java.io.IOException, AutomationException
addClass
in interface IOverposter
addClass
in interface IOverposter2
addClass
in interface IOverposter3
props
- A reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertClass(int index, IOverposterLayerProperties props) throws java.io.IOException, AutomationException
insertClass
in interface IOverposter
insertClass
in interface IOverposter2
insertClass
in interface IOverposter3
index
- The index (in)props
- A reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeClass(int classIndex) throws java.io.IOException, AutomationException
removeClass
in interface IOverposter
removeClass
in interface IOverposter2
removeClass
in interface IOverposter3
classIndex
- The classIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetClasses() throws java.io.IOException, AutomationException
resetClasses
in interface IOverposter
resetClasses
in interface IOverposter2
resetClasses
in interface IOverposter3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(IEnvelope extent, IDisplay display) throws java.io.IOException, AutomationException
initialize
in interface IOverposter
initialize
in interface IOverposter2
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addBarriers(int weight, IGeometryCollection barriers) throws java.io.IOException, AutomationException
addBarriers
in interface IOverposter
addBarriers
in interface IOverposter2
addBarriers
in interface IOverposter3
weight
- A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)barriers
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLabel(int classIndex, java.lang.String label, double width, double height, IGeometry controlShape, int featureId, ISymbol symbol) throws java.io.IOException, AutomationException
addLabel
in interface IOverposter
addLabel
in interface IOverposter2
addLabel
in interface IOverposter3
classIndex
- The classIndex (in)label
- The label (in)width
- The width (in)height
- The height (in)controlShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addCurvedLabel(int classIndex, java.lang.String label, java.lang.Object widths, java.lang.Object ascents, java.lang.Object descents, double fontHeight, double fontDescent, IGeometry controlShape, int featureId, ISymbol symbol) throws java.io.IOException, AutomationException
addCurvedLabel
in interface IOverposter
addCurvedLabel
in interface IOverposter2
addCurvedLabel
in interface IOverposter3
classIndex
- The classIndex (in)label
- The label (in)widths
- A Variant (in)ascents
- A Variant (in)descents
- A Variant (in)fontHeight
- The fontHeight (in)fontDescent
- The fontDescent (in)controlShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addSymbol(int classIndex, ISymbol symbol, IGeometry geometry, int featureId) throws java.io.IOException, AutomationException
addSymbol
in interface IOverposter
addSymbol
in interface IOverposter2
addSymbol
in interface IOverposter3
classIndex
- The classIndex (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void placeObjects() throws java.io.IOException, AutomationException
placeObjects
in interface IOverposter
placeObjects
in interface IOverposter2
placeObjects
in interface IOverposter3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void nextPlaced(IPlacedObject[] object, ITrackCancel trackCancel, IStepProgressor stepProgressor) throws java.io.IOException, AutomationException
nextPlaced
in interface IOverposter
nextPlaced
in interface IOverposter2
nextPlaced
in interface IOverposter3
object
- A reference to a com.esri.arcgis.carto.IPlacedObject (in/out: use single element array)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)stepProgressor
- A reference to a com.esri.arcgis.system.IStepProgressor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void nextUnplaced(IPlacedObject[] object) throws java.io.IOException, AutomationException
nextUnplaced
in interface IOverposter
nextUnplaced
in interface IOverposter2
nextUnplaced
in interface IOverposter3
object
- A reference to a com.esri.arcgis.carto.IPlacedObject (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void nextUnused(IPlacedObject[] object) throws java.io.IOException, AutomationException
nextUnused
in interface IOverposter
nextUnused
in interface IOverposter2
nextUnused
in interface IOverposter3
object
- A reference to a com.esri.arcgis.carto.IPlacedObject (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void releaseResources() throws java.io.IOException, AutomationException
releaseResources
in interface IOverposter
releaseResources
in interface IOverposter2
releaseResources
in interface IOverposter3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumberOfUnplacedLabels() throws java.io.IOException, AutomationException
getNumberOfUnplacedLabels
in interface IOverposter
getNumberOfUnplacedLabels
in interface IOverposter2
getNumberOfUnplacedLabels
in interface IOverposter3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumberOfPlacedLabels() throws java.io.IOException, AutomationException
getNumberOfPlacedLabels
in interface IOverposter
getNumberOfPlacedLabels
in interface IOverposter2
getNumberOfPlacedLabels
in interface IOverposter3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLabel2(int classIndex, java.lang.String label, double width, double height, IGeometry controlShape, int featureId, ISymbol symbol, double angle) throws java.io.IOException, AutomationException
addLabel2
in interface IOverposter2
addLabel2
in interface IOverposter3
classIndex
- The classIndex (in)label
- The label (in)width
- The width (in)height
- The height (in)controlShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)featureId
- The featureId (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)angle
- The angle (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(IEnvelope extent, IDisplay display, IOverposterProperties pOverposterProps) throws java.io.IOException, AutomationException
initialize
in interface IOverposter3
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)pOverposterProps
- A reference to a com.esri.arcgis.carto.IOverposterProperties (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addClass(IOverposterLayerProperties props, ITextSymbol symbol) throws java.io.IOException, AutomationException
addClass
in interface IOverposter4
props
- A reference to a com.esri.arcgis.carto.IOverposterLayerProperties (in)symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |