|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.controls.IPageLayoutControlProxy
public class IPageLayoutControlProxy
Internal use class Proxy for COM Interface 'IPageLayoutControl'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description: 'Provides access to members that control the PageLayoutControl.' 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 | |
---|---|
boolean |
noncastable
|
static java.lang.Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IPageLayoutControlProxy()
For internal use only |
|
IPageLayoutControlProxy(java.lang.Object obj)
|
protected |
IPageLayoutControlProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IPageLayoutControlProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IPageLayoutControlProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
aboutBox()
Displays a dialog of information about the PageLayoutControl. |
void |
addElement(IElement pElement,
java.lang.Object geometry,
java.lang.Object symbology,
java.lang.Object name,
int zOrder)
Adds the supplied element to the PageLayout, with optional geometry, symbolization, name and Z order. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
void |
centerAt(IPoint centerPoint)
Moves the center of the PageLayoutControl to the specified location. |
boolean |
checkMxFile(java.lang.String fileName)
Checks the specified filename to see if it is a map document that can be loaded into the PageLayoutControl. |
boolean |
esri_isEnabled()
Indicates whether the PageLayoutControl can respond to user generated events. |
void |
esri_setEnabled(boolean pbool)
Indicates whether the PageLayoutControl can respond to user generated events. |
IElement |
findElementByName(java.lang.String name,
int occurence)
Find the first element with the supplied name, supply an occurrence parameter to find the second, third and so on. |
void |
fromPagePoint(IPoint pt,
int[] x,
int[] y)
Converts a point on the page (in page units) to device co-ordinates (typically pixels). |
IActiveView |
getActiveView()
The active view of the PageLayout contained by the PageLayoutControl. |
int |
getAppearance()
The appearance of the PageLayoutControl. |
int |
getBackColor()
Background color of the PageLayoutControl. |
int |
getBorderStyle()
The border style of the PageLayoutControl. |
ITool |
getCurrentTool()
Current active tool for the PageLayoutControl. |
IEnvelope |
getExtent()
Current extent of the PageLayout in page units. |
IEnvelope |
getFullExtent()
Rectangular shape that encloses the PageLayout. |
IGraphicsContainer |
getGraphicsContainer()
The graphics container of the PageLayout object contained by the PageLayoutControl. |
int |
getHWnd()
Handle to the window associated with the PageLayoutControl. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the PageLayoutControl. |
IPage |
getPage()
The Page associated with the PageLayout contained by the PageLayoutControl. |
IPageLayout |
getPageLayout()
The PageLayout contained by the PageLayoutControl. |
IPrinter |
getPrinter()
The printer object used by the PageLayoutControl for printing. |
short |
getPrinterPageCount(double overlap)
The number of printer pages the PageLayout will cover. |
ITrackCancel |
getTrackCancel()
The object used by the PageLayoutControl to check if drawing has been aborted. |
boolean |
isOleDropEnabled()
Indicates if the PageLayoutControl will fire events when data is dragged over the control's window. |
void |
loadMxFile(java.lang.String fileName,
java.lang.Object password)
Loads the specified map document into the PageLayout contained by the PageLayoutControl. |
IElement |
locateFrontElement(double pageX,
double pageY,
double tolerance)
Locates an element at the given page co-ordinates. |
void |
pan()
Tracks the mouse while panning the PageLayoutControl. |
void |
printPageLayout(short startPage,
short endPage,
double overlap)
Sends the specified range of pages on the printer. |
void |
refresh(int phase,
java.lang.Object layerOrElement,
java.lang.Object envelope)
Redraws the PageLayout, optionally just redraw specified phases or envelope. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setAppearance(int pappearance)
The appearance of the PageLayoutControl. |
void |
setBackColor(int pclr)
Background color of the PageLayoutControl. |
void |
setBorderStyle(int pstyle)
The border style of the PageLayoutControl. |
void |
setCurrentToolByRef(ITool pTool)
Current active tool for the PageLayoutControl. |
void |
setExtent(IEnvelope extent)
Current extent of the PageLayout in page units. |
void |
setFullExtent(IEnvelope fullExtent)
Rectangular shape that encloses the PageLayout. |
void |
setMouseIconByRef(Picture ppMouseIcon)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int ppointer)
The mouse pointer displayed over the PageLayoutControl. |
void |
setOleDropEnabled(boolean value)
Indicates if the PageLayoutControl will fire events when data is dragged over the control's window. |
void |
setPageLayoutByRef(IPageLayout pPageLayout)
The PageLayout contained by the PageLayoutControl. |
void |
setPrinterByRef(IPrinter ppPrinter)
The printer object used by the PageLayoutControl for printing. |
void |
setTrackCancelByRef(ITrackCancel ppTrackCancel)
The object used by the PageLayoutControl to check if drawing has been aborted. |
IPoint |
toPagePoint(int x,
int y)
Converts device co-ordinates (typically pixels) to a point on the page (in page units). |
IEnvelope |
trackRectangle()
Rubber-bands a rectangle on the PageLayoutControl. |
void |
zoomToWholePage()
Changes the extent of the PageLayout to show a whole page. |
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IPageLayoutControlProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IPageLayoutControlProxy()
public IPageLayoutControlProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IPageLayoutControlProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IPageLayoutControlProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void setBackColor(int pclr) throws java.io.IOException, AutomationException
setBackColor
in interface IPageLayoutControl
pclr
- The pclr (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBackColor() throws java.io.IOException, AutomationException
getBackColor
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBorderStyle(int pstyle) throws java.io.IOException, AutomationException
setBorderStyle
in interface IPageLayoutControl
pstyle
- A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBorderStyle() throws java.io.IOException, AutomationException
getBorderStyle
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_setEnabled(boolean pbool) throws java.io.IOException, AutomationException
esri_setEnabled
in interface IPageLayoutControl
pbool
- The pbool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean esri_isEnabled() throws java.io.IOException, AutomationException
esri_isEnabled
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int pappearance) throws java.io.IOException, AutomationException
setAppearance
in interface IPageLayoutControl
pappearance
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws java.io.IOException, AutomationException
getAppearance
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int ppointer) throws java.io.IOException, AutomationException
setMousePointer
in interface IPageLayoutControl
ppointer
- A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMousePointer() throws java.io.IOException, AutomationException
getMousePointer
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture ppMouseIcon) throws java.io.IOException, AutomationException
setMouseIconByRef
in interface IPageLayoutControl
ppMouseIcon
- A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getMouseIcon() throws java.io.IOException, AutomationException
getMouseIcon
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws java.io.IOException, AutomationException
getHWnd
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void aboutBox() throws java.io.IOException, AutomationException
aboutBox
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITool getCurrentTool() throws java.io.IOException, AutomationException
getCurrentTool
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentToolByRef(ITool pTool) throws java.io.IOException, AutomationException
setCurrentToolByRef
in interface IPageLayoutControl
pTool
- A reference to a com.esri.arcgis.systemUI.ITool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPageLayout getPageLayout() throws java.io.IOException, AutomationException
getPageLayout
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPageLayoutByRef(IPageLayout pPageLayout) throws java.io.IOException, AutomationException
setPageLayoutByRef
in interface IPageLayoutControl
pPageLayout
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws java.io.IOException, AutomationException
getActiveView
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
getExtent
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtent(IEnvelope extent) throws java.io.IOException, AutomationException
setExtent
in interface IPageLayoutControl
extent
- 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 IEnvelope getFullExtent() throws java.io.IOException, AutomationException
getFullExtent
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFullExtent(IEnvelope fullExtent) throws java.io.IOException, AutomationException
setFullExtent
in interface IPageLayoutControl
fullExtent
- 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 IPage getPage() throws java.io.IOException, AutomationException
getPage
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGraphicsContainer getGraphicsContainer() throws java.io.IOException, AutomationException
getGraphicsContainer
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void printPageLayout(short startPage, short endPage, double overlap) throws java.io.IOException, AutomationException
printPageLayout
in interface IPageLayoutControl
startPage
- The startPage (in, optional, pass 1 if not required)endPage
- The endPage (in, optional, pass 0 if not required)overlap
- The overlap (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPrinter getPrinter() throws java.io.IOException, AutomationException
getPrinter
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPrinterByRef(IPrinter ppPrinter) throws java.io.IOException, AutomationException
setPrinterByRef
in interface IPageLayoutControl
ppPrinter
- A reference to a com.esri.arcgis.output.IPrinter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITrackCancel getTrackCancel() throws java.io.IOException, AutomationException
getTrackCancel
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrackCancelByRef(ITrackCancel ppTrackCancel) throws java.io.IOException, AutomationException
setTrackCancelByRef
in interface IPageLayoutControl
ppTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void pan() throws java.io.IOException, AutomationException
pan
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void centerAt(IPoint centerPoint) throws java.io.IOException, AutomationException
centerAt
in interface IPageLayoutControl
centerPoint
- 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 IEnvelope trackRectangle() throws java.io.IOException, AutomationException
trackRectangle
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addElement(IElement pElement, java.lang.Object geometry, java.lang.Object symbology, java.lang.Object name, int zOrder) throws java.io.IOException, AutomationException
addElement
in interface IPageLayoutControl
pElement
- A reference to a com.esri.arcgis.carto.IElement (in)geometry
- A Variant (in, optional, pass null if not required)symbology
- A Variant (in, optional, pass null if not required)name
- A Variant (in, optional, pass null if not required)zOrder
- The zOrder (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IElement locateFrontElement(double pageX, double pageY, double tolerance) throws java.io.IOException, AutomationException
locateFrontElement
in interface IPageLayoutControl
pageX
- The pageX (in)pageY
- The pageY (in)tolerance
- The tolerance (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IElement findElementByName(java.lang.String name, int occurence) throws java.io.IOException, AutomationException
findElementByName
in interface IPageLayoutControl
name
- The name (in)occurence
- The occurence (in, optional, pass 1 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadMxFile(java.lang.String fileName, java.lang.Object password) throws java.io.IOException, AutomationException
loadMxFile
in interface IPageLayoutControl
fileName
- The fileName (in)password
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOleDropEnabled() throws java.io.IOException, AutomationException
isOleDropEnabled
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOleDropEnabled(boolean value) throws java.io.IOException, AutomationException
setOleDropEnabled
in interface IPageLayoutControl
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean checkMxFile(java.lang.String fileName) throws java.io.IOException, AutomationException
checkMxFile
in interface IPageLayoutControl
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomToWholePage() throws java.io.IOException, AutomationException
zoomToWholePage
in interface IPageLayoutControl
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getPrinterPageCount(double overlap) throws java.io.IOException, AutomationException
getPrinterPageCount
in interface IPageLayoutControl
overlap
- The overlap (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(int phase, java.lang.Object layerOrElement, java.lang.Object envelope) throws java.io.IOException, AutomationException
refresh
in interface IPageLayoutControl
phase
- A com.esri.arcgis.carto.esriViewDrawPhase constant (in, optional, pass 65535 if not required)layerOrElement
- A Variant (in, optional, pass null if not required)envelope
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void fromPagePoint(IPoint pt, int[] x, int[] y) throws java.io.IOException, AutomationException
fromPagePoint
in interface IPageLayoutControl
pt
- A reference to a com.esri.arcgis.geometry.IPoint (in)x
- The x (in/out: use single element array)y
- The y (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint toPagePoint(int x, int y) throws java.io.IOException, AutomationException
toPagePoint
in interface IPageLayoutControl
x
- The x (in)y
- The y (in)
java.io.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 |