com.esri.arcgis.display
Class IStyleGalleryProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IStyleGalleryProxy
All Implemented Interfaces:
IStyleGallery, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IStyleGallery'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members modify the Style Gallery.' 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 =

public class IStyleGalleryProxy
extends com.esri.arcgis.interop.Dispatch
implements IStyleGallery, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.display.IStyleGallery
IID, IIDac0e9826_91cb_11d1_8813_080009ec732a
 
Constructor Summary
  IStyleGalleryProxy()
          Deprecated. For internal use only
  IStyleGalleryProxy(java.lang.Object obj)
          Deprecated.  
protected IStyleGalleryProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IStyleGalleryProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IStyleGalleryProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addItem(IStyleGalleryItem item)
          Deprecated. Adds an item to the target style file.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void clear()
          Deprecated. Removes all styles from the Style Gallery.
 IStyleGalleryClass esri_getClass(int index)
          Deprecated. The class at the given index.
 IEnumBSTR getCategories(java.lang.String className)
          Deprecated. The categories within the given class.
 int getClassCount()
          Deprecated. Number of classes in the Style Gallery.
 IEnumStyleGalleryItem getItems(java.lang.String className, java.lang.String styleSet, java.lang.String category)
          Deprecated. The style items from the specified style file, in the specified class and category.
 void importStyle(java.lang.String fileName)
          Deprecated. Imports a style from a file other than a .style file.
 void loadStyle(java.lang.String fileName, java.lang.String className)
          Deprecated. Loads a style from a file.
 void removeItem(IStyleGalleryItem item)
          Deprecated. Removes an item from the target style file.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void saveStyle(java.lang.String fileName, java.lang.String styleSet, java.lang.String className)
          Deprecated. Saves the specified style to a file.
 void updateItem(IStyleGalleryItem item)
          Deprecated. Updates an existing item in target style file.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IStyleGalleryProxy

public IStyleGalleryProxy(java.lang.String CLSID,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.net.UnknownHostException,
                          java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IStyleGalleryProxy

public IStyleGalleryProxy()
Deprecated. 
For internal use only


IStyleGalleryProxy

public IStyleGalleryProxy(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IStyleGalleryProxy

protected IStyleGalleryProxy(java.lang.Object obj,
                             java.lang.String iid)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IStyleGalleryProxy

protected IStyleGalleryProxy(java.lang.String CLSID,
                             java.lang.String iid,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getClassCount

public int getClassCount()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Number of classes in the Style Gallery.

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

esri_getClass

public IStyleGalleryClass esri_getClass(int index)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
The class at the given index.

Specified by:
esri_getClass in interface IStyleGallery
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.display.IStyleGalleryClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategories

public IEnumBSTR getCategories(java.lang.String className)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The categories within the given class.

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

getItems

public IEnumStyleGalleryItem getItems(java.lang.String className,
                                      java.lang.String styleSet,
                                      java.lang.String category)
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
The style items from the specified style file, in the specified class and category. The style set and category may be blank to return all items.

Specified by:
getItems in interface IStyleGallery
Parameters:
className - The className (in)
styleSet - The styleSet (in)
category - The category (in)
Returns:
A reference to a com.esri.arcgis.display.IEnumStyleGalleryItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addItem

public void addItem(IStyleGalleryItem item)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Adds an item to the target style file.

Specified by:
addItem in interface IStyleGallery
Parameters:
item - A reference to a com.esri.arcgis.display.IStyleGalleryItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateItem

public void updateItem(IStyleGalleryItem item)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Updates an existing item in target style file.

Specified by:
updateItem in interface IStyleGallery
Parameters:
item - A reference to a com.esri.arcgis.display.IStyleGalleryItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeItem

public void removeItem(IStyleGalleryItem item)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Removes an item from the target style file.

Specified by:
removeItem in interface IStyleGallery
Parameters:
item - A reference to a com.esri.arcgis.display.IStyleGalleryItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Removes all styles from the Style Gallery.

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

loadStyle

public void loadStyle(java.lang.String fileName,
                      java.lang.String className)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Loads a style from a file. If class is specified, only items in that class will be loaded.

Specified by:
loadStyle in interface IStyleGallery
Parameters:
fileName - The fileName (in)
className - The className (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveStyle

public void saveStyle(java.lang.String fileName,
                      java.lang.String styleSet,
                      java.lang.String className)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Saves the specified style to a file. If class is specified, only items in that class will be saved.

Specified by:
saveStyle in interface IStyleGallery
Parameters:
fileName - The fileName (in)
styleSet - The styleSet (in)
className - The className (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importStyle

public void importStyle(java.lang.String fileName)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Imports a style from a file other than a .style file.

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