spellcast.ui
Class GestureIcon

java.lang.Object
  extended by spellcast.ui.GestureIcon

public class GestureIcon
extends java.lang.Object

This class is a Flyweight Factory for creating the Icons needed for the spellcast Gestures.

Author:
Barrie Treloar

Field Summary
static int LEFT_HANDED
          A flag to indicate that left handed images are desired.
static int RIGHT_HANDED
          A flag to indicate that right handed images are desired.
 
Constructor Summary
GestureIcon()
           
 
Method Summary
static javax.swing.Icon getAntiSpellIcon()
           
static javax.swing.Icon getClapLefthandIcon()
           
static javax.swing.Icon getClapRighthandIcon()
           
static javax.swing.Icon getDigitLefthandIcon()
           
static javax.swing.Icon getDigitRighthandIcon()
           
static javax.swing.Icon getEmptyHandIcon()
           
static javax.swing.Icon getFingersLefthandIcon()
           
static javax.swing.Icon getFingersRighthandIcon()
           
static javax.swing.Icon getHiddenHandIcon()
           
static javax.swing.Icon getIconForGesture(Gesture g, int hand)
           
static javax.swing.Icon getKnifeLefthandIcon()
           
static javax.swing.Icon getKnifeRighthandIcon()
           
static javax.swing.Icon getPalmLefthandIcon()
           
static javax.swing.Icon getPalmRighthandIcon()
           
static javax.swing.Icon getSnapLefthandIcon()
           
static javax.swing.Icon getSnapRighthandIcon()
           
static javax.swing.Icon getWaveLefthandIcon()
           
static javax.swing.Icon getWaveRighthandIcon()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEFT_HANDED

public static int LEFT_HANDED
A flag to indicate that left handed images are desired.


RIGHT_HANDED

public static int RIGHT_HANDED
A flag to indicate that right handed images are desired.

Constructor Detail

GestureIcon

public GestureIcon()
Method Detail

getAntiSpellIcon

public static javax.swing.Icon getAntiSpellIcon()

getClapLefthandIcon

public static javax.swing.Icon getClapLefthandIcon()

getClapRighthandIcon

public static javax.swing.Icon getClapRighthandIcon()

getDigitLefthandIcon

public static javax.swing.Icon getDigitLefthandIcon()

getDigitRighthandIcon

public static javax.swing.Icon getDigitRighthandIcon()

getEmptyHandIcon

public static javax.swing.Icon getEmptyHandIcon()

getFingersLefthandIcon

public static javax.swing.Icon getFingersLefthandIcon()

getFingersRighthandIcon

public static javax.swing.Icon getFingersRighthandIcon()

getHiddenHandIcon

public static javax.swing.Icon getHiddenHandIcon()

getKnifeLefthandIcon

public static javax.swing.Icon getKnifeLefthandIcon()

getKnifeRighthandIcon

public static javax.swing.Icon getKnifeRighthandIcon()

getPalmLefthandIcon

public static javax.swing.Icon getPalmLefthandIcon()

getPalmRighthandIcon

public static javax.swing.Icon getPalmRighthandIcon()

getSnapLefthandIcon

public static javax.swing.Icon getSnapLefthandIcon()

getSnapRighthandIcon

public static javax.swing.Icon getSnapRighthandIcon()

getWaveLefthandIcon

public static javax.swing.Icon getWaveLefthandIcon()

getWaveRighthandIcon

public static javax.swing.Icon getWaveRighthandIcon()

getIconForGesture

public static javax.swing.Icon getIconForGesture(Gesture g,
                                                 int hand)


Copyright © 2001-2005 Spellcast. All Rights Reserved.