|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICustomizeDialog2
Provides access to members that control the customize dialog.
Method Summary | |
---|---|
String |
getPalettesCategory()
The GUID of the component category used for palette definitions. |
void |
setPalettesCategory(String pVal)
The GUID of the component category used for palette definitions. |
void |
setWindowPosition(int left,
int top)
Positions the customize dialog at the given screen co-ordinates. |
Methods inherited from interface com.esri.arcgis.controls.ICustomizeDialog |
---|
closeDialog, getCommandsCategory, getDialogTitle, getDoubleClickDestination, getMenusCategory, getToolbarsCategory, isDialogActive, isShowAddFromFile, setCommandsCategory, setDialogTitle, setDoubleClickDestination, setMenusCategory, setShowAddFromFile, setToolbarsCategory, startDialog |
Method Detail |
---|
String getPalettesCategory() throws IOException, AutomationException
The guid of the component category used by the CustomizeDialog to read IPaletteDef objects. By default the PalettesCategory is set to the "ESRI Controls Palettes" category:
"{F278DFAD-3B0B-4708-99BF-227B113CB10B}"
Set the PalettesCategory to a valid guid of your own component category in order for the CustomizeDialog to pick up your own custom palettes rather than the default control palettes. The StartDialog method will extract all valid palettes from this component category.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPalettesCategory(String pVal) throws IOException, AutomationException
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWindowPosition(int left, int top) throws IOException, AutomationException
Sets the position the CustomizeDialog will display itself on the screen each time the ICustomizeDialog::StartDialog method is used. The position is in device co-ordinates (pixels) relative to the top left (0,0) of the screen display.
If a position is supplied that will take the CustomizeDialog off the screen display such as (-20,-20) the window will always display so it's visible. In this case at the top left with a position of (0,0).
left
- The left (in)top
- The top (in)
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 |