|
|||||||||
| 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.controls.IARPageLayoutProxy
public class IARPageLayoutProxy
Provides access to members that control the ARPageLayout.
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IARPageLayoutProxy()
|
|
IARPageLayoutProxy(Object obj)
|
protected |
IARPageLayoutProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
centerAt(double xCoord,
double yCoord)
Moves the center of the page layout to the specified point. |
IARMap |
getARMap(int index)
The map at the specified index. |
int |
getARMapCount()
The number of maps in the page layout's map collection. |
Object |
getCustomProperty()
A property to associate data with an object. |
void |
getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The visible extent of the page layout. |
IARMap |
getFocusARMap()
The current focus map that the current tool acts upon. |
double |
getHeight()
The height of the page. |
Object |
getInternalObject()
The internal ArcObjects IPageLayout object. |
int |
getMapExtentType(IARMap pMap)
The extent type of the specified map. |
int |
getPageUnits()
The units of the page and all associated coordinates. |
String |
getTitle()
The title in the page layout. |
double |
getWidth()
The width of the page. |
double |
getZoomPercent()
The zoom percent (100 means 1:1, 200 means twice the normal size). |
IARMap |
hitTestMap(int x,
int y)
Returns the first map present in the page layout at the specified coordinates. |
boolean |
isCanRedoExtent()
Indicates if there is a page layout extent that can be redone. |
boolean |
isCanUndoExtent()
Indicates if there is a page layout extent that can be undone. |
boolean |
isHasTitle()
Indicates if the page layout has a title that can be changed. |
void |
pan(int direction,
double screenPercentage)
Pans the page layout by a factor in a specified direction. |
void |
readExternal(ObjectInput in)
|
void |
redoExtent()
Redo the next page layout extent in the stack. |
void |
refresh(boolean refreshNow)
Redraws the page layout display area. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setCustomProperty(Object pVal)
A property to associate data with an object. |
void |
setExtent(double xMin,
double yMin,
double xMax,
double yMax)
Sets the visible extent of the page layout. |
void |
setFocusARMapByRef(IARMap ppARMap)
The current focus map that the current tool acts upon. |
void |
setPageUnits(int units)
The units of the page and all associated coordinates. |
void |
setTitle(String currentTitle)
The title in the page layout. |
void |
toPagePoint(int x,
int y,
double[] xCoord,
double[] yCoord)
Converts a point in device coordinates (typically pixels) to coordinates in page units. |
void |
undoExtent()
Undo to the previous page layout extent in the stack. |
void |
writeExternal(ObjectOutput out)
|
void |
zoomIn(double factor)
Zooms in on the page layout by a factor. |
void |
zoomOut(double factor)
Zooms out on the page layout by a factor. |
void |
zoomToPercent(int percent)
Magnifies the page by a percentage (100 means actual size, 200 means twice the normal size). |
void |
zoomToWholePage()
Zooms to the whole page. |
void |
zoomToWidth()
Fits the width of the page into the page layout display area. |
| 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 IARPageLayoutProxy()
public IARPageLayoutProxy(Object obj)
throws IOException
IOException
protected IARPageLayoutProxy(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 void setExtent(double xMin,
double yMin,
double xMax,
double yMax)
throws IOException,
AutomationException
setExtent in interface IARPageLayoutxMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
getExtent in interface IARPageLayoutxMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFocusARMapByRef(IARMap ppARMap)
throws IOException,
AutomationException
setFocusARMapByRef in interface IARPageLayoutppARMap - A reference to a com.esri.arcgis.controls.IARMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARMap getFocusARMap()
throws IOException,
AutomationException
getFocusARMap in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getARMapCount()
throws IOException,
AutomationException
getARMapCount in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARMap getARMap(int index)
throws IOException,
AutomationException
getARMap in interface IARPageLayoutindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPageUnits(int units)
throws IOException,
AutomationException
setPageUnits in interface IARPageLayoutunits - A com.esri.arcgis.controls.esriARUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPageUnits()
throws IOException,
AutomationException
getPageUnits in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZoomPercent()
throws IOException,
AutomationException
getZoomPercent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToPercent(int percent)
throws IOException,
AutomationException
zoomToPercent in interface IARPageLayoutpercent - The percent (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToWholePage()
throws IOException,
AutomationException
zoomToWholePage in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToWidth()
throws IOException,
AutomationException
zoomToWidth in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(boolean refreshNow)
throws IOException,
AutomationException
refresh in interface IARPageLayoutrefreshNow - The refreshNow (in, optional, pass false if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMapExtentType(IARMap pMap)
throws IOException,
AutomationException
getMapExtentType in interface IARPageLayoutpMap - A reference to a com.esri.arcgis.controls.IARMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARMap hitTestMap(int x,
int y)
throws IOException,
AutomationException
hitTestMap in interface IARPageLayoutx - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomIn(double factor)
throws IOException,
AutomationException
zoomIn in interface IARPageLayoutfactor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomOut(double factor)
throws IOException,
AutomationException
zoomOut in interface IARPageLayoutfactor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void pan(int direction,
double screenPercentage)
throws IOException,
AutomationException
pan in interface IARPageLayoutdirection - A com.esri.arcgis.controls.esriARDirection constant (in)screenPercentage - The screenPercentage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void centerAt(double xCoord,
double yCoord)
throws IOException,
AutomationException
centerAt in interface IARPageLayoutxCoord - The xCoord (in)yCoord - The yCoord (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWidth()
throws IOException,
AutomationException
getWidth in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getHeight()
throws IOException,
AutomationException
getHeight in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void toPagePoint(int x,
int y,
double[] xCoord,
double[] yCoord)
throws IOException,
AutomationException
toPagePoint in interface IARPageLayoutx - The x (in)y - The y (in)xCoord - The xCoord (in/out: use single element array)yCoord - The yCoord (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanUndoExtent()
throws IOException,
AutomationException
isCanUndoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void undoExtent()
throws IOException,
AutomationException
undoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanRedoExtent()
throws IOException,
AutomationException
isCanRedoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void redoExtent()
throws IOException,
AutomationException
redoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getInternalObject()
throws IOException,
AutomationException
getInternalObject in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCustomProperty()
throws IOException,
AutomationException
getCustomProperty in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object pVal)
throws IOException,
AutomationException
setCustomProperty in interface IARPageLayoutpVal - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTitle(String currentTitle)
throws IOException,
AutomationException
setTitle in interface IARPageLayoutcurrentTitle - The currentTitle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTitle()
throws IOException,
AutomationException
getTitle in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasTitle()
throws IOException,
AutomationException
isHasTitle in interface IARPageLayoutIOException - 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 | ||||||||