|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.Page
public class Page
The On Screen Page.
| Constructor Summary | |
|---|---|
Page()
Constructs a Page using ArcGIS Engine. |
|
Page(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Page thePage = (Page) obj; |
|
| Method Summary | |
|---|---|
void |
addIPageEventsListener(IPageEvents theListener)
addIPageEventsListener. |
boolean |
applies(Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
Object |
apply(Object newObject)
Applies the given property to the receiver and returns the old object. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
canApply(Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
void |
drawBackground(IDisplay display)
Draw the page background. |
void |
drawBorder(IDisplay display)
Draw the page border. |
void |
drawPaper(IDisplay display,
IColor eraseColor)
Draw the paper. |
void |
drawPrintableArea(IDisplay display)
Draw the printable area. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
IBackground |
getBackground()
The page background. |
IColor |
getBackgroundColor()
The page color. |
IBorder |
getBorder()
The page border. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getCurrent(Object pUnk)
The object currently being used. |
void |
getDeviceBounds(IPrinter printer,
short currentPage,
double overlap,
short resolution,
IEnvelope deviceBounds)
Return the printer page size in device units. |
int |
getFormID()
The Page form. |
short |
getOrientation()
The Page orientation. |
void |
getPageBounds(IPrinter printer,
short currentPage,
double overlap,
IEnvelope pageBounds)
Return the page size in page units. |
int |
getPageToPrinterMapping()
The page to printer mapping. |
IEnvelope |
getPrintableBounds()
The printable bounds. |
IShadow |
getShadow()
Frame shadow used by this element. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getUnits()
The units used for the page and all associated coordinates. |
int |
hashCode()
the hashcode for this object |
IBackground |
IFrameProperties_getBackground()
Frame background used by this element. |
boolean |
isDelayEvents()
Indicates if the page stops firing IPageEvents until the flag is set to false. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isPrintableAreaVisible()
Indicates if the printable area is visible. |
boolean |
isStretchGraphicsWithPage()
Indicates if graphics should stretch with the page when the page size changes. |
void |
load(IStream pstm)
load |
void |
printerChanged(IPrinter printer)
Called by PageLayout when printer changes. |
void |
printerPageCount(IPrinter printer,
double overlap,
short[] pageCount)
The number of printer pages spanned by the page. |
void |
putCustomSize(double width,
double height)
The size of the page in page units. |
void |
querySize(double[] width,
double[] height)
The size of the page in page units. |
void |
readExternal(ObjectInput in)
|
void |
removeIPageEventsListener(IPageEvents theListener)
removeIPageEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setBackground(IBackground background)
The page background. |
void |
setBackgroundColor(IColor color)
The page color. |
void |
setBorder(IBorder border)
The page border. |
void |
setDelayEvents(boolean delayEvents)
Indicates if the page stops firing IPageEvents until the flag is set to false. |
void |
setFormID(int formID)
The Page form. |
void |
setIsPrintableAreaVisible(boolean isPrintableAreaVisible)
Indicates if the printable area is visible. |
void |
setOrientation(short orientation)
The Page orientation. |
void |
setPageToPrinterMapping(int mode)
The page to printer mapping. |
void |
setShadow(IShadow shadow)
Frame shadow used by this element. |
void |
setStretchGraphicsWithPage(boolean stretchGraphicsWithPage)
Indicates if graphics should stretch with the page when the page size changes. |
void |
setUnits(int units)
The units used for the page and all associated coordinates. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public Page()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public Page(Object obj)
throws IOException
Page thePage = (Page) obj;
obj to Page.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void addIPageEventsListener(IPageEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.IPageEvents interface.
IOException - If there are communications problems.
public void removeIPageEventsListener(IPageEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.IPageEvents interface.
IOException - If there are communications problems.
public int getFormID()
throws IOException,
AutomationException
getFormID in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFormID(int formID)
throws IOException,
AutomationException
setFormID in interface IPageformID - A com.esri.arcgis.carto.esriPageFormID constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getOrientation()
throws IOException,
AutomationException
getOrientation in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrientation(short orientation)
throws IOException,
AutomationException
setOrientation in interface IPageorientation - The orientation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUnits()
throws IOException,
AutomationException
getUnits in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUnits(int units)
throws IOException,
AutomationException
setUnits in interface IPageunits - A com.esri.arcgis.system.esriUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getPrintableBounds()
throws IOException,
AutomationException
getPrintableBounds in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPrintableAreaVisible()
throws IOException,
AutomationException
isPrintableAreaVisible in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsPrintableAreaVisible(boolean isPrintableAreaVisible)
throws IOException,
AutomationException
setIsPrintableAreaVisible in interface IPageisPrintableAreaVisible - The isPrintableAreaVisible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isStretchGraphicsWithPage()
throws IOException,
AutomationException
isStretchGraphicsWithPage in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStretchGraphicsWithPage(boolean stretchGraphicsWithPage)
throws IOException,
AutomationException
setStretchGraphicsWithPage in interface IPagestretchGraphicsWithPage - The stretchGraphicsWithPage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getBackgroundColor()
throws IOException,
AutomationException
getBackgroundColor in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundColor(IColor color)
throws IOException,
AutomationException
setBackgroundColor in interface IPagecolor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IBorder getBorder()
throws IOException,
AutomationException
getBorder in interface IFramePropertiesgetBorder in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBorder(IBorder border)
throws IOException,
AutomationException
setBorder in interface IFramePropertiessetBorder in interface IPageborder - A reference to a com.esri.arcgis.carto.IBorder (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IBackground getBackground()
throws IOException,
AutomationException
getBackground in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackground(IBackground background)
throws IOException,
AutomationException
setBackground in interface IFramePropertiessetBackground in interface IPagebackground - A reference to a com.esri.arcgis.carto.IBackground (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDelayEvents()
throws IOException,
AutomationException
isDelayEvents in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDelayEvents(boolean delayEvents)
throws IOException,
AutomationException
setDelayEvents in interface IPagedelayEvents - The delayEvents (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPageToPrinterMapping()
throws IOException,
AutomationException
getPageToPrinterMapping in interface IPageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPageToPrinterMapping(int mode)
throws IOException,
AutomationException
setPageToPrinterMapping in interface IPagemode - A com.esri.arcgis.carto.esriPageToPrinterMapping constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void querySize(double[] width,
double[] height)
throws IOException,
AutomationException
querySize in interface IPagewidth - The width (out: use single element array)height - The height (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void putCustomSize(double width,
double height)
throws IOException,
AutomationException
putCustomSize in interface IPagewidth - The width (in)height - The height (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void printerPageCount(IPrinter printer,
double overlap,
short[] pageCount)
throws IOException,
AutomationException
printerPageCount in interface IPageprinter - A reference to a com.esri.arcgis.output.IPrinter (in)overlap - The overlap (in)pageCount - The pageCount (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getPageBounds(IPrinter printer,
short currentPage,
double overlap,
IEnvelope pageBounds)
throws IOException,
AutomationException
getPageBounds in interface IPageprinter - A reference to a com.esri.arcgis.output.IPrinter (in)currentPage - The currentPage (in)overlap - The overlap (in)pageBounds - 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 getDeviceBounds(IPrinter printer,
short currentPage,
double overlap,
short resolution,
IEnvelope deviceBounds)
throws IOException,
AutomationException
getDeviceBounds in interface IPageprinter - A reference to a com.esri.arcgis.output.IPrinter (in)currentPage - The currentPage (in)overlap - The overlap (in)resolution - The resolution (in)deviceBounds - 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 drawPaper(IDisplay display,
IColor eraseColor)
throws IOException,
AutomationException
drawPaper in interface IPagedisplay - A reference to a com.esri.arcgis.display.IDisplay (in)eraseColor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawBackground(IDisplay display)
throws IOException,
AutomationException
drawBackground in interface IPagedisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawPrintableArea(IDisplay display)
throws IOException,
AutomationException
drawPrintableArea in interface IPagedisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawBorder(IDisplay display)
throws IOException,
AutomationException
drawBorder in interface IPagedisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void printerChanged(IPrinter printer)
throws IOException,
AutomationException
printerChanged in interface IPageprinter - A reference to a com.esri.arcgis.output.IPrinter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IBackground IFrameProperties_getBackground()
throws IOException,
AutomationException
IFrameProperties_getBackground in interface IFramePropertiesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IShadow getShadow()
throws IOException,
AutomationException
getShadow in interface IFramePropertiesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShadow(IShadow shadow)
throws IOException,
AutomationException
setShadow in interface IFramePropertiesshadow - A reference to a com.esri.arcgis.carto.IShadow (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean applies(Object pUnk)
throws IOException,
AutomationException
Applies indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
applies in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canApply(Object pUnk)
throws IOException,
AutomationException
CanApply indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
canApply in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCurrent(Object pUnk)
throws IOException,
AutomationException
getCurrent in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object apply(Object newObject)
throws IOException,
AutomationException
Apply will apply the specified object to the current object. For instance, I might apply a Color object to my RectangleElement. When I execute Apply, the object I replace (the old object) is returned.
Use the Applies and CanApply methods to determine if an Apply can be used on an object.
apply in interface IPropertySupportnewObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||