com.esri.arcgis.framework
Class ComPropertySheet

java.lang.Object
  extended by com.esri.arcgis.framework.ComPropertySheet
All Implemented Interfaces:
IConnectionPointContainer, IComPropertyPageSite, IComPropertySheet, IComPropertySheetID, IPropertyPageSite, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ComPropertySheet
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IComPropertySheet, IConnectionPointContainer, IComPropertyPageSite, IPropertyPageSite, IComPropertySheetID

COM Class 'ComPropertySheet'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description 'COM Property Sheet Object.' 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.IComPropertySheet
IID, IID76951cc7_dbb1_11d2_b868_00600802e603, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IComPropertyPageSite
IID, IID3b81f6f1_54a0_11d3_b8c3_00600802e603, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IPropertyPageSite
IID, IIDb196b28c_bab4_101a_b69c_00aa00341d07, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IComPropertySheetID
IID, IIDc7fb79b8_41a6_4f58_b58b_c39fb83aaa0a, xxDummy
 
Constructor Summary
ComPropertySheet()
          Constructs a ComPropertySheet using ArcGIS Engine.
ComPropertySheet(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ComPropertySheet theComPropertySheet = (ComPropertySheet) obj;
 
Method Summary
 void addCategoryID(IUID category)
          Adds a new Category ID used to look up COM property pages.
 void addIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
          addIComPropertySheetEventsListener.
 void addPage(java.lang.Object page)
          Manually adds a page to the property sheet.
 boolean canEdit(ISet objects)
          Indicates if this object can edit the given set of objects.
 void clearCategoryIDs()
          Clears the category IDs used to look up COM property pages.
 boolean editProperties(ISet objects, int hWnd)
          Displays a property sheet for the given set of objects and returns a flag indicating if the objects changed.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 short getActivePage()
          The zero-based index of the page that is active.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLocaleID(int[] pLocaleID)
          getLocaleID
 void getPageContainer(java.lang.Object[] ppUnk)
          getPageContainer
 java.lang.String getRegistryKey()
          Registry key for sheet settings.
 java.lang.String getTitle()
          The title of the property sheet.
 int hashCode()
          the hashcode for this object
 boolean isDisableCancelButton()
          Indicates if the Cancel button is disabled on the property sheet.
 boolean isHideApplyButton()
          Indicates if the Apply button is visible on the property sheet.
 boolean isHideHelpButton()
          Indicates if the Help button is visible on the property sheet.
 void onStatusChange(int dwFlags)
          onStatusChange
 void pageChanged()
          Called by the property page to let the property sheet know that something changed.
 void release()
          Release a ComPropertySheet.
 void removeIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
          removeIComPropertySheetEventsListener.
 void setActivePage(short index)
          The zero-based index of the page that is active.
 void setDisableCancelButton(boolean disableButton)
          Indicates if the Cancel button is disabled on the property sheet.
 void setHideApplyButton(boolean hideApplyButton)
          Indicates if the Apply button is visible on the property sheet.
 void setHideHelpButton(boolean hideHelpButton)
          Indicates if the Help button is visible on the property sheet.
 void setRegistryKey(java.lang.String idStr)
          Registry key for sheet settings.
 void setTitle(java.lang.String title)
          The title of the property sheet.
 void translateAccelerator(tagMSG pMsg)
          translateAccelerator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComPropertySheet

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

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

ComPropertySheet

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

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

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

addIComPropertySheetEventsListener

public void addIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
                                        throws java.io.IOException
addIComPropertySheetEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.systemUI.IComPropertySheetEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIComPropertySheetEventsListener

public void removeIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
                                           throws java.io.IOException
removeIComPropertySheetEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.systemUI.IComPropertySheetEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a ComPropertySheet.

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

setTitle

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

Specified by:
setTitle in interface IComPropertySheet
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 sheet.

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

setActivePage

public void setActivePage(short index)
                   throws java.io.IOException,
                          AutomationException
The zero-based index of the page that is active.

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

getActivePage

public short getActivePage()
                    throws java.io.IOException,
                           AutomationException
The zero-based index of the page that is active.

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

setDisableCancelButton

public void setDisableCancelButton(boolean disableButton)
                            throws java.io.IOException,
                                   AutomationException
Indicates if the Cancel button is disabled on the property sheet.

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

isDisableCancelButton

public boolean isDisableCancelButton()
                              throws java.io.IOException,
                                     AutomationException
Indicates if the Cancel button is disabled on the property sheet.

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

setHideApplyButton

public void setHideApplyButton(boolean hideApplyButton)
                        throws java.io.IOException,
                               AutomationException
Indicates if the Apply button is visible on the property sheet.

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

isHideApplyButton

public boolean isHideApplyButton()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the Apply button is visible on the property sheet.

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

setHideHelpButton

public void setHideHelpButton(boolean hideHelpButton)
                       throws java.io.IOException,
                              AutomationException
Indicates if the Help button is visible on the property sheet.

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

isHideHelpButton

public boolean isHideHelpButton()
                         throws java.io.IOException,
                                AutomationException
Indicates if the Help button is visible on the property sheet.

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

addCategoryID

public void addCategoryID(IUID category)
                   throws java.io.IOException,
                          AutomationException
Adds a new Category ID used to look up COM property pages.

Specified by:
addCategoryID in interface IComPropertySheet
Parameters:
category - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearCategoryIDs

public void clearCategoryIDs()
                      throws java.io.IOException,
                             AutomationException
Clears the category IDs used to look up COM property pages.

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

addPage

public void addPage(java.lang.Object page)
             throws java.io.IOException,
                    AutomationException
Manually adds a page to the property sheet. Page must implement IComPropertyPage or IPropertyPage.

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

canEdit

public boolean canEdit(ISet objects)
                throws java.io.IOException,
                       AutomationException
Indicates if this object can edit the given set of objects.

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

editProperties

public boolean editProperties(ISet objects,
                              int hWnd)
                       throws java.io.IOException,
                              AutomationException
Displays a property sheet for the given set of objects and returns a flag indicating if the objects changed.

Specified by:
editProperties in interface IComPropertySheet
Parameters:
objects - A reference to a com.esri.arcgis.system.ISet (in)
hWnd - The hWnd (A COM typedef) (in)
Returns:
The ok
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
enumConnectionPoints

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
findConnectionPoint

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

pageChanged

public void pageChanged()
                 throws java.io.IOException,
                        AutomationException
Called by the property page to let the property sheet know that something changed.

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

onStatusChange

public void onStatusChange(int dwFlags)
                    throws java.io.IOException,
                           AutomationException
onStatusChange

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

getLocaleID

public void getLocaleID(int[] pLocaleID)
                 throws java.io.IOException,
                        AutomationException
getLocaleID

Specified by:
getLocaleID in interface IPropertyPageSite
Parameters:
pLocaleID - The pLocaleID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageContainer

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

Specified by:
getPageContainer in interface IPropertyPageSite
Parameters:
ppUnk - A reference to another Object (IUnknown) (out: use single element array)
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 IPropertyPageSite
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.

setRegistryKey

public void setRegistryKey(java.lang.String idStr)
                    throws java.io.IOException,
                           AutomationException
Registry key for sheet settings.

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

getRegistryKey

public java.lang.String getRegistryKey()
                                throws java.io.IOException,
                                       AutomationException
Registry key for sheet settings.

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