uk.ac.essex.ia
Class IconConstants

java.lang.Object
  extended by uk.ac.essex.ia.IconConstants

public abstract class IconConstants
extends java.lang.Object

This class handles getting icons for the GUIs. It should not be instantiated. It provides static method that return new ImageIcons that can be used by applications. The icons it uses are a stored in a directory below the base package directory (ie/ uk/ac/essex/base/) in icons/*.gif. These icons were obtained from sun website


Field Summary
static java.lang.String arrow
          Arrow Icon
static java.lang.String arrowBegin
          ArrowBegin Icon
static javax.swing.ImageIcon arrowBeginIcon
           
static java.lang.String arrowEnd
          ArrowEnd Icon
static javax.swing.ImageIcon arrowEndIcon
           
static javax.swing.ImageIcon arrowIcon
           
static java.lang.String execute
          Execute Icon
static javax.swing.ImageIcon executeIcon
           
static java.lang.String help
          Help Icon
static javax.swing.ImageIcon helpIcon
           
static java.lang.String IV
          ImageViewer (IV) Icon
static javax.swing.ImageIcon IVIcon
           
static java.lang.String newFile
          New File Icon
static javax.swing.ImageIcon newFileIcon
           
static java.lang.String open
          Open Icon
static javax.swing.ImageIcon openIcon
           
static javax.swing.ImageIcon preference
           
static java.lang.String preferenceIcon
          Preference Icon
static java.lang.String redo
          REDO Icon
static javax.swing.ImageIcon redoIcon
           
static java.lang.String save
          Save Icon
static java.lang.String saveAs
          Save as Icon
static javax.swing.ImageIcon saveAsIcon
           
static javax.swing.ImageIcon saveIcon
           
static java.lang.String segment
          Segment Icon
static javax.swing.ImageIcon segmentIcon
           
 
Constructor Summary
IconConstants()
           
 
Method Summary
static javax.swing.ImageIcon getArrowBeginIcon()
           
static javax.swing.ImageIcon getArrowEndIcon()
           
static javax.swing.ImageIcon getArrowIcon()
           
static javax.swing.ImageIcon getExecuteIcon()
           
static javax.swing.ImageIcon getHelpIcon()
           
static javax.swing.ImageIcon getIVIcon()
           
static javax.swing.ImageIcon getNewIcon()
           
static javax.swing.ImageIcon getOpenIcon()
           
static javax.swing.ImageIcon getPreferenceIcon()
           
static javax.swing.ImageIcon getRedoIcon()
           
static javax.swing.ImageIcon getSaveAsIcon()
           
static javax.swing.ImageIcon getSaveIcon()
           
static javax.swing.ImageIcon getSegmentIcon()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

open

public static final java.lang.String open
Open Icon


openIcon

public static final javax.swing.ImageIcon openIcon

save

public static final java.lang.String save
Save Icon


saveIcon

public static final javax.swing.ImageIcon saveIcon

saveAs

public static final java.lang.String saveAs
Save as Icon


saveAsIcon

public static final javax.swing.ImageIcon saveAsIcon

help

public static final java.lang.String help
Help Icon


helpIcon

public static final javax.swing.ImageIcon helpIcon

arrow

public static final java.lang.String arrow
Arrow Icon


arrowIcon

public static final javax.swing.ImageIcon arrowIcon

arrowEnd

public static final java.lang.String arrowEnd
ArrowEnd Icon


arrowEndIcon

public static final javax.swing.ImageIcon arrowEndIcon

arrowBegin

public static final java.lang.String arrowBegin
ArrowBegin Icon


arrowBeginIcon

public static final javax.swing.ImageIcon arrowBeginIcon

preferenceIcon

public static final java.lang.String preferenceIcon
Preference Icon


preference

public static final javax.swing.ImageIcon preference

IV

public static final java.lang.String IV
ImageViewer (IV) Icon


IVIcon

public static final javax.swing.ImageIcon IVIcon

execute

public static final java.lang.String execute
Execute Icon


executeIcon

public static final javax.swing.ImageIcon executeIcon

newFile

public static final java.lang.String newFile
New File Icon


newFileIcon

public static final javax.swing.ImageIcon newFileIcon

segment

public static final java.lang.String segment
Segment Icon


segmentIcon

public static final javax.swing.ImageIcon segmentIcon

redo

public static final java.lang.String redo
REDO Icon


redoIcon

public static final javax.swing.ImageIcon redoIcon
Constructor Detail

IconConstants

public IconConstants()
Method Detail

getOpenIcon

public static javax.swing.ImageIcon getOpenIcon()
Returns:
the open file icon

getSaveIcon

public static javax.swing.ImageIcon getSaveIcon()
Returns:
the save icon

getSaveAsIcon

public static javax.swing.ImageIcon getSaveAsIcon()
Returns:
the save as icon

getHelpIcon

public static javax.swing.ImageIcon getHelpIcon()
Returns:
the help icon

getArrowIcon

public static javax.swing.ImageIcon getArrowIcon()
Returns:
the arrow icon (looks like a mouse pointer

getArrowEndIcon

public static javax.swing.ImageIcon getArrowEndIcon()
Returns:
the icon with an arrow pointing to the right

getArrowBeginIcon

public static javax.swing.ImageIcon getArrowBeginIcon()
Returns:
the icon with an arrow pointing to the left

getPreferenceIcon

public static javax.swing.ImageIcon getPreferenceIcon()
Returns:
the icon used to set the preferences

getIVIcon

public static javax.swing.ImageIcon getIVIcon()
Returns:
the icon used for ImageViewer(IV)

getExecuteIcon

public static javax.swing.ImageIcon getExecuteIcon()
Returns:
the icon used for Executing an operation

getNewIcon

public static javax.swing.ImageIcon getNewIcon()
Returns:
the icon used for Executing an operation

getSegmentIcon

public static javax.swing.ImageIcon getSegmentIcon()
Returns:
the icon used for the segment menu

getRedoIcon

public static javax.swing.ImageIcon getRedoIcon()
Returns:
the icon used for the Redo