com.esri.arcgis.display
Class EnumServerStyleGalleryItem

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

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

An enumerator of Server Style Gallery items.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
EnumServerStyleGalleryItem()
          Constructs a EnumServerStyleGalleryItem using ArcGIS Engine.
EnumServerStyleGalleryItem(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EnumServerStyleGalleryItem theEnumServerStyleGalleryItem = (EnumServerStyleGalleryItem) 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

EnumServerStyleGalleryItem

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

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

EnumServerStyleGalleryItem

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

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

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.