com.esri.arcgis.framework
Class EnumStyleGalleryItem

java.lang.Object
  extended by com.esri.arcgis.framework.EnumStyleGalleryItem
All Implemented Interfaces:
IEnumStyleGalleryItem, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class EnumStyleGalleryItem
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumStyleGalleryItem

An enumerator of Style Gallery items.

Description

EnumStyleGalleryItem is an enumeration of style gallery items. It is created by the style gallery in response to IStyleGallery.Items.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
EnumStyleGalleryItem()
          Constructs a EnumStyleGalleryItem using ArcGIS Engine.
EnumStyleGalleryItem(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumStyleGalleryItem theEnumStyleGalleryItem = (EnumStyleGalleryItem) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 IStyleGalleryItem next()
          Gets the next Style Gallery item.
 void reset()
          Resets the enumerator.
 
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

EnumStyleGalleryItem

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

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

EnumStyleGalleryItem

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

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

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

next

public IStyleGalleryItem next()
                       throws IOException,
                              AutomationException
Gets the next Style Gallery item.

Description

Next moves to the next item in the current IEnumStyleGalleryItem object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumStyleGalleryItem
Returns:
A reference to a com.esri.arcgis.display.IStyleGalleryItem
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumerator.

Description

Reset resets the current IEnumStyleGalleryItem to its first item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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