|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStyleGalleryClass2
Provides access to members that control the Style Gallery Class.
Method Summary | |
---|---|
void |
editProperties(Object[] galleryItem,
IComPropertySheetEvents listener,
int hWnd,
boolean[] ok)
Edits the properties of a Style Gallery Item of the supported class. |
String |
getDescription()
Description for the Style Gallery Class. |
String |
getDisplayName()
Display name of the Style Gallery Class. |
GUID |
getItemClass()
Interface ID for the items in the class. |
String |
getName()
Name of the Style Gallery Class (as in the stle file). |
Object |
getNewObject(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(Object galleryItem,
int hDC,
tagRECT rectangle)
Draws a preview of a Style Gallery Item of the supported class. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDescription() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.GUID getItemClass() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumBSTR getNewObjectTypes() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getNewObject(String newType) throws IOException, AutomationException
newType
- The newType (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getPreviewRatio() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void preview(Object galleryItem, int hDC, tagRECT rectangle) throws IOException, AutomationException
galleryItem
- A reference to another Object (IUnknown) (in)hDC
- The hDC (A COM typedef) (in)rectangle
- A Structure: com.esri.arcgis.system.tagRECT (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void editProperties(Object[] galleryItem, IComPropertySheetEvents listener, int hWnd, boolean[] ok) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDisplayName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |