|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.DataConnectionPropertyPage
public class DataConnectionPropertyPage
Data Connection Property Page.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.framework.IComPropertyPage |
---|
IID, IID76951cc6_dbb1_11d2_b868_00600802e603, xxDummy |
Constructor Summary | |
---|---|
DataConnectionPropertyPage()
Constructs a DataConnectionPropertyPage using ArcGIS Engine. |
|
DataConnectionPropertyPage(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DataConnectionPropertyPage theDataConnectionPropertyPage = (DataConnectionPropertyPage) obj; |
Method Summary | |
---|---|
void |
activate(_RemotableHandle hWndParent,
tagRECT pRect,
int bModal)
activate |
int |
activate()
Occurs on page creation. |
boolean |
applies(ISet objects)
Indicates if the page applies to the specified objects. |
boolean |
applies(Object unkArray)
Check if property page applies to the specified set of objects. |
void |
apply()
apply |
void |
attemptToDeleteExistingName()
For save dialogs, attempt to delete the table/feature class. |
void |
cancel()
Property sheet calls this when cancel button is pressed. |
Object |
createCompatibleObject(Object kind)
Create a new object using the specified object as a template. |
void |
deactivate()
deactivate |
boolean |
equals(Object o)
Compare this object with another |
String |
getBrowseLocation()
Last location of the GxDialog. |
static String |
getClsid()
getClsid. |
IDatasetFilter |
getDatasetFilter()
Filter (optional) for the page. |
IGxObjectFilter |
getDialogFilter()
Filter (optional) for the GxDialog. |
int |
getHeight()
The height of the page in pixels. |
int |
getHelpContextID(int controlID)
The help context ID for the specified control on the page. |
String |
getHelpFile()
The help file name for the page. |
String |
getHelpFile(int controlID)
Returns the help file name for the specified control. |
int |
getHelpId(int controlID)
Returns the help ID for the specified control. |
IName |
getName()
User selected Name (ie, FeatureClassName, TableName). |
void |
getPageInfo(tagPROPPAGEINFO[] pPageInfo)
getPageInfo |
int |
getPriority()
The page's priority relative to other pages that interact with the same object. |
String |
getTitle()
The title of the property page. |
int |
getWidth()
The width of the page in pixels. |
int |
hashCode()
the hashcode for this object |
void |
help(String pszHelpDir)
help |
void |
hide()
Hides the page. |
boolean |
IComPropertyPage_isPageDirty()
Indicates if the page made any changes to the object(s). |
boolean |
IComPropertyPage2_isPageDirty()
Indicates if the page made any changes to the object(s). |
void |
isPageDirty()
isPageDirty |
void |
move(tagRECT pRect)
move |
boolean |
queryCancel()
Returns VARIANT_FALSE to prevent the cancel operation or VARIANT_TRUE to allow it. |
void |
queryObject(Object theObject)
Apply the property page settings to the specified object. |
void |
selectName(IName name)
Selects the name from the list. |
void |
setBrowseLocation(String filter)
Last location of the GxDialog. |
void |
setCallback(IDataConnectionCallback rhs1)
Callback implementation (not mandatory). |
void |
setDatasetFilterByRef(IDatasetFilter filter)
Filter (optional) for the page. |
void |
setDefaultName(String rhs1)
Default name when NewDataFile is true. |
void |
setDialogFilterByRef(IGxObjectFilter filter)
Filter (optional) for the GxDialog. |
void |
setEnabled(boolean rhs1)
Indicates if all the window controls in the property page are enabled. |
void |
setFocus()
Sets the focus to the file name window. |
void |
setNewDataFile(boolean rhs1)
Indicates if the dialog is for new data. |
void |
setObjects(int cObjects,
Object[] ppUnk)
setObjects |
void |
setObjects(ISet objects)
Supplies the page with the object(s) to be edited. |
void |
setPageSite(IPropertyPageSite pPageSite)
setPageSite |
void |
setPageSiteByRef(IComPropertyPageSite rhs1)
The sheet that contains the page. |
void |
setPriority(int priority)
The page priority. |
void |
setPromptName(String rhs1)
Prompt name. |
void |
setReturnDisplayTableName(boolean rhs1)
Indicates if a raw FDO or a display table name is returned when get_Name method is called. |
void |
setShowDropdown(boolean rhs1)
Indicates if existing data is shown in a dropdown. |
void |
setShowNone(boolean rhs1)
Indicates if the option |
void |
setSkipByRef(ITable rhs1)
When NewDataFile is false, skip this table/featureclass in the ComboBox. |
void |
setTitle(String title)
The title of the property page. |
void |
setType(int rhs1)
Type of data we are getting or putting. |
void |
setUniqueDefaultName(String baseName)
A Unique Default name when NewDataFile is true. |
void |
show()
Shows the page. |
void |
show(int nCmdShow)
show |
void |
translateAccelerator(tagMSG pMsg)
translateAccelerator |
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 DataConnectionPropertyPage() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DataConnectionPropertyPage(Object obj) throws IOException
DataConnectionPropertyPage theDataConnectionPropertyPage = (DataConnectionPropertyPage) obj;
obj
to DataConnectionPropertyPage
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setEnabled(boolean rhs1) throws IOException, AutomationException
setEnabled
in interface IDataConnectionPropertyPage
setEnabled
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNewDataFile(boolean rhs1) throws IOException, AutomationException
setNewDataFile
in interface IDataConnectionPropertyPage
setNewDataFile
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultName(String rhs1) throws IOException, AutomationException
setDefaultName
in interface IDataConnectionPropertyPage
setDefaultName
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPromptName(String rhs1) throws IOException, AutomationException
setPromptName
in interface IDataConnectionPropertyPage
setPromptName
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setType(int rhs1) throws IOException, AutomationException
setType
in interface IDataConnectionPropertyPage
setType
in interface IDataConnectionPropertyPage2
rhs1
- A com.esri.arcgis.arcmapui.esriDCType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getName() throws IOException, AutomationException
getName
in interface IDataConnectionPropertyPage
getName
in interface IDataConnectionPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSkipByRef(ITable rhs1) throws IOException, AutomationException
setSkipByRef
in interface IDataConnectionPropertyPage
setSkipByRef
in interface IDataConnectionPropertyPage2
rhs1
- A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attemptToDeleteExistingName() throws IOException, AutomationException
attemptToDeleteExistingName
in interface IDataConnectionPropertyPage
attemptToDeleteExistingName
in interface IDataConnectionPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCallback(IDataConnectionCallback rhs1) throws IOException, AutomationException
setCallback
in interface IDataConnectionPropertyPage
setCallback
in interface IDataConnectionPropertyPage2
rhs1
- A reference to a com.esri.arcgis.arcmapui.IDataConnectionCallback (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBrowseLocation(String filter) throws IOException, AutomationException
setBrowseLocation
in interface IDataConnectionPropertyPage2
filter
- The filter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getBrowseLocation() throws IOException, AutomationException
getBrowseLocation
in interface IDataConnectionPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectName(IName name) throws IOException, AutomationException
selectName
in interface IDataConnectionPropertyPage2
name
- A reference to a com.esri.arcgis.system.IName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFocus() throws IOException, AutomationException
setFocus
in interface IDataConnectionPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDatasetFilterByRef(IDatasetFilter filter) throws IOException, AutomationException
setDatasetFilterByRef
in interface IDataConnectionPropertyPage2
filter
- A reference to a com.esri.arcgis.arcmapui.IDatasetFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDatasetFilter getDatasetFilter() throws IOException, AutomationException
getDatasetFilter
in interface IDataConnectionPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDialogFilterByRef(IGxObjectFilter filter) throws IOException, AutomationException
setDialogFilterByRef
in interface IDataConnectionPropertyPage2
filter
- A reference to a com.esri.arcgis.catalog.IGxObjectFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObjectFilter getDialogFilter() throws IOException, AutomationException
getDialogFilter
in interface IDataConnectionPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUniqueDefaultName(String baseName) throws IOException, AutomationException
setUniqueDefaultName
in interface IDataConnectionPropertyPage2
baseName
- The baseName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowDropdown(boolean rhs1) throws IOException, AutomationException
setShowDropdown
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowNone(boolean rhs1) throws IOException, AutomationException
setShowNone
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnDisplayTableName(boolean rhs1) throws IOException, AutomationException
setReturnDisplayTableName
in interface IDataConnectionPropertyPage2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPageSite(IPropertyPageSite pPageSite) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
setPageSite
in interface IPropertyPage
pPageSite
- A reference to a com.esri.arcgis.framework.IPropertyPageSite (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate(_RemotableHandle hWndParent, tagRECT pRect, int bModal) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
activate
in interface IPropertyPage
hWndParent
- A Structure: com.esri.arcgis.framework._RemotableHandle (A com.esri.arcgis.framework._RemotableHandle COM typedef) (in)pRect
- A Structure: com.esri.arcgis.system.tagRECT (in)bModal
- The bModal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
deactivate
in interface IComPropertyPage
deactivate
in interface IComPropertyPage2
deactivate
in interface IPropertyPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getPageInfo(tagPROPPAGEINFO[] pPageInfo) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
getPageInfo
in interface IPropertyPage
pPageInfo
- A Structure: com.esri.arcgis.framework.tagPROPPAGEINFO (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjects(int cObjects, Object[] ppUnk) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
setObjects
in interface IPropertyPage
cObjects
- The cObjects (in)ppUnk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void show(int nCmdShow) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
show
in interface IPropertyPage
nCmdShow
- The nCmdShow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void move(tagRECT pRect) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
move
in interface IPropertyPage
pRect
- A Structure: com.esri.arcgis.system.tagRECT (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isPageDirty() throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
isPageDirty
in interface IPropertyPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void apply() throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
apply
in interface IComPropertyPage
apply
in interface IComPropertyPage2
apply
in interface IPropertyPage
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void help(String pszHelpDir) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
help
in interface IPropertyPage
pszHelpDir
- A String (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void translateAccelerator(tagMSG pMsg) throws IOException, AutomationException
IPropertyPage is a Microsoft interface. Please refer to MSDN for information about this interface.
translateAccelerator
in interface IPropertyPage
pMsg
- A Structure: com.esri.arcgis.framework.tagMSG (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPriority() throws IOException, AutomationException
getPriority
in interface IComPropertyPage
getPriority
in interface IComPropertyPage2
getPriority
in interface IPropertyPageContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(Object unkArray) throws IOException, AutomationException
applies
in interface IPropertyPageContext
unkArray
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object createCompatibleObject(Object kind) throws IOException, AutomationException
createCompatibleObject
in interface IPropertyPageContext
kind
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryObject(Object theObject) throws IOException, AutomationException
queryObject
in interface IPropertyPageContext
theObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHelpFile(int controlID) throws IOException, AutomationException
getHelpFile
in interface IPropertyPageContext
controlID
- The controlID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHelpId(int controlID) throws IOException, AutomationException
getHelpId
in interface IPropertyPageContext
controlID
- The controlID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void cancel() throws IOException, AutomationException
cancel
in interface IComPropertyPage
cancel
in interface IComPropertyPage2
cancel
in interface IPropertyPageContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitle(String title) throws IOException, AutomationException
setTitle
in interface IComPropertyPage
setTitle
in interface IComPropertyPage2
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTitle() throws IOException, AutomationException
getTitle
in interface IComPropertyPage
getTitle
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPriority(int priority) throws IOException, AutomationException
setPriority
in interface IComPropertyPage
setPriority
in interface IComPropertyPage2
priority
- The priority (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getWidth() throws IOException, AutomationException
getWidth
in interface IComPropertyPage
getWidth
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHeight() throws IOException, AutomationException
getHeight
in interface IComPropertyPage
getHeight
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPageSiteByRef(IComPropertyPageSite rhs1) throws IOException, AutomationException
setPageSiteByRef
in interface IComPropertyPage
setPageSiteByRef
in interface IComPropertyPage2
rhs1
- A reference to a com.esri.arcgis.framework.IComPropertyPageSite (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean IComPropertyPage2_isPageDirty() throws IOException, AutomationException
IComPropertyPage2_isPageDirty
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHelpFile() throws IOException, AutomationException
getHelpFile
in interface IComPropertyPage
getHelpFile
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHelpContextID(int controlID) throws IOException, AutomationException
getHelpContextID
in interface IComPropertyPage
getHelpContextID
in interface IComPropertyPage2
controlID
- The controlID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int activate() throws IOException, AutomationException
activate
in interface IComPropertyPage
activate
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(ISet objects) throws IOException, AutomationException
applies
in interface IComPropertyPage
applies
in interface IComPropertyPage2
objects
- A reference to a com.esri.arcgis.system.ISet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjects(ISet objects) throws IOException, AutomationException
setObjects
in interface IComPropertyPage
setObjects
in interface IComPropertyPage2
objects
- A reference to a com.esri.arcgis.system.ISet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void show() throws IOException, AutomationException
show
in interface IComPropertyPage
show
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hide() throws IOException, AutomationException
hide
in interface IComPropertyPage
hide
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean queryCancel() throws IOException, AutomationException
queryCancel
in interface IComPropertyPage2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean IComPropertyPage_isPageDirty() throws IOException, AutomationException
IComPropertyPage_isPageDirty
in interface IComPropertyPage
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 |