ij.gui
Class CustomCursor

java.lang.Object
  extended by ij.gui.CustomCursor

public class CustomCursor
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2012

Company:


Field Summary
protected static java.awt.Dimension bestSize
           
protected  java.awt.Point[] curCoordin
           
protected static java.awt.Cursor cursor
           
protected static java.awt.Image cursorImage
           
protected static java.awt.Image[] cursorImages
           
protected static java.awt.Cursor[] cursors
           
protected static java.net.URL[] curURL
           
protected static java.lang.String[] custom_cursor
           
static int DRAW
           
static int FILL
           
protected static ImageCanvas grCanvas
           
static int HAND
           
protected  java.net.URL imageUrl
           
static int MOVE
           
protected static java.awt.Cursor oldCursor
           
protected static java.beans.PropertyChangeSupport pcs
           
static int ROTATE
           
static int SCALE
           
static int SHEARE
           
static int TEXT
           
protected static java.awt.Toolkit tk
           
 
Constructor Summary
CustomCursor(ImageCanvas grCanvas)
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener p)
           
 java.awt.Cursor getCustomCursor()
           
protected  java.net.URL getResource(java.lang.String key)
           
protected static java.lang.String getResourceString(java.lang.String nm)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener p)
           
 void setCustomCursor(java.awt.Cursor cursor)
           
static void setCustomCursor(int customcursor, java.awt.Point focus)
           
protected static java.lang.String[] tokenize(java.lang.String input)
          Take the given string and chop it up into a series of strings on whitespace boundaries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pcs

protected static java.beans.PropertyChangeSupport pcs

grCanvas

protected static ImageCanvas grCanvas

cursor

protected static java.awt.Cursor cursor

oldCursor

protected static java.awt.Cursor oldCursor

imageUrl

protected java.net.URL imageUrl

tk

protected static java.awt.Toolkit tk

cursorImage

protected static java.awt.Image cursorImage

bestSize

protected static java.awt.Dimension bestSize

cursors

protected static java.awt.Cursor[] cursors

curURL

protected static java.net.URL[] curURL

curCoordin

protected java.awt.Point[] curCoordin

cursorImages

protected static java.awt.Image[] cursorImages

DRAW

public static int DRAW

FILL

public static int FILL

SHEARE

public static int SHEARE

SCALE

public static int SCALE

ROTATE

public static int ROTATE

MOVE

public static int MOVE

HAND

public static int HAND

TEXT

public static int TEXT

custom_cursor

protected static java.lang.String[] custom_cursor
Constructor Detail

CustomCursor

public CustomCursor(ImageCanvas grCanvas)
Method Detail

getCustomCursor

public java.awt.Cursor getCustomCursor()

setCustomCursor

public static void setCustomCursor(int customcursor,
                                   java.awt.Point focus)

tokenize

protected static java.lang.String[] tokenize(java.lang.String input)
Take the given string and chop it up into a series of strings on whitespace boundaries. This is useful for trying to get an array of strings out of the resource file.


getResourceString

protected static java.lang.String getResourceString(java.lang.String nm)

getResource

protected java.net.URL getResource(java.lang.String key)

setCustomCursor

public void setCustomCursor(java.awt.Cursor cursor)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener p)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener p)