javax.rad.genui
Class UICursor

java.lang.Object
  extended by javax.rad.genui.UIResource<ICursor>
      extended by javax.rad.genui.UICursor
All Implemented Interfaces:
ICursor, IResource

public class UICursor
extends UIResource<ICursor>
implements ICursor

Platform and technology independent Cursor.


Field Summary
 
Fields inherited from class javax.rad.genui.UIResource
uiResource
 
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.
 
Method Summary
 String getName()
          Returns the name of this cursor.
static ICursor getPredefinedCursor(int pType)
          Gets a ICursor object with the specified type.
static ICursor getSystemCustomCursor(String pCursorName)
          Returns a system-specific custom ICursor object matching the specified name.
 int getType()
          Returns the type for this cursor.
 
Methods inherited from class javax.rad.genui.UIResource
equals, getResource, getUIResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 

Constructor Detail

UICursor

protected UICursor(ICursor pCursor)
Creates a new instance of UICursor.

Parameters:
pCursor - the ICursor.
See Also:
ICursor
Method Detail

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.