com.esri.arcgis.display
Interface IStyleGalleryClass2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AreaPatchStyleGalleryClass, BackgroundStyleGalleryClass, BorderStyleGalleryClass, ColorRampStyleGalleryClass, ColorStyleGalleryClass, FillSymbolStyleGalleryClass, IStyleGalleryClass2Proxy, LabelStyleGalleryClass, LegendItemStyleGalleryClass, LinePatchStyleGalleryClass, LineSymbolStyleGalleryClass, MapGridStyleGalleryClass, MaplexLabelStyleGalleryClass, MarkerSymbolStyleGalleryClass, NorthArrowStyleGalleryClass, RepresentationMarkerStyleGalleryClass, RepresentationRuleStyleGalleryClass, ScaleBarStyleGalleryClass, ScaleTextStyleGalleryClass, ShadowStyleGalleryClass, TextSymbolStyleGalleryClass

public interface IStyleGalleryClass2
extends java.io.Serializable

COM Interface 'IStyleGalleryClass2'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

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


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID80d91e03_4a43_4659_82b4_cd80d5608003
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void editProperties(java.lang.Object[] galleryItem, IComPropertySheetEvents listener, int hWnd, boolean[] ok)
          Edits the properties of a Style Gallery Item of the supported class.
 java.lang.String getDescription()
          Description for the Style Gallery Class.
 java.lang.String getDisplayName()
          Display name of the Style Gallery Class.
 GUID getItemClass()
          Interface ID for the items in the class.
 java.lang.String getName()
          Name of the Style Gallery Class (as in the stle file).
 java.lang.Object getNewObject(java.lang.String newType)
          Creates a new object of the specified type.
 IEnumBSTR getNewObjectTypes()
          The available types of new items in this class.
 double getPreviewRatio()
          The width ratio to 1 height.
 void preview(java.lang.Object galleryItem, int hDC, tagRECT rectangle)
          Draws a preview of a Style Gallery Item of the supported class.
 

Field Detail

IID80d91e03_4a43_4659_82b4_cd80d5608003

static final int IID80d91e03_4a43_4659_82b4_cd80d5608003
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the Style Gallery Class (as in the stle file).

Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Description for the Style Gallery Class.

Returns:
The description
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemClass

GUID getItemClass()
                  throws java.io.IOException,
                         AutomationException
Interface ID for the items in the class.

Returns:
A Structure: com.esri.arcgis.support.ms.stdole.GUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNewObjectTypes

IEnumBSTR getNewObjectTypes()
                            throws java.io.IOException,
                                   AutomationException
The available types of new items in this class.

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.

getNewObject

java.lang.Object getNewObject(java.lang.String newType)
                              throws java.io.IOException,
                                     AutomationException
Creates a new object of the specified type.

Parameters:
newType - The newType (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPreviewRatio

double getPreviewRatio()
                       throws java.io.IOException,
                              AutomationException
The width ratio to 1 height.

Returns:
The ratio
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

preview

void preview(java.lang.Object galleryItem,
             int hDC,
             tagRECT rectangle)
             throws java.io.IOException,
                    AutomationException
Draws a preview of a Style Gallery Item of the supported class.

Parameters:
galleryItem - A reference to another Object (IUnknown) (in)
hDC - The hDC (A COM typedef) (in)
rectangle - A Structure: com.esri.arcgis.system.tagRECT (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

editProperties

void editProperties(java.lang.Object[] galleryItem,
                    IComPropertySheetEvents listener,
                    int hWnd,
                    boolean[] ok)
                    throws java.io.IOException,
                           AutomationException
Edits the properties of a Style Gallery Item of the supported class.

Parameters:
galleryItem - A reference to another Object (IUnknown) (in)
listener - A reference to a com.esri.arcgis.systemUI.IComPropertySheetEvents (in)
hWnd - The hWnd (A COM typedef) (in)
ok - The ok (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayName

java.lang.String getDisplayName()
                                throws java.io.IOException,
                                       AutomationException
Display name of the Style Gallery Class.

Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.