|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MarkerNorthArrow
public class MarkerNorthArrow
COM Class 'MarkerNorthArrow'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A map surround for displaying a marker north arrow.' 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.INorthArrow |
---|
IID, IID7a3f91f1_b9e3_11d1_8756_0000f8751720, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.INorthArrow2 |
---|
IID, IID05270da7_fb6c_40e6_b1e6_7ec2c02b628c, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IMapSurround |
---|
IIDfe3115e9_ed6c_11d0_8683_0000f8751720 |
Fields inherited from interface com.esri.arcgis.carto.IMarkerNorthArrow |
---|
IID, IID7a3f91f3_b9e3_11d1_8756_0000f8751720, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IQuerySize |
---|
IID, IID4d582692_c52a_4287_9fcf_d6286c4775af, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IBoundsProperties |
---|
IID, IID7ad72c5d_eb8a_11d3_9314_00600802e603, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IGraphicsComposite |
---|
IID, IID969cde4a_82d4_11d2_87dd_0000f8751720, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPropertySupport |
---|
IID, IID8a11ad55_2f4f_11d3_9fa0_00c04f6bc6a5, 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 |
Fields inherited from interface com.esri.arcgis.system.IClone |
---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
Fields inherited from interface com.esri.arcgis.display.ITransformEvents |
---|
IID, IIDe6bdb001_4d35_11d0_98be_00805f7ced21, xxDummy |
Constructor Summary | |
---|---|
MarkerNorthArrow()
Constructs a MarkerNorthArrow using ArcGIS Engine. |
|
MarkerNorthArrow(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MarkerNorthArrow theMarkerNorthArrow = (MarkerNorthArrow) obj; |
Method Summary | |
---|---|
void |
addIMapSurroundEventsListener(IMapSurroundEvents theListener)
addIMapSurroundEventsListener. |
boolean |
applies(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
java.lang.Object |
apply(java.lang.Object newObject)
Applies the given property to the receiver and returns the old object. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent)
Notifies clients when the bounds is updated. |
boolean |
canApply(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
void |
delayEvents(boolean delay)
Used to batch operations together to minimize notifications. |
void |
deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent)
Notifies clients when the device frame is updated. |
void |
draw(IDisplay display,
ITrackCancel trackCancel,
IEnvelope bounds)
Draws the map surround into the specified display bounds. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
void |
fitToBounds(IDisplay display,
IEnvelope bounds,
boolean[] changed)
Adjusts the map surround to fit the bounds. |
double |
getAngle()
The counter-clockwise rotation of the north arrow in degrees. |
double |
getCalibrationAngle()
Calibration angle. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
IColor |
getColor()
Color used to draw the north arrow. |
java.lang.Object |
getCurrent(java.lang.Object pUnk)
The object currently being used. |
IEnumElement |
getGraphics(IDisplay display,
java.lang.Object data)
Graphic elements that are used to render this object. |
int |
getIcon()
Icon used to represent the map surround. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IMap |
getMap()
The parent map. |
IMarkerSymbol |
getMarkerSymbol()
Symbol used to draw the north arrow. |
java.lang.String |
getName()
Name of the map surround. |
int |
getNorthArrowType()
The type of north arrow. |
IPoint |
getReferenceLocation()
The point on the map where north is calculated. |
double |
getSize()
Size of the north arrow in points (1/72 inch). |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isFixedAspectRatio()
Indicates if the bounds has a fixed aspect ratio. |
boolean |
isFixedSize()
Indicates if size is determined by some other property like the symbol. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
void |
load(IStream pstm)
load |
void |
queryBounds(IDisplay display,
IEnvelope oldBounds,
IEnvelope newBounds)
Returns the bounds of the map surround. |
void |
querySize(double[] widthPoints,
double[] heightPoints)
Get the size in points. |
void |
readExternal(java.io.ObjectInput in)
|
void |
refresh()
Makes sure the latest updates are refected the next time the Map Surround is drawn. |
void |
release()
Release a MarkerNorthArrow. |
void |
removeIMapSurroundEventsListener(IMapSurroundEvents theListener)
removeIMapSurroundEventsListener. |
void |
resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent)
Notifies clients when the resolution is updated. |
void |
rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent)
Notifies clients when the rotation angle is updated. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setCalibrationAngle(double degrees)
Calibration angle. |
void |
setColor(IColor color)
Color used to draw the north arrow. |
void |
setFixedAspectRatio(boolean flag)
Indicates if the bounds has a fixed aspect ratio. |
void |
setMapByRef(IMap map)
The parent map. |
void |
setMarkerSymbol(IMarkerSymbol marker)
Symbol used to draw the north arrow. |
void |
setName(java.lang.String name)
Name of the map surround. |
void |
setNorthArrowType(int type)
The type of north arrow. |
void |
setReferenceLocationByRef(IPoint point)
The point on the map where north is calculated. |
void |
setSize(double pointSize)
Size of the north arrow in points (1/72 inch). |
void |
unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent)
Notifies clients when the units are updated. |
void |
visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent)
Notifies clients when the visible bounds is updated. |
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 MarkerNorthArrow() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MarkerNorthArrow(java.lang.Object obj) throws java.io.IOException
MarkerNorthArrow theMarkerNorthArrow = (MarkerNorthArrow) obj;
obj
to MarkerNorthArrow
.
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 addIMapSurroundEventsListener(IMapSurroundEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IMapSurroundEvents interface.
java.io.IOException
- If there are communications problems.public void removeIMapSurroundEventsListener(IMapSurroundEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IMapSurroundEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IColor getColor() throws java.io.IOException, AutomationException
getColor
in interface INorthArrow
getColor
in interface INorthArrow2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColor(IColor color) throws java.io.IOException, AutomationException
setColor
in interface INorthArrow
setColor
in interface INorthArrow2
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSize() throws java.io.IOException, AutomationException
getSize
in interface INorthArrow
getSize
in interface INorthArrow2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSize(double pointSize) throws java.io.IOException, AutomationException
setSize
in interface INorthArrow
setSize
in interface INorthArrow2
pointSize
- The pointSize (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 INorthArrow
getAngle
in interface INorthArrow2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getCalibrationAngle() throws java.io.IOException, AutomationException
getCalibrationAngle
in interface INorthArrow
getCalibrationAngle
in interface INorthArrow2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCalibrationAngle(double degrees) throws java.io.IOException, AutomationException
setCalibrationAngle
in interface INorthArrow
setCalibrationAngle
in interface INorthArrow2
degrees
- The degrees (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getReferenceLocation() throws java.io.IOException, AutomationException
getReferenceLocation
in interface INorthArrow
getReferenceLocation
in interface INorthArrow2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReferenceLocationByRef(IPoint point) throws java.io.IOException, AutomationException
setReferenceLocationByRef
in interface INorthArrow
setReferenceLocationByRef
in interface INorthArrow2
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap() throws java.io.IOException, AutomationException
getMap
in interface IMapSurround
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapByRef(IMap map) throws java.io.IOException, AutomationException
setMapByRef
in interface IMapSurround
map
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IMapSurround
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface IMapSurround
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIcon() throws java.io.IOException, AutomationException
getIcon
in interface IMapSurround
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBounds(IDisplay display, IEnvelope oldBounds, IEnvelope newBounds) throws java.io.IOException, AutomationException
queryBounds
in interface IMapSurround
display
- A reference to a com.esri.arcgis.display.IDisplay (in)oldBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)newBounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void fitToBounds(IDisplay display, IEnvelope bounds, boolean[] changed) throws java.io.IOException, AutomationException
fitToBounds
in interface IMapSurround
display
- A reference to a com.esri.arcgis.display.IDisplay (in)bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)changed
- The changed (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delayEvents(boolean delay) throws java.io.IOException, AutomationException
delayEvents
in interface IMapSurround
delay
- The delay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws java.io.IOException, AutomationException
refresh
in interface IMapSurround
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, ITrackCancel trackCancel, IEnvelope bounds) throws java.io.IOException, AutomationException
draw
in interface IMapSurround
display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)bounds
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNorthArrowType(int type) throws java.io.IOException, AutomationException
setNorthArrowType
in interface INorthArrow2
type
- A com.esri.arcgis.carto.esriNorthArrowType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNorthArrowType() throws java.io.IOException, AutomationException
getNorthArrowType
in interface INorthArrow2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerSymbol getMarkerSymbol() throws java.io.IOException, AutomationException
getMarkerSymbol
in interface IMarkerNorthArrow
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkerSymbol(IMarkerSymbol marker) throws java.io.IOException, AutomationException
setMarkerSymbol
in interface IMarkerNorthArrow
marker
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void querySize(double[] widthPoints, double[] heightPoints) throws java.io.IOException, AutomationException
querySize
in interface IQuerySize
widthPoints
- The widthPoints (in/out: use single element array)heightPoints
- The heightPoints (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFixedAspectRatio() throws java.io.IOException, AutomationException
isFixedAspectRatio
in interface IBoundsProperties
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFixedAspectRatio(boolean flag) throws java.io.IOException, AutomationException
setFixedAspectRatio
in interface IBoundsProperties
flag
- The flag (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFixedSize() throws java.io.IOException, AutomationException
isFixedSize
in interface IBoundsProperties
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 IEnumElement getGraphics(IDisplay display, java.lang.Object data) throws java.io.IOException, AutomationException
getGraphics
in interface IGraphicsComposite
display
- A reference to a com.esri.arcgis.display.IDisplay (in)data
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(java.lang.Object pUnk) throws java.io.IOException, AutomationException
applies
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(java.lang.Object pUnk) throws java.io.IOException, AutomationException
canApply
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCurrent(java.lang.Object pUnk) throws java.io.IOException, AutomationException
getCurrent
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object apply(java.lang.Object newObject) throws java.io.IOException, AutomationException
apply
in interface IPropertySupport
newObject
- A reference to another Object (IUnknown) (in)
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 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 IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent) throws java.io.IOException, AutomationException
boundsUpdated
in interface ITransformEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent) throws java.io.IOException, AutomationException
visibleBoundsUpdated
in interface ITransformEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent) throws java.io.IOException, AutomationException
deviceFrameUpdated
in interface ITransformEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent) throws java.io.IOException, AutomationException
resolutionUpdated
in interface ITransformEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent) throws java.io.IOException, AutomationException
rotationUpdated
in interface ITransformEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent) throws java.io.IOException, AutomationException
unitsUpdated
in interface ITransformEvents
theEvent
- The event
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 |