com.esri.arcgis.geodatabaseui
Class GDBConnectionsPropertyPage

java.lang.Object
  extended by com.esri.arcgis.geodatabaseui.GDBConnectionsPropertyPage
All Implemented Interfaces:
IComPropertyPage, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GDBConnectionsPropertyPage
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IComPropertyPage

A property page for controlling connections to an enterprise Geodatabase

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.framework.IComPropertyPage
IID, IID76951cc6_dbb1_11d2_b868_00600802e603, xxDummy
 
Constructor Summary
GDBConnectionsPropertyPage()
          Constructs a GDBConnectionsPropertyPage using ArcGIS Engine.
GDBConnectionsPropertyPage(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GDBConnectionsPropertyPage theGDBConnectionsPropertyPage = (GDBConnectionsPropertyPage) obj;
 
Method Summary
 int activate()
          Occurs on page creation.
 boolean applies(ISet objects)
          Indicates if the page applies to the specified objects.
 void apply()
          Applies any changes to the object(s).
 void cancel()
          Cancels the changes to the object(s).
 void deactivate()
          Destroys the page.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 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.
 int getPriority()
          The page priority.
 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 hide()
          Hides the page.
 boolean IComPropertyPage_isPageDirty()
          Indicates if the page made any changes to the object(s).
 void setObjects(ISet objects)
          Supplies the page with the object(s) to be edited.
 void setPageSiteByRef(IComPropertyPageSite rhs1)
          The sheet that contains the page.
 void setPriority(int priority)
          The page priority.
 void setTitle(String title)
          The title of the property page.
 void show()
          Shows the page.
 
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

GDBConnectionsPropertyPage

public GDBConnectionsPropertyPage()
                           throws IOException,
                                  UnknownHostException
Constructs a GDBConnectionsPropertyPage using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GDBConnectionsPropertyPage

public GDBConnectionsPropertyPage(Object obj)
                           throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GDBConnectionsPropertyPage theGDBConnectionsPropertyPage = (GDBConnectionsPropertyPage) obj;

Construct a GDBConnectionsPropertyPage using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GDBConnectionsPropertyPage.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setTitle

public void setTitle(String title)
              throws IOException,
                     AutomationException
The title of the property page.

Specified by:
setTitle in interface IComPropertyPage
Parameters:
title - The title (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTitle

public String getTitle()
                throws IOException,
                       AutomationException
The title of the property page.

Specified by:
getTitle in interface IComPropertyPage
Returns:
The title
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPriority

public void setPriority(int priority)
                 throws IOException,
                        AutomationException
The page priority. The higher the priority, the sooner the page appears in the containing property sheet.

Specified by:
setPriority in interface IComPropertyPage
Parameters:
priority - The priority (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPriority

public int getPriority()
                throws IOException,
                       AutomationException
The page priority. The higher the priority, the sooner the page appears in the containing property sheet.

Specified by:
getPriority in interface IComPropertyPage
Returns:
The priority
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws IOException,
                    AutomationException
The width of the page in pixels.

Specified by:
getWidth in interface IComPropertyPage
Returns:
The width
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws IOException,
                     AutomationException
The height of the page in pixels.

Specified by:
getHeight in interface IComPropertyPage
Returns:
The height
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPageSiteByRef

public void setPageSiteByRef(IComPropertyPageSite rhs1)
                      throws IOException,
                             AutomationException
The sheet that contains the page.

Specified by:
setPageSiteByRef in interface IComPropertyPage
Parameters:
rhs1 - A reference to a com.esri.arcgis.framework.IComPropertyPageSite (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

IComPropertyPage_isPageDirty

public boolean IComPropertyPage_isPageDirty()
                                     throws IOException,
                                            AutomationException
Indicates if the page made any changes to the object(s).

Specified by:
IComPropertyPage_isPageDirty in interface IComPropertyPage
Returns:
The isDirty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpFile

public String getHelpFile()
                   throws IOException,
                          AutomationException
The help file name for the page.

Specified by:
getHelpFile in interface IComPropertyPage
Returns:
The helpFile
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpContextID

public int getHelpContextID(int controlID)
                     throws IOException,
                            AutomationException
The help context ID for the specified control on the page.

Specified by:
getHelpContextID in interface IComPropertyPage
Parameters:
controlID - The controlID (in)
Returns:
The helpID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public int activate()
             throws IOException,
                    AutomationException
Occurs on page creation. Return the hWnd of the page here.

Specified by:
activate in interface IComPropertyPage
Returns:
The hWnd (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws IOException,
                       AutomationException
Destroys the page.

Specified by:
deactivate in interface IComPropertyPage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

applies

public boolean applies(ISet objects)
                throws IOException,
                       AutomationException
Indicates if the page applies to the specified objects.

Specified by:
applies in interface IComPropertyPage
Parameters:
objects - A reference to a com.esri.arcgis.system.ISet (in)
Returns:
The pApplies
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjects

public void setObjects(ISet objects)
                throws IOException,
                       AutomationException
Supplies the page with the object(s) to be edited.

Specified by:
setObjects in interface IComPropertyPage
Parameters:
objects - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show()
          throws IOException,
                 AutomationException
Shows the page.

Specified by:
show in interface IComPropertyPage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hide

public void hide()
          throws IOException,
                 AutomationException
Hides the page.

Specified by:
hide in interface IComPropertyPage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

apply

public void apply()
           throws IOException,
                  AutomationException
Applies any changes to the object(s).

Specified by:
apply in interface IComPropertyPage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancel

public void cancel()
            throws IOException,
                   AutomationException
Cancels the changes to the object(s).

Specified by:
cancel in interface IComPropertyPage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.