javax.rad.genui
Class UICursor
java.lang.Object
javax.rad.genui.UIResource<ICursor>
javax.rad.genui.UICursor
- All Implemented Interfaces:
- ICursor, IResource
public class UICursor
- extends UIResource<ICursor>
- implements ICursor
Platform and technology independent Cursor.
Fields inherited from interface javax.rad.ui.ICursor |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Constructor Summary |
protected |
UICursor(ICursor pCursor)
Creates a new instance of UICursor . |
UICursor
protected UICursor(ICursor pCursor)
- Creates a new instance of
UICursor
.
- Parameters:
pCursor
- the ICursor.- See Also:
ICursor
getType
public int getType()
- Returns the type for this cursor.
- Specified by:
getType
in interface ICursor
- Returns:
- the cursor type.
getName
public String getName()
- Returns the name of this cursor.
- Specified by:
getName
in interface ICursor
- Returns:
- a localized description of this cursor.
getPredefinedCursor
public static ICursor getPredefinedCursor(int pType)
- Gets a
ICursor
object with the specified type.
- Parameters:
pType
- the type of cursor
- Returns:
- the
ICursor
- See Also:
ICursor
getSystemCustomCursor
public static ICursor getSystemCustomCursor(String pCursorName)
- Returns a system-specific custom
ICursor
object matching the
specified name. Cursor names are, for example: "Invalid.16x16"
- Parameters:
pCursorName
- a string describing the desired system-specific custom cursor
- Returns:
- the system specific custom cursor named
- See Also:
ICursor
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.