org.sourcejammer.client.gui
Class IconBank

java.lang.Object
  |
  +--org.sourcejammer.client.gui.IconBank

public class IconBank
extends java.lang.Object

Title: SourceJammer 1.2 Description: Copyright: Copyright (c) 2002 Company: SourceJammer Project

Version:
1.0
Author:
Robert MacGrogan

Field Summary
static java.lang.String ACTION_ON
           
static java.lang.String ADD_FILES_TOOL
           
static java.lang.String BINARY
           
static java.lang.String BINARY_CHECKED
           
static java.lang.String BLANK_TOOL
           
static java.lang.String CHANGED_BINARY
           
static java.lang.String CHANGED_BINARY_CHECKED
           
static java.lang.String CHANGED_TEXT
           
static java.lang.String CHANGED_TEXT_CHECKED
           
static java.lang.String CHECKIN_TOOL
           
static java.lang.String CHECKOUT_TOOL
           
static java.lang.String CONNECT_TOOL
           
static java.lang.String DISCONNECT_TOOL
           
static java.lang.String EXIT_TOOL
           
static java.lang.String GET_PROJ_TOOL
           
static java.lang.String GET_TOOL
           
private  java.util.Hashtable images
           
private static IconBank instance
           
static java.lang.String LABEL
           
static java.lang.String LABEL_CHECKED
           
static java.lang.String NEW_PROJ_TOOL
           
static java.lang.String REFRESH_TOOL
           
static java.lang.String TEXT
           
static java.lang.String TEXT_CHECKED
           
static java.lang.String VIEW_DIFF_TOOL
           
static java.lang.String VIEW_FILE_TOOL
           
 
Constructor Summary
private IconBank()
           
 
Method Summary
private  void addIcon(java.lang.String key)
           
 javax.swing.Icon getIcon(java.lang.String key)
           
 java.awt.Image getImage(java.lang.String key)
           
static IconBank getInstance()
           
 void initializeBank()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BINARY

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

TEXT

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

BINARY_CHECKED

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

TEXT_CHECKED

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

CHANGED_BINARY

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

CHANGED_TEXT

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

CHANGED_BINARY_CHECKED

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

CHANGED_TEXT_CHECKED

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

LABEL

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

LABEL_CHECKED

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

GET_TOOL

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

BLANK_TOOL

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

CHECKIN_TOOL

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

CHECKOUT_TOOL

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

GET_PROJ_TOOL

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

NEW_PROJ_TOOL

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

ADD_FILES_TOOL

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

CONNECT_TOOL

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

DISCONNECT_TOOL

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

EXIT_TOOL

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

VIEW_FILE_TOOL

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

VIEW_DIFF_TOOL

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

REFRESH_TOOL

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

ACTION_ON

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

images

private java.util.Hashtable images

instance

private static IconBank instance
Constructor Detail

IconBank

private IconBank()
Method Detail

getInstance

public static IconBank getInstance()

initializeBank

public void initializeBank()

addIcon

private void addIcon(java.lang.String key)

getImage

public java.awt.Image getImage(java.lang.String key)

getIcon

public javax.swing.Icon getIcon(java.lang.String key)


Copyright 2003 Soucejammer project.