|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.esri.arcgis.beans.pagelayout.PageLayoutBean
public class PageLayoutBean
The PageLayoutBean is a wrapper class of PageLayoutControl to
facilitate the use of PageLayoutControl at the design time. Users could access
the actual control by getPageLayoutControl method.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected PageLayoutControl |
m_pageLayoutControl
|
static java.lang.String |
PROPERTY_SEPARATER
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.esri.arcgis.controls.IPageLayoutControl2 |
|---|
DISPID_27_GET_NAME, DISPID_27_PUT_NAME, DISPID_28_NAME, DISPID_29_GET_NAME, DISPID_29_PUT_NAME, DISPID_30_GET_NAME, DISPID_31_GET_NAME, DISPID_31_PUT_NAME, IID, IIDaf899892_4db1_4f01_bd4e_b6ef6535d13f, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.IPageLayoutControl |
|---|
IID93840439_2ba9_4dfe_a431_9a13b02bde9e |
| Fields inherited from interface com.esri.arcgis.controls.ITOCBuddy |
|---|
IID, IID5eeb268c_9b77_406d_8fc5_489324d0758b, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.IToolbarBuddy |
|---|
IID, IIDd00f1736_7a95_4f5e_b54f_e2863c425dc3, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IMxdContents |
|---|
IID, IIDbe202904_9c7f_4d51_80b2_dbc960224e7f, xxDummy |
| Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
|---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IPersistStreamInit |
|---|
IID, IID7fd52380_4e07_101b_ae2d_08002b2ec713, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
PageLayoutBean()
Default constructor. |
|
| 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 |
addIPageLayoutControlEventsListener(IPageLayoutControlEventsAdapter theListener)
|
void |
addITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
|
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. |
void |
enumConnectionPoints(IEnumConnectionPoints[] iEnumConnectionPointsArray)
enumConnectionPoints |
boolean |
esri_isEnabled()
Indicates whether the PageLayoutControl can respond to user generated events. |
void |
esri_setEnabled(boolean rhs1)
Indicates whether the PageLayoutControl can respond to user generated events. |
void |
findConnectionPoint(GUID gUID,
IConnectionPoint[] iConnectionPointArray)
findConnectionPoint |
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. |
java.lang.Object |
getBuddyControl()
returns a com.esri.arcgis.beans.ui.BuddyControl object. |
void |
getClassID(GUID[] gUIDArray)
getClassID |
ITool |
getCurrentTool()
Current active tool for the PageLayoutControl. |
java.lang.Object |
getCustomProperty()
A property to associate data with a control. |
java.lang.String |
getDocumentFilename()
The filename of the last map document loaded into the control. |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
|
int |
getKeyIntercept()
A property that specifies interception of key strokes that are normally handled by the container. |
IMap |
getMap()
The Map object. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the PageLayoutControl. |
java.lang.Object |
getObject()
A property that returns the underlying control. |
IPage |
getPage()
The Page associated with the PageLayout contained by the PageLayoutControl. |
IPageLayout |
getPageLayout()
The PageLayout contained by the PageLayoutControl. |
PageLayoutControl |
getPageLayoutControl()
Returns the actual PageLayoutControl |
java.lang.String |
getPagePropertyString()
Gets the page property string |
IPrinter |
getPrinter()
The printer object used by the PageLayoutControl for printing. |
short |
getPrinterPageCount(double overlap)
The number of printer pages the PageLayout will cover. |
double |
getScale(IBasicMap pBasicMap)
Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap. |
void |
getSizeMax(_ULARGE_INTEGER[] pCbSize)
getSizeMax |
ITrackCancel |
getTrackCancel()
The object used by the PageLayoutControl to check if drawing has been aborted. |
void |
initNew()
initNew |
void |
interfaceSupportsErrorInfo(GUID gUID)
interfaceSupportsErrorInfo |
boolean |
isAutoKeyboardScrolling()
Indicates whether keyboard scrolling is enabled. |
boolean |
isAutoMouseWheel()
Indicates whether the mouse wheel is enabled. |
void |
isDirty()
isDirty |
boolean |
isOleDropEnabled()
Indicates if the PageLayoutControl will fire events when data is dragged over the control's window. |
void |
load(IStream pStm)
load |
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 |
paint(java.awt.Graphics g)
Paints this component. |
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 |
release()
|
void |
removeIPageLayoutControlEventsListener(IPageLayoutControlEventsAdapter theListener)
|
void |
removeITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
|
void |
save(IStream pStm,
int fClearDirty)
save |
void |
setAppearance(int appearance)
The appearance of the PageLayoutControl. |
void |
setAutoKeyboardScrolling(boolean rhs1)
Indicates whether keyboard scrolling is enabled. |
void |
setAutoMouseWheel(boolean rhs1)
Indicates whether the mouse wheel is enabled. |
void |
setBackColor(int rhs1)
Background color of the PageLayoutControl. |
void |
setBorderStyle(int rhs1)
The border style of the PageLayoutControl. |
void |
setCurrentToolByRef(ITool rhs1)
Current active tool for the PageLayoutControl. |
void |
setCustomProperty(java.lang.Object rhs1)
A property to associate data with a control. |
void |
setDocumentFilename(java.lang.String filename)
The filename of the last map document loaded into the control. |
void |
setExtent(IEnvelope rhs1)
Current extent of the PageLayout in page units. |
void |
setFullExtent(IEnvelope rhs1)
Rectangular shape that encloses the PageLayout. |
void |
setKeyIntercept(int key)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLayout(java.awt.LayoutManager layout)
Overrides the setLayout method of super class. |
void |
setMouseIconByRef(Picture picture)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int pointer)
The mouse pointer displayed over the PageLayoutControl. |
void |
setOleDropEnabled(boolean rhs1)
Indicates if the PageLayoutControl will fire events when data is dragged over the control's window. |
void |
setPageLayoutByRef(IPageLayout rhs1)
The PageLayout contained by the PageLayoutControl. |
void |
setPagePropertyString(java.lang.String property)
Sets the page property by a string which is generated at the design-time. |
void |
setPrinterByRef(IPrinter rhs1)
The printer object used by the PageLayoutControl for printing. |
void |
setTrackCancelByRef(ITrackCancel rhs1)
The object used by the PageLayoutControl to check if drawing has been aborted. |
void |
suppressResizeDrawing(boolean suppressResize,
int resizeHWnd)
Suppress full redraw of control during resize operations. |
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 javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected PageLayoutControl m_pageLayoutControl
public static final java.lang.String PROPERTY_SEPARATER
| Constructor Detail |
|---|
public PageLayoutBean()
| Method Detail |
|---|
public void setLayout(java.awt.LayoutManager layout)
setLayout method of super class.
setLayout in class java.awt.Containerlayout - LayoutManager - a LayoutManager object.public PageLayoutControl getPageLayoutControl()
public void setPagePropertyString(java.lang.String property)
property - String a Stringpublic java.lang.String getPagePropertyString()
public void paint(java.awt.Graphics g)
paint in class javax.swing.JComponentg - the graphics context to use for paintingpublic java.lang.Object getBuddyControl()
getBuddyControl in interface BuddyControl
public boolean esri_isEnabled()
throws java.io.IOException
esri_isEnabled in interface IPageLayoutControlesri_isEnabled in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void esri_setEnabled(boolean rhs1)
throws java.io.IOException
esri_setEnabled in interface IPageLayoutControlesri_setEnabled in interface IPageLayoutControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAppearance()
throws java.io.IOException
getAppearance in interface IPageLayoutControlgetAppearance in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAppearance(int appearance)
throws java.io.IOException
setAppearance in interface IPageLayoutControlsetAppearance in interface IPageLayoutControlDefaultrhs1 - 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 getBorderStyle()
throws java.io.IOException
getBorderStyle in interface IPageLayoutControlgetBorderStyle in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBorderStyle(int rhs1)
throws java.io.IOException
setBorderStyle in interface IPageLayoutControlsetBorderStyle in interface IPageLayoutControlDefaultrhs1 - 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 getMousePointer()
throws java.io.IOException
getMousePointer in interface IPageLayoutControlgetMousePointer in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMousePointer(int pointer)
throws java.io.IOException
setMousePointer in interface IPageLayoutControlsetMousePointer in interface IPageLayoutControlDefaultrhs1 - 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 boolean isOleDropEnabled()
throws java.io.IOException
isOleDropEnabled in interface IPageLayoutControlisOleDropEnabled in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOleDropEnabled(boolean rhs1)
throws java.io.IOException
setOleDropEnabled in interface IPageLayoutControlsetOleDropEnabled in interface IPageLayoutControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getKeyIntercept()
throws java.io.IOException
getKeyIntercept in interface IPageLayoutControl2getKeyIntercept in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKeyIntercept(int key)
throws java.io.IOException
setKeyIntercept in interface IPageLayoutControl2setKeyIntercept in interface IPageLayoutControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBackColor()
throws java.io.IOException
getBackColor in interface IPageLayoutControlgetBackColor in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackColor(int rhs1)
throws java.io.IOException
setBackColor in interface IPageLayoutControlsetBackColor in interface IPageLayoutControlDefaultrhs1 - The rhs1 (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDocumentFilename(java.lang.String filename)
throws java.io.IOException
setDocumentFilename in interface IPageLayoutControl2setDocumentFilename in interface IPageLayoutControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDocumentFilename()
throws java.io.IOException
getDocumentFilename in interface IPageLayoutControl2getDocumentFilename in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addIPageLayoutControlEventsListener(IPageLayoutControlEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public void removeIPageLayoutControlEventsListener(IPageLayoutControlEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public void addITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public void removeITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public java.lang.Object getObject()
throws java.io.IOException,
AutomationException
getObject in interface IPageLayoutControl2getObject in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlgetHWnd in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlgetCurrentTool in interface IPageLayoutControlDefaultgetCurrentTool in interface IToolbarBuddyjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentToolByRef(ITool rhs1)
throws java.io.IOException,
AutomationException
setCurrentToolByRef in interface IPageLayoutControlsetCurrentToolByRef in interface IPageLayoutControlDefaultsetCurrentToolByRef in interface IToolbarBuddyrhs1 - 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 IMxdContentsgetPageLayout in interface IPageLayoutControlgetPageLayout in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPageLayoutByRef(IPageLayout rhs1)
throws java.io.IOException,
AutomationException
setPageLayoutByRef in interface IPageLayoutControlsetPageLayoutByRef in interface IPageLayoutControlDefaultrhs1 - 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 IMxdContentsgetActiveView in interface IPageLayoutControlgetActiveView in interface IPageLayoutControlDefaultgetActiveView in interface ITOCBuddyjava.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 IPageLayoutControlgetExtent in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(IEnvelope rhs1)
throws java.io.IOException,
AutomationException
setExtent in interface IPageLayoutControlsetExtent in interface IPageLayoutControlDefaultrhs1 - 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 IPageLayoutControlgetFullExtent in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFullExtent(IEnvelope rhs1)
throws java.io.IOException,
AutomationException
setFullExtent in interface IPageLayoutControlsetFullExtent in interface IPageLayoutControlDefaultrhs1 - 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 IPageLayoutControlgetPage in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlgetGraphicsContainer in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlprintPageLayout in interface IPageLayoutControlDefaultstartPage - 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 IPageLayoutControlgetPrinter in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrinterByRef(IPrinter rhs1)
throws java.io.IOException,
AutomationException
setPrinterByRef in interface IPageLayoutControlsetPrinterByRef in interface IPageLayoutControlDefaultrhs1 - 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 IPageLayoutControlgetTrackCancel in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTrackCancelByRef(ITrackCancel rhs1)
throws java.io.IOException,
AutomationException
setTrackCancelByRef in interface IPageLayoutControlsetTrackCancelByRef in interface IPageLayoutControlDefaultrhs1 - 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 IPageLayoutControlpan in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlcenterAt in interface IPageLayoutControlDefaultcenterPoint - 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 IPageLayoutControltrackRectangle in interface IPageLayoutControlDefaultjava.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 IPageLayoutControladdElement in interface IPageLayoutControlDefaultpElement - 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 IPageLayoutControllocateFrontElement in interface IPageLayoutControlDefaultpageX - 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 IPageLayoutControlfindElementByName in interface IPageLayoutControlDefaultname - 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 IPageLayoutControlloadMxFile in interface IPageLayoutControlDefaultfileName - 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 checkMxFile(java.lang.String filename)
throws java.io.IOException,
AutomationException
checkMxFile in interface IPageLayoutControlcheckMxFile in interface IPageLayoutControlDefaultfileName - 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 IPageLayoutControlzoomToWholePage in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlgetPrinterPageCount in interface IPageLayoutControlDefaultoverlap - 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 IPageLayoutControlrefresh in interface IPageLayoutControlDefaultphase - 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 IPageLayoutControlfromPagePoint in interface IPageLayoutControlDefaultpt - 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 IPageLayoutControltoPagePoint in interface IPageLayoutControlDefaultx - The x (in)y - The y (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getCustomProperty()
throws java.io.IOException,
AutomationException
getCustomProperty in interface IPageLayoutControl2getCustomProperty in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(java.lang.Object rhs1)
throws java.io.IOException,
AutomationException
setCustomProperty in interface IPageLayoutControl2setCustomProperty in interface IPageLayoutControlDefaultrhs1 - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void suppressResizeDrawing(boolean suppressResize,
int resizeHWnd)
throws java.io.IOException,
AutomationException
suppressResizeDrawing in interface IPageLayoutControl2suppressResizeDrawing in interface IPageLayoutControlDefaultsuppressResize - The suppressResize (in)resizeHWnd - The resizeHWnd (in, optional, pass 0 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getScale(IBasicMap pBasicMap)
throws java.io.IOException,
AutomationException
getScale in interface ITOCBuddypBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMap getMap()
throws java.io.IOException,
AutomationException
getMap in interface IMxdContentsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pStm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreamInitpStm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pStm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreamInitpStm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pCbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreamInitpCbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void setMouseIconByRef(Picture picture)
throws java.io.IOException,
AutomationException
setMouseIconByRef in interface IPageLayoutControlsetMouseIconByRef in interface IPageLayoutControlDefaultrhs1 - 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 IPageLayoutControlgetMouseIcon in interface IPageLayoutControlDefaultjava.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 IPageLayoutControlaboutBox in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] iEnumConnectionPointsArray)
throws java.io.IOException,
AutomationException
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID gUID,
IConnectionPoint[] iConnectionPointArray)
throws java.io.IOException,
AutomationException
findConnectionPoint in interface IConnectionPointContainerriid - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] gUIDArray)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamInitjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initNew()
throws java.io.IOException,
AutomationException
initNew in interface IPersistStreamInitjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID gUID)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoMouseWheel()
throws java.io.IOException,
AutomationException
isAutoMouseWheel in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoMouseWheel(boolean rhs1)
throws java.io.IOException,
AutomationException
setAutoMouseWheel in interface IPageLayoutControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoKeyboardScrolling()
throws java.io.IOException,
AutomationException
isAutoKeyboardScrolling in interface IPageLayoutControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoKeyboardScrolling(boolean rhs1)
throws java.io.IOException,
AutomationException
setAutoKeyboardScrolling in interface IPageLayoutControlDefaultrhs1 - The rhs1 (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 | ||||||||