com.esri.arcgis.catalogUI
Class AGSDiscoveryItemDescriptionPage

java.lang.Object
  extended by com.esri.arcgis.catalogUI.AGSDiscoveryItemDescriptionPage
All Implemented Interfaces:
IComPropertyPage, IComPropertyPage2, IPropertyPage, IPropertyPageContext, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class AGSDiscoveryItemDescriptionPage
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPropertyPage, IPropertyPageContext, IComPropertyPage, IComPropertyPage2

COM Class 'AGSDiscoveryItemDescriptionPage'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalogUI.olb'

Description 'Esri AGS Service Item Description property page.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.framework.IPropertyPage
IID, IIDb196b28d_bab4_101a_b69c_00aa00341d07, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IPropertyPageContext
IID, IIDf87fa8a3_e51a_11d1_877c_0000f8751720, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IComPropertyPage
IID, IID76951cc6_dbb1_11d2_b868_00600802e603, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IComPropertyPage2
IID, IID97afb06f_5c30_4eb3_a4c9_0327a64246c0, xxDummy
 
Constructor Summary
AGSDiscoveryItemDescriptionPage()
          Constructs a AGSDiscoveryItemDescriptionPage using ArcGIS Engine.
AGSDiscoveryItemDescriptionPage(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AGSDiscoveryItemDescriptionPage theAGSDiscoveryItemDescriptionPage = (AGSDiscoveryItemDescriptionPage) 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(java.lang.Object unkArray)
          Check if property page applies to the specified set of objects.
 void apply()
          apply
 void cancel()
          Property sheet calls this when cancel button is pressed.
 java.lang.Object createCompatibleObject(java.lang.Object kind)
          Create a new object using the specified object as a template.
 void deactivate()
          deactivate
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.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.
 java.lang.String getHelpFile()
          The help file name for the page.
 java.lang.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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getPageInfo(tagPROPPAGEINFO[] pPageInfo)
          getPageInfo
 int getPriority()
          The page's priority relative to other pages that interact with the same object.
 java.lang.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(java.lang.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(java.lang.Object theObject)
          Apply the property page settings to the specified object.
 void release()
          Release a AGSDiscoveryItemDescriptionPage.
 void setObjects(int cObjects, java.lang.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 setTitle(java.lang.String title)
          The title of the property page.
 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
 

Constructor Detail

AGSDiscoveryItemDescriptionPage

public AGSDiscoveryItemDescriptionPage()
                                throws java.io.IOException,
                                       java.net.UnknownHostException
Constructs a AGSDiscoveryItemDescriptionPage using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

AGSDiscoveryItemDescriptionPage

public AGSDiscoveryItemDescriptionPage(java.lang.Object obj)
                                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AGSDiscoveryItemDescriptionPage theAGSDiscoveryItemDescriptionPage = (AGSDiscoveryItemDescriptionPage) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a AGSDiscoveryItemDescriptionPage.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setPageSite

public void setPageSite(IPropertyPageSite pPageSite)
                 throws java.io.IOException,
                        AutomationException
setPageSite

Specified by:
setPageSite in interface IPropertyPage
Parameters:
pPageSite - A reference to a com.esri.arcgis.framework.IPropertyPageSite (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(_RemotableHandle hWndParent,
                     tagRECT pRect,
                     int bModal)
              throws java.io.IOException,
                     AutomationException
activate

Specified by:
activate in interface IPropertyPage
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws java.io.IOException,
                       AutomationException
deactivate

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

getPageInfo

public void getPageInfo(tagPROPPAGEINFO[] pPageInfo)
                 throws java.io.IOException,
                        AutomationException
getPageInfo

Specified by:
getPageInfo in interface IPropertyPage
Parameters:
pPageInfo - A Structure: com.esri.arcgis.framework.tagPROPPAGEINFO (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjects

public void setObjects(int cObjects,
                       java.lang.Object[] ppUnk)
                throws java.io.IOException,
                       AutomationException
setObjects

Specified by:
setObjects in interface IPropertyPage
Parameters:
cObjects - The cObjects (in)
ppUnk - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(int nCmdShow)
          throws java.io.IOException,
                 AutomationException
show

Specified by:
show in interface IPropertyPage
Parameters:
nCmdShow - The nCmdShow (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

move

public void move(tagRECT pRect)
          throws java.io.IOException,
                 AutomationException
move

Specified by:
move in interface IPropertyPage
Parameters:
pRect - A Structure: com.esri.arcgis.system.tagRECT (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPageDirty

public void isPageDirty()
                 throws java.io.IOException,
                        AutomationException
isPageDirty

Specified by:
isPageDirty in interface IPropertyPage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

apply

public void apply()
           throws java.io.IOException,
                  AutomationException
apply

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

help

public void help(java.lang.String pszHelpDir)
          throws java.io.IOException,
                 AutomationException
help

Specified by:
help in interface IPropertyPage
Parameters:
pszHelpDir - A String (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

translateAccelerator

public void translateAccelerator(tagMSG pMsg)
                          throws java.io.IOException,
                                 AutomationException
translateAccelerator

Specified by:
translateAccelerator in interface IPropertyPage
Parameters:
pMsg - A Structure: com.esri.arcgis.framework.tagMSG (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPriority

public int getPriority()
                throws java.io.IOException,
                       AutomationException
The page's priority relative to other pages that interact with the same object. The higher the value, the higher the priority.

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

applies

public boolean applies(java.lang.Object unkArray)
                throws java.io.IOException,
                       AutomationException
Check if property page applies to the specified set of objects. Signature corresponds to IPropertyPage::SetObjects.

Specified by:
applies in interface IPropertyPageContext
Parameters:
unkArray - A Variant (in)
Returns:
The applies
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createCompatibleObject

public java.lang.Object createCompatibleObject(java.lang.Object kind)
                                        throws java.io.IOException,
                                               AutomationException
Create a new object using the specified object as a template. The kind argument may be NULL if the page interacts with only a single object.

Specified by:
createCompatibleObject in interface IPropertyPageContext
Parameters:
kind - A Variant (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryObject

public void queryObject(java.lang.Object theObject)
                 throws java.io.IOException,
                        AutomationException
Apply the property page settings to the specified object.

Specified by:
queryObject in interface IPropertyPageContext
Parameters:
theObject - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpFile

public java.lang.String getHelpFile(int controlID)
                             throws java.io.IOException,
                                    AutomationException
Returns the help file name for the specified control.

Specified by:
getHelpFile in interface IPropertyPageContext
Parameters:
controlID - The controlID (in)
Returns:
The helpFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpId

public int getHelpId(int controlID)
              throws java.io.IOException,
                     AutomationException
Returns the help ID for the specified control.

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

cancel

public void cancel()
            throws java.io.IOException,
                   AutomationException
Property sheet calls this when cancel button is pressed.

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

setTitle

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

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

getTitle

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

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

setPriority

public void setPriority(int priority)
                 throws java.io.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
Specified by:
setPriority in interface IComPropertyPage2
Parameters:
priority - The priority (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

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

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

getHeight

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

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

setPageSiteByRef

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

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

IComPropertyPage_isPageDirty

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

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

getHelpFile

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

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

getHelpContextID

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

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

activate

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

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

applies

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

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

setObjects

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

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

show

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

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

hide

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

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

IComPropertyPage2_isPageDirty

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

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

queryCancel

public boolean queryCancel()
                    throws java.io.IOException,
                           AutomationException
Returns VARIANT_FALSE to prevent the cancel operation or VARIANT_TRUE to allow it.

Specified by:
queryCancel in interface IComPropertyPage2
Returns:
The queryCancel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.