|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.AlternatingScaleBar
public class AlternatingScaleBar
A map surround for displaying a single alternating scale bar.
Constructor Summary | |
---|---|
AlternatingScaleBar()
Constructs a AlternatingScaleBar using ArcGIS Engine. |
|
AlternatingScaleBar(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AlternatingScaleBar theAlternatingScaleBar = (AlternatingScaleBar) obj; |
Method Summary | |
---|---|
void |
addIMapSurroundEventsListener(IMapSurroundEvents theListener)
addIMapSurroundEventsListener. |
boolean |
applies(Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
Object |
apply(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(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 |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
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(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. |
IColor |
getBarColor()
Color used to draw the bar. |
double |
getBarHeight()
Height of the bar in points (1/72 inch). |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getCurrent(Object pUnk)
The object currently being used. |
double |
getDivision()
Number of units in one major division. |
double |
getDivisionMarkHeight()
Height of division marks in points (1/72 inch). |
ILineSymbol |
getDivisionMarkSymbol()
Symbol used to draw the division marks. |
short |
getDivisions()
Total number of divisions (including those before zero). |
short |
getDivisionsBeforeZero()
Number of divisions to the left of zero. |
IFillSymbol |
getFillSymbol1()
Symbol used to draw the bar. |
IFillSymbol |
getFillSymbol2()
Symbol used to draw the bar. |
IEnumElement |
getGraphics(IDisplay display,
Object data)
Graphic elements that are used to render this object. |
int |
getIcon()
Icon used to represent the map surround. |
int |
getLabelFrequency()
The label style indicating which marks are labeled. |
double |
getLabelGap()
Vertical gap between the bar and the labels in points (1/72 inch). |
int |
getLabelPosition()
Vertical positioning of the mark labels. |
ITextSymbol |
getLabelSymbol()
Symbol used to draw the labels. |
IMap |
getMap()
The parent map. |
int |
getMarkFrequency()
Mark frequency. |
int |
getMarkPosition()
Vertical positioning of the marks relative to the bar. |
String |
getName()
Name of the map surround. |
INumberFormat |
getNumberFormat()
Number format. |
int |
getResizeHint()
Indicates what happens when scale bar is resized. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getSubdivisionMarkHeight()
Height of subdivision marks in points (1/72 inch). |
ILineSymbol |
getSubdivisionMarkSymbol()
Symbol used to draw the subdivision marks. |
short |
getSubdivisions()
Number of subdivisions per major division. |
String |
getUnitLabel()
The unit label. |
double |
getUnitLabelGap()
Gap between the scale bar and the unit label in points (1/72 inch). |
int |
getUnitLabelPosition()
Vertical positioning of the unit label. |
ITextSymbol |
getUnitLabelSymbol()
Unit label symbol. |
int |
getUnits()
The units reported. |
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(ObjectInput in)
|
void |
refresh()
Makes sure the latest updates are refected the next time the Map Surround is drawn. |
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 |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setBarColor(IColor color)
Color used to draw the bar. |
void |
setBarHeight(double points)
Height of the bar in points (1/72 inch). |
void |
setDivision(double units)
Number of units in one major division. |
void |
setDivisionMarkHeight(double points)
Height of division marks in points (1/72 inch). |
void |
setDivisionMarkSymbol(ILineSymbol symbol)
Symbol used to draw the division marks. |
void |
setDivisions(short count)
Total number of divisions (including those before zero). |
void |
setDivisionsBeforeZero(short count)
Number of divisions to the left of zero. |
void |
setFillSymbol1(IFillSymbol symbol)
Symbol used to draw the bar. |
void |
setFillSymbol2(IFillSymbol symbol)
Symbol used to draw the bar. |
void |
setFixedAspectRatio(boolean flag)
Indicates if the bounds has a fixed aspect ratio. |
void |
setLabelFrequency(int labelFrequency)
The label style indicating which marks are labeled. |
void |
setLabelGap(double points)
Vertical gap between the bar and the labels in points (1/72 inch). |
void |
setLabelPosition(int position)
Vertical positioning of the mark labels. |
void |
setLabelSymbol(ITextSymbol symbol)
Symbol used to draw the labels. |
void |
setMapByRef(IMap map)
The parent map. |
void |
setMarkFrequency(int frequency)
Mark frequency. |
void |
setMarkPosition(int position)
Vertical positioning of the marks relative to the bar. |
void |
setName(String name)
Name of the map surround. |
void |
setNumberFormat(INumberFormat format)
Number format. |
void |
setResizeHint(int hint)
Indicates what happens when scale bar is resized. |
void |
setSubdivisionMarkHeight(double points)
Height of subdivision marks in points (1/72 inch). |
void |
setSubdivisionMarkSymbol(ILineSymbol symbol)
Symbol used to draw the subdivision marks. |
void |
setSubdivisions(short units)
Number of subdivisions per major division. |
void |
setUnitLabel(String unitLabel)
The unit label. |
void |
setUnitLabelGap(double points)
Gap between the scale bar and the unit label in points (1/72 inch). |
void |
setUnitLabelPosition(int position)
Vertical positioning of the unit label. |
void |
setUnitLabelSymbol(ITextSymbol symbol)
Unit label symbol. |
void |
setUnits(int units)
The units reported. |
void |
unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent)
Notifies clients when the units are updated. |
void |
useMapSettings()
Sets division and units based on map. |
void |
visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent)
Notifies clients when the visible bounds is updated. |
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 AlternatingScaleBar() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AlternatingScaleBar(Object obj) throws IOException
AlternatingScaleBar theAlternatingScaleBar = (AlternatingScaleBar) obj;
obj
to AlternatingScaleBar
.
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 void addIMapSurroundEventsListener(IMapSurroundEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.carto.IMapSurroundEvents interface.
IOException
- If there are communications problems.public void removeIMapSurroundEventsListener(IMapSurroundEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.carto.IMapSurroundEvents interface.
IOException
- If there are communications problems.public double getDivision() throws IOException, AutomationException
getDivision
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDivision(double units) throws IOException, AutomationException
setDivision
in interface IScaleBar
units
- The units (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDivisions() throws IOException, AutomationException
getDivisions
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDivisions(short count) throws IOException, AutomationException
setDivisions
in interface IScaleBar
count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDivisionsBeforeZero() throws IOException, AutomationException
getDivisionsBeforeZero
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDivisionsBeforeZero(short count) throws IOException, AutomationException
setDivisionsBeforeZero
in interface IScaleBar
count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getSubdivisions() throws IOException, AutomationException
getSubdivisions
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubdivisions(short units) throws IOException, AutomationException
setSubdivisions
in interface IScaleBar
units
- The units (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUnits() throws IOException, AutomationException
getUnits
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnits(int units) throws IOException, AutomationException
setUnits
in interface IScaleBar
units
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getUnitLabel() throws IOException, AutomationException
getUnitLabel
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnitLabel(String unitLabel) throws IOException, AutomationException
setUnitLabel
in interface IScaleBar
unitLabel
- The unitLabel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUnitLabelPosition() throws IOException, AutomationException
getUnitLabelPosition
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnitLabelPosition(int position) throws IOException, AutomationException
setUnitLabelPosition
in interface IScaleBar
position
- A com.esri.arcgis.carto.esriScaleBarPos constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getUnitLabelGap() throws IOException, AutomationException
getUnitLabelGap
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnitLabelGap(double points) throws IOException, AutomationException
setUnitLabelGap
in interface IScaleBar
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITextSymbol getUnitLabelSymbol() throws IOException, AutomationException
getUnitLabelSymbol
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnitLabelSymbol(ITextSymbol symbol) throws IOException, AutomationException
setUnitLabelSymbol
in interface IScaleBar
symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLabelFrequency() throws IOException, AutomationException
getLabelFrequency
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelFrequency(int labelFrequency) throws IOException, AutomationException
setLabelFrequency
in interface IScaleBar
labelFrequency
- A com.esri.arcgis.carto.esriScaleBarFrequency constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INumberFormat getNumberFormat() throws IOException, AutomationException
getNumberFormat
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumberFormat(INumberFormat format) throws IOException, AutomationException
setNumberFormat
in interface IScaleBar
format
- A reference to a com.esri.arcgis.system.INumberFormat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLabelPosition() throws IOException, AutomationException
getLabelPosition
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelPosition(int position) throws IOException, AutomationException
setLabelPosition
in interface IScaleBar
position
- A com.esri.arcgis.carto.esriVertPosEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLabelGap() throws IOException, AutomationException
getLabelGap
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelGap(double points) throws IOException, AutomationException
setLabelGap
in interface IScaleBar
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITextSymbol getLabelSymbol() throws IOException, AutomationException
getLabelSymbol
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelSymbol(ITextSymbol symbol) throws IOException, AutomationException
setLabelSymbol
in interface IScaleBar
symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getBarColor() throws IOException, AutomationException
getBarColor
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBarColor(IColor color) throws IOException, AutomationException
setBarColor
in interface IScaleBar
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 double getBarHeight() throws IOException, AutomationException
getBarHeight
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBarHeight(double points) throws IOException, AutomationException
setBarHeight
in interface IScaleBar
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getResizeHint() throws IOException, AutomationException
getResizeHint
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResizeHint(int hint) throws IOException, AutomationException
setResizeHint
in interface IScaleBar
hint
- A com.esri.arcgis.carto.esriScaleBarResizeHint constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void useMapSettings() throws IOException, AutomationException
useMapSettings
in interface IScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap() throws IOException, AutomationException
getMap
in interface IMapSurround
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapByRef(IMap map) throws IOException, AutomationException
setMapByRef
in interface IMapSurround
map
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IMapSurround
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IMapSurround
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIcon() throws IOException, AutomationException
getIcon
in interface IMapSurround
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryBounds(IDisplay display, IEnvelope oldBounds, IEnvelope newBounds) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void fitToBounds(IDisplay display, IEnvelope bounds, boolean[] changed) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delayEvents(boolean delay) throws IOException, AutomationException
delayEvents
in interface IMapSurround
delay
- The delay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IMapSurround
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay display, ITrackCancel trackCancel, IEnvelope bounds) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFillSymbol getFillSymbol1() throws IOException, AutomationException
getFillSymbol1
in interface IDoubleFillScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFillSymbol1(IFillSymbol symbol) throws IOException, AutomationException
setFillSymbol1
in interface IDoubleFillScaleBar
symbol
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFillSymbol getFillSymbol2() throws IOException, AutomationException
getFillSymbol2
in interface IDoubleFillScaleBar
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFillSymbol2(IFillSymbol symbol) throws IOException, AutomationException
setFillSymbol2
in interface IDoubleFillScaleBar
symbol
- A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineSymbol getDivisionMarkSymbol() throws IOException, AutomationException
getDivisionMarkSymbol
in interface IScaleMarks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDivisionMarkSymbol(ILineSymbol symbol) throws IOException, AutomationException
setDivisionMarkSymbol
in interface IScaleMarks
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineSymbol getSubdivisionMarkSymbol() throws IOException, AutomationException
getSubdivisionMarkSymbol
in interface IScaleMarks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubdivisionMarkSymbol(ILineSymbol symbol) throws IOException, AutomationException
setSubdivisionMarkSymbol
in interface IScaleMarks
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDivisionMarkHeight() throws IOException, AutomationException
getDivisionMarkHeight
in interface IScaleMarks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDivisionMarkHeight(double points) throws IOException, AutomationException
setDivisionMarkHeight
in interface IScaleMarks
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSubdivisionMarkHeight() throws IOException, AutomationException
getSubdivisionMarkHeight
in interface IScaleMarks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSubdivisionMarkHeight(double points) throws IOException, AutomationException
setSubdivisionMarkHeight
in interface IScaleMarks
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMarkPosition() throws IOException, AutomationException
getMarkPosition
in interface IScaleMarks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkPosition(int position) throws IOException, AutomationException
setMarkPosition
in interface IScaleMarks
position
- A com.esri.arcgis.carto.esriVertPosEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMarkFrequency() throws IOException, AutomationException
getMarkFrequency
in interface IScaleMarks
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkFrequency(int frequency) throws IOException, AutomationException
setMarkFrequency
in interface IScaleMarks
frequency
- A com.esri.arcgis.carto.esriScaleBarFrequency constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void querySize(double[] widthPoints, double[] heightPoints) throws IOException, AutomationException
querySize
in interface IQuerySize
widthPoints
- The widthPoints (in/out: use single element array)heightPoints
- The heightPoints (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFixedAspectRatio() throws IOException, AutomationException
isFixedAspectRatio
in interface IBoundsProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFixedAspectRatio(boolean flag) throws IOException, AutomationException
setFixedAspectRatio
in interface IBoundsProperties
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFixedSize() throws IOException, AutomationException
isFixedSize
in interface IBoundsProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumElement getGraphics(IDisplay display, Object data) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(Object pUnk) throws IOException, AutomationException
Applies indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
applies
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(Object pUnk) throws IOException, AutomationException
CanApply indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
canApply
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getCurrent(Object pUnk) throws IOException, AutomationException
getCurrent
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object apply(Object newObject) throws IOException, AutomationException
Apply will apply the specified object to the current object. For instance, I might apply a Color object to my RectangleElement. When I execute Apply, the object I replace (the old object) is returned.
Use the Applies and CanApply methods to determine if an Apply can be used on an object.
apply
in interface IPropertySupport
newObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent) throws IOException, AutomationException
boundsUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent) throws IOException, AutomationException
visibleBoundsUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent) throws IOException, AutomationException
deviceFrameUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent) throws IOException, AutomationException
resolutionUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent) throws IOException, AutomationException
rotationUpdated
in interface ITransformEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent) throws IOException, AutomationException
unitsUpdated
in interface ITransformEvents
theEvent
- The event
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 void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (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 |