com.esri.arcgis.controls
Class ControlsMapBookmarksMultiItem

java.lang.Object
  extended by com.esri.arcgis.controls.ControlsMapBookmarksMultiItem
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IMultiItem, java.io.Serializable

public class ControlsMapBookmarksMultiItem
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMultiItem

COM Class 'ControlsMapBookmarksMultiItem'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description 'Current bookmarks of focus map.' 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.systemUI.IMultiItem
IID, IIDaf948931_11d1_11d2_94b4_080009eebecb, xxDummy
 
Constructor Summary
ControlsMapBookmarksMultiItem()
          Constructs a ControlsMapBookmarksMultiItem using ArcGIS Engine.
ControlsMapBookmarksMultiItem(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ControlsMapBookmarksMultiItem theControlsMapBookmarksMultiItem = (ControlsMapBookmarksMultiItem) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getCaption()
          The caption of the multiItem.
static java.lang.String getClsid()
          getClsid.
 int getHelpContextID()
          The help context ID associated with this multiItem.
 java.lang.String getHelpFile()
          The name of the help file associated with this multiItem.
 int getItemBitmap(int index)
          The bitmap for the item at the specified index.
 java.lang.String getItemCaption(int index)
          The caption of the item at the specified index.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getMessage()
          The status bar message for all items on the multiItem.
 java.lang.String getName()
          The name of the multiItem.
 int hashCode()
          the hashcode for this object
 boolean isItemChecked(int index)
          Indicates if item at the specified index is checked.
 boolean isItemEnabled(int index)
          Indicates if the item at the specified index is enabled.
 void onItemClick(int index)
          Occurs when the item at the specified index is clicked.
 int onPopup(java.lang.Object hook)
          Occurs when the menu that contains the multiItem is about to be displayed.
 void release()
          Release a ControlsMapBookmarksMultiItem.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlsMapBookmarksMultiItem

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

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

ControlsMapBookmarksMultiItem

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

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

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 ControlsMapBookmarksMultiItem.

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the multiItem.

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

getCaption

public java.lang.String getCaption()
                            throws java.io.IOException,
                                   AutomationException
The caption of the multiItem.

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

getMessage

public java.lang.String getMessage()
                            throws java.io.IOException,
                                   AutomationException
The status bar message for all items on the multiItem.

Specified by:
getMessage in interface IMultiItem
Returns:
The message
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 name of the help file associated with this multiItem.

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

getHelpContextID

public int getHelpContextID()
                     throws java.io.IOException,
                            AutomationException
The help context ID associated with this multiItem.

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

onPopup

public int onPopup(java.lang.Object hook)
            throws java.io.IOException,
                   AutomationException
Occurs when the menu that contains the multiItem is about to be displayed.

Specified by:
onPopup in interface IMultiItem
Parameters:
hook - A reference to another Automation Object (IDispatch) (in)
Returns:
The itemCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemCaption

public java.lang.String getItemCaption(int index)
                                throws java.io.IOException,
                                       AutomationException
The caption of the item at the specified index.

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

getItemBitmap

public int getItemBitmap(int index)
                  throws java.io.IOException,
                         AutomationException
The bitmap for the item at the specified index.

Specified by:
getItemBitmap in interface IMultiItem
Parameters:
index - The index (in)
Returns:
The bitmap (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onItemClick

public void onItemClick(int index)
                 throws java.io.IOException,
                        AutomationException
Occurs when the item at the specified index is clicked.

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

isItemChecked

public boolean isItemChecked(int index)
                      throws java.io.IOException,
                             AutomationException
Indicates if item at the specified index is checked.

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

isItemEnabled

public boolean isItemEnabled(int index)
                      throws java.io.IOException,
                             AutomationException
Indicates if the item at the specified index is enabled.

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