net.kolls.railworld
Class Images

java.lang.Object
  extended by net.kolls.railworld.Images

public class Images
extends java.lang.Object

A class to manage all the built-in images the program needs. This class does not manage the map images. The methods within are not static because they need to use getClass to find the resource location.

Author:
Steve Kollmansberger

Field Summary
static java.awt.image.BufferedImage applet
           
static javax.swing.ImageIcon contexthelp
           
static javax.swing.ImageIcon crossing
           
static javax.swing.ImageIcon curve
           
static javax.swing.ImageIcon delete
           
static javax.swing.ImageIcon edit
           
static javax.swing.ImageIcon ee
           
static javax.swing.ImageIcon eraser
           
static javax.swing.ImageIcon exportt
           
static java.awt.Image frameIcon
           
static javax.swing.ImageIcon hidden
           
static javax.swing.ImageIcon hiddenlu
           
static javax.swing.ImageIcon importt
           
static javax.swing.ImageIcon information
           
static javax.swing.ImageIcon lu
           
static javax.swing.ImageIcon newt
           
static java.awt.image.BufferedImage opening
           
static javax.swing.ImageIcon pause
           
static javax.swing.ImageIcon pointer
           
static javax.swing.ImageIcon populate
           
static javax.swing.ImageIcon redo
           
static javax.swing.ImageIcon save
           
static javax.swing.ImageIcon sep
           
static javax.swing.ImageIcon sp_green
           
static javax.swing.ImageIcon sp_red
           
static javax.swing.ImageIcon sp_yellow
           
static javax.swing.ImageIcon stop
           
static javax.swing.ImageIcon track
           
static javax.swing.ImageIcon undo
           
static javax.swing.ImageIcon zoomin
           
static javax.swing.ImageIcon zoomout
           
 
Constructor Summary
Images()
           
 
Method Summary
 void loadApplet()
          Load the applet title bar image.
 void loadFrameIcon()
          Load the window icon.
 void loadIcons()
          Load all icons from JAR file or network.
 void loadOpening()
          Load the main application menu image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pointer

public static javax.swing.ImageIcon pointer

eraser

public static javax.swing.ImageIcon eraser

track

public static javax.swing.ImageIcon track

lu

public static javax.swing.ImageIcon lu

hidden

public static javax.swing.ImageIcon hidden

hiddenlu

public static javax.swing.ImageIcon hiddenlu

ee

public static javax.swing.ImageIcon ee

crossing

public static javax.swing.ImageIcon crossing

curve

public static javax.swing.ImageIcon curve

save

public static javax.swing.ImageIcon save

stop

public static javax.swing.ImageIcon stop

zoomin

public static javax.swing.ImageIcon zoomin

zoomout

public static javax.swing.ImageIcon zoomout

edit

public static javax.swing.ImageIcon edit

information

public static javax.swing.ImageIcon information

sep

public static javax.swing.ImageIcon sep

pause

public static javax.swing.ImageIcon pause

populate

public static javax.swing.ImageIcon populate

newt

public static javax.swing.ImageIcon newt

delete

public static javax.swing.ImageIcon delete

importt

public static javax.swing.ImageIcon importt

exportt

public static javax.swing.ImageIcon exportt

contexthelp

public static javax.swing.ImageIcon contexthelp

undo

public static javax.swing.ImageIcon undo

redo

public static javax.swing.ImageIcon redo

opening

public static java.awt.image.BufferedImage opening

applet

public static java.awt.image.BufferedImage applet

frameIcon

public static java.awt.Image frameIcon

sp_green

public static javax.swing.ImageIcon sp_green

sp_yellow

public static javax.swing.ImageIcon sp_yellow

sp_red

public static javax.swing.ImageIcon sp_red
Constructor Detail

Images

public Images()
Method Detail

loadIcons

public void loadIcons()
Load all icons from JAR file or network.


loadOpening

public void loadOpening()
Load the main application menu image.

See Also:
opening

loadApplet

public void loadApplet()
Load the applet title bar image.

See Also:
applet

loadFrameIcon

public void loadFrameIcon()
Load the window icon.

See Also:
frameIcon