org.openbp.jaspira.gui.interaction
Interface CursorPrototype

All Known Implementing Classes:
BasicCursorPrototype

public interface CursorPrototype

A CursorPrototype provides a template for generating custom cursors. A custom cursor consists of the template part (for example an arrow or a stop sign) and a variable part (in this case an icon) that is provided by the client.

Author:
Stephan Moritz

Method Summary
 java.awt.Cursor createCursor(MultiIcon icon)
          Constructs a cursor object with the given icon.
 

Method Detail

createCursor

java.awt.Cursor createCursor(MultiIcon icon)
Constructs a cursor object with the given icon.

Parameters:
icon - Variable part of the cursor
Returns:
The new cursor


Copyright © 2011. All Rights Reserved.