com.esri.arcgis.carto
Class ScaleTextStyleGalleryClass

java.lang.Object
  extended by com.esri.arcgis.carto.ScaleTextStyleGalleryClass
All Implemented Interfaces:
IStyleGalleryClass, IStyleGalleryClass2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ScaleTextStyleGalleryClass
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IStyleGalleryClass, IStyleGalleryClass2

COM Class 'ScaleTextStyleGalleryClass'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Use to create new Scale Text items.' 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.display.IStyleGalleryClass
IID, IIDac0e9824_91cb_11d1_8813_080009ec732a, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IStyleGalleryClass2
IID, IID80d91e03_4a43_4659_82b4_cd80d5608003, xxDummy
 
Constructor Summary
ScaleTextStyleGalleryClass()
          Constructs a ScaleTextStyleGalleryClass using ArcGIS Engine.
ScaleTextStyleGalleryClass(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ScaleTextStyleGalleryClass theScaleTextStyleGalleryClass = (ScaleTextStyleGalleryClass) obj;
 
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.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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.
 int hashCode()
          the hashcode for this object
 void preview(java.lang.Object galleryItem, int hDC, tagRECT rectangle)
          Draws a preview of a Style Gallery Item of the supported class.
 void release()
          Release a ScaleTextStyleGalleryClass.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleTextStyleGalleryClass

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

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

ScaleTextStyleGalleryClass

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

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

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

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

getName

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

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

getDescription

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

Specified by:
getDescription in interface IStyleGalleryClass
Specified by:
getDescription in interface IStyleGalleryClass2
Returns:
The description
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemClass

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

Specified by:
getItemClass in interface IStyleGalleryClass
Specified by:
getItemClass in interface IStyleGalleryClass2
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

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

Specified by:
getNewObjectTypes in interface IStyleGalleryClass
Specified by:
getNewObjectTypes in interface IStyleGalleryClass2
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

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

Specified by:
getNewObject in interface IStyleGalleryClass
Specified by:
getNewObject in interface IStyleGalleryClass2
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

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

Specified by:
getPreviewRatio in interface IStyleGalleryClass
Specified by:
getPreviewRatio in interface IStyleGalleryClass2
Returns:
The ratio
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

preview

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

Specified by:
preview in interface IStyleGalleryClass
Specified by:
preview in interface IStyleGalleryClass2
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

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

Specified by:
editProperties in interface IStyleGalleryClass
Specified by:
editProperties in interface IStyleGalleryClass2
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

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

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