ptft
Class ImageToolkit

java.lang.Object
  extended byptft.ImageToolkit

public class ImageToolkit
extends java.lang.Object


Method Summary
static java.awt.Cursor createCursor(java.awt.Component c, java.lang.String filename, java.awt.Point hotSpot, java.lang.String name)
           
static javax.swing.ImageIcon createImageIcon(java.awt.Component c, java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createImageIcon

public static javax.swing.ImageIcon createImageIcon(java.awt.Component c,
                                                    java.lang.String filename)
Parameters:
c - if calling from a component, pass in this
filename - server-side relative path

createCursor

public static java.awt.Cursor createCursor(java.awt.Component c,
                                           java.lang.String filename,
                                           java.awt.Point hotSpot,
                                           java.lang.String name)
Parameters:
c - if calling from a component, pass in this
filename - server-side relative path
hotSpot - the X and Y of the large cursor's hot spot; the hotSpot values must be less than the Dimension returned by getBestCursorSize
name - a localized description of the cursor, for Java Accessibility use