de.steeringbehaviors.creator.editor
Class ImagePool

java.lang.Object
  extended by de.steeringbehaviors.creator.editor.ImagePool

public class ImagePool
extends java.lang.Object

The ImagePool is used to load and cache images


Field Summary
static java.lang.String ADDBEHAVIOR
           
static java.lang.String ADDMIND
           
static java.lang.String ADDOBSTACLE
           
static java.lang.String ADDVEHICLE
           
static java.lang.String BACK_TILE
           
static java.lang.String BEHAVIOR
           
static java.lang.String CIRCLEOBSTACLE
           
static java.lang.String CLONE
           
static java.lang.String DELETE
           
static java.lang.String MIND
           
static java.lang.String RECTOBSTACLE
           
static java.lang.String RUN
           
static java.lang.String STEERING
           
static java.lang.String VEHICLE
           
 
Method Summary
 javax.swing.ImageIcon getIcon(java.lang.String id)
          Returns the icon specified with the id
static ImagePool getPool()
          Returns the ImagePool instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACK_TILE

public static final java.lang.String BACK_TILE
See Also:
Constant Field Values

VEHICLE

public static final java.lang.String VEHICLE
See Also:
Constant Field Values

CIRCLEOBSTACLE

public static final java.lang.String CIRCLEOBSTACLE
See Also:
Constant Field Values

RECTOBSTACLE

public static final java.lang.String RECTOBSTACLE
See Also:
Constant Field Values

BEHAVIOR

public static final java.lang.String BEHAVIOR
See Also:
Constant Field Values

MIND

public static final java.lang.String MIND
See Also:
Constant Field Values

STEERING

public static final java.lang.String STEERING
See Also:
Constant Field Values

ADDVEHICLE

public static final java.lang.String ADDVEHICLE
See Also:
Constant Field Values

ADDOBSTACLE

public static final java.lang.String ADDOBSTACLE
See Also:
Constant Field Values

ADDMIND

public static final java.lang.String ADDMIND
See Also:
Constant Field Values

ADDBEHAVIOR

public static final java.lang.String ADDBEHAVIOR
See Also:
Constant Field Values

DELETE

public static final java.lang.String DELETE
See Also:
Constant Field Values

CLONE

public static final java.lang.String CLONE
See Also:
Constant Field Values

RUN

public static final java.lang.String RUN
See Also:
Constant Field Values
Method Detail

getPool

public static final ImagePool getPool()
Returns the ImagePool instance

Returns:
The ImagePool instance

getIcon

public javax.swing.ImageIcon getIcon(java.lang.String id)
Returns the icon specified with the id

Parameters:
id - The id of the icon
Returns:
The icon