|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReferenceSystem
Provides access to basic properties and methods provided by every reference system (grids, graticules, etc).
| Method Summary | |
|---|---|
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 |
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. |
| Method Detail |
|---|
String getName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setName(String gridName)
throws IOException,
AutomationException
gridName - The gridName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isVisible()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setVisible(boolean visible)
throws IOException,
AutomationException
visible - The visible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGridLabel getLabelFormat()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setLabelFormat(IGridLabel format)
throws IOException,
AutomationException
format - A reference to a com.esri.arcgis.carto.IGridLabel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setDefaults(IMapFrame pMapFrame)
throws IOException,
AutomationException
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.
void generateGraphics(IMapFrame pMapFrame,
IGraphicsContainer graphicsContainer)
throws IOException,
AutomationException
pMapFrame - 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.
void prepareForOutput(int hDC,
int dpi,
tagRECT pixelBounds,
IMapFrame pMapFrame)
throws IOException,
AutomationException
hDC - The hDC (A COM typedef) (in)dpi - The dpi (in)pixelBounds - A Structure: com.esri.arcgis.system.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.
void draw(IDisplay display,
IMapFrame pMapFrame)
throws IOException,
AutomationException
display - 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.
void queryBounds(IDisplay pDisplay,
IMapFrame pMapFrame,
IEnvelope bounds)
throws IOException,
AutomationException
pDisplay - 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.
void boundsChanged()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||