|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.carto.IReferenceSystemProxy
public class IReferenceSystemProxy
Provides access to basic properties and methods provided by every reference system (grids, graticules, etc).
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IReferenceSystemProxy()
|
|
IReferenceSystemProxy(Object obj)
|
protected |
IReferenceSystemProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
boundsChanged()
Called when the extent of the parent map frame changes. |
void |
draw(IDisplay display,
IMapFrame pMapFrame)
Draws the map grid for a map frame to the given display. |
void |
generateGraphics(IMapFrame pMapFrame,
IGraphicsContainer graphicsContainer)
Generates graphic elements corresponding to the grid lines and stores them in the specified graphics container. |
IGridLabel |
getLabelFormat()
The format for reference labels. |
String |
getName()
The name of the map grid. |
boolean |
isVisible()
Indicates if the map grid is visible. |
void |
prepareForOutput(int hDC,
int dpi,
tagRECT pixelBounds,
IMapFrame pMapFrame)
Prepares the map grid for output to a device. |
void |
queryBounds(IDisplay pDisplay,
IMapFrame pMapFrame,
IEnvelope bounds)
The extent of the reference system in page space. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
setDefaults(IMapFrame pMapFrame)
Sets the properties of the map grid to default values. |
void |
setLabelFormat(IGridLabel format)
The format for reference labels. |
void |
setName(String gridName)
The name of the map grid. |
void |
setVisible(boolean visible)
Indicates if the map grid is visible. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IReferenceSystemProxy()
public IReferenceSystemProxy(Object obj)
throws IOException
IOException
protected IReferenceSystemProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public String getName()
throws IOException,
AutomationException
getName in interface IReferenceSystemIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String gridName)
throws IOException,
AutomationException
setName in interface IReferenceSystemgridName - The gridName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws IOException,
AutomationException
isVisible in interface IReferenceSystemIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisible(boolean visible)
throws IOException,
AutomationException
setVisible in interface IReferenceSystemvisible - The visible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGridLabel getLabelFormat()
throws IOException,
AutomationException
getLabelFormat in interface IReferenceSystemIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelFormat(IGridLabel format)
throws IOException,
AutomationException
setLabelFormat in interface IReferenceSystemformat - A reference to a com.esri.arcgis.carto.IGridLabel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaults(IMapFrame pMapFrame)
throws IOException,
AutomationException
setDefaults in interface IReferenceSystempMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void generateGraphics(IMapFrame pMapFrame,
IGraphicsContainer graphicsContainer)
throws IOException,
AutomationException
generateGraphics in interface IReferenceSystempMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)graphicsContainer - A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void prepareForOutput(int hDC,
int dpi,
tagRECT pixelBounds,
IMapFrame pMapFrame)
throws IOException,
AutomationException
prepareForOutput in interface IReferenceSystemhDC - The hDC (A COM typedef) (in)dpi - The dpi (in)pixelBounds - A Structure: com.esri.arcgis.display.tagRECT (in)pMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
IMapFrame pMapFrame)
throws IOException,
AutomationException
draw in interface IReferenceSystemdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)pMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBounds(IDisplay pDisplay,
IMapFrame pMapFrame,
IEnvelope bounds)
throws IOException,
AutomationException
queryBounds in interface IReferenceSystempDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)pMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (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 void boundsChanged()
throws IOException,
AutomationException
boundsChanged in interface IReferenceSystemIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||