|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemMouseCursor
Provides access to members that load and get mouse cursor.
The ISystemMouseCursor interface provides methods and properties for loading mouse cursors and accessing the OLE_HANDLE of a mouse cursor. It is primarily used when developing with the Java and C++ API.
Method Summary | |
---|---|
int |
getCursor()
Currently loaded mouse cursor. |
void |
load(int mouseCursorType)
Loads system provided mouse cursor. |
void |
loadFromFile(String fileName)
Loads mouse cursor from file. |
void |
setCursor(int mouseCursor)
Currently loaded mouse cursor. |
Method Detail |
---|
void load(int mouseCursorType) throws IOException, AutomationException
Loads a pre-defined mouse cursor into the SystemMouseCursor. Use the Cursor property to get the handle to the newly loaded cursor.
mouseCursorType
- A com.esri.arcgis.systemUI.esriSystemMouseCursor constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void loadFromFile(String fileName) throws IOException, AutomationException
The LoadFromFile method creates a SystemMouseCursor based upon the data in the specified file. Files containing cursor data may be in either cursor (.cur) or animated cursor (.ani) format. If file name uses relative path, the path must be relative to current application executable. Use the Cursor property to get the handle to the newly loaded cursor.
fileName
- The fileName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCursor() throws IOException, AutomationException
The handle of the mouse cursor that is currently loaded into the SystemMouseCursor using the Load or LoadFromFile methods.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCursor(int mouseCursor) throws IOException, AutomationException
mouseCursor
- The mouseCursor (A COM typedef) (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 |