frysk.gui.common
Class IconManager

java.lang.Object
  extended by frysk.gui.common.IconManager

public class IconManager
extends Object


Field Summary
static org.gnu.gdk.PixbufAnimation anim
           
private static String CONTINUE_PNG
           
private static String DOWN_PNG
           
static org.gnu.gtk.IconFactory[] factories
           
static String FIND_GO_PNG
           
static String FIND_NEXT_PNG
           
static String FIND_PREV_PNG
           
private static String FINISH_PNG
           
static String HIGHLIGHT_PNG
           
private static String NEXT_AI_PNG
           
private static String NEXT_PNG
           
static String os_arch
           
static String os_name
           
static String os_version
           
private static String RUN_PNG
           
private static String[] sizeDirs
           
static org.gnu.gdk.Pixbuf splashImage
           
private static String STEP_AI_PNG
           
private static String STEP_PNG
           
private static String STOP_PNG
           
private static String TOP_PNG
           
private static String TRAY_PREFIX
           
static TrayIcon trayIcon
           
private static String UP_PNG
           
private static boolean useSmallIcons
           
static org.gnu.gdk.Pixbuf windowIcon
           
 
Constructor Summary
IconManager()
           
 
Method Summary
private static void addIconSet(FryskIconSet set, String dir, int index, String iconName)
           
static org.gnu.gtk.IconFactory getFactory()
           
static String getHostInfo(String which)
           
static void loadIcons()
           
static void useLargeIcons()
           
static void useSmallIcons()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIND_NEXT_PNG

public static final String FIND_NEXT_PNG
See Also:
Constant Field Values

FIND_PREV_PNG

public static final String FIND_PREV_PNG
See Also:
Constant Field Values

FIND_GO_PNG

public static final String FIND_GO_PNG
See Also:
Constant Field Values

HIGHLIGHT_PNG

public static final String HIGHLIGHT_PNG
See Also:
Constant Field Values

RUN_PNG

private static final String RUN_PNG
See Also:
Constant Field Values

STOP_PNG

private static final String STOP_PNG
See Also:
Constant Field Values

STEP_PNG

private static final String STEP_PNG
See Also:
Constant Field Values

NEXT_PNG

private static final String NEXT_PNG
See Also:
Constant Field Values

FINISH_PNG

private static final String FINISH_PNG
See Also:
Constant Field Values

CONTINUE_PNG

private static final String CONTINUE_PNG
See Also:
Constant Field Values

STEP_AI_PNG

private static final String STEP_AI_PNG
See Also:
Constant Field Values

NEXT_AI_PNG

private static final String NEXT_AI_PNG
See Also:
Constant Field Values

DOWN_PNG

private static final String DOWN_PNG
See Also:
Constant Field Values

UP_PNG

private static final String UP_PNG
See Also:
Constant Field Values

TOP_PNG

private static final String TOP_PNG
See Also:
Constant Field Values

TRAY_PREFIX

private static final String TRAY_PREFIX
See Also:
Constant Field Values

factories

public static org.gnu.gtk.IconFactory[] factories

sizeDirs

private static String[] sizeDirs

anim

public static org.gnu.gdk.PixbufAnimation anim

windowIcon

public static org.gnu.gdk.Pixbuf windowIcon

splashImage

public static org.gnu.gdk.Pixbuf splashImage

useSmallIcons

private static boolean useSmallIcons

os_name

public static final String os_name

os_version

public static final String os_version

os_arch

public static final String os_arch

trayIcon

public static TrayIcon trayIcon
Constructor Detail

IconManager

public IconManager()
Method Detail

getHostInfo

public static String getHostInfo(String which)

loadIcons

public static void loadIcons()

useSmallIcons

public static void useSmallIcons()

getFactory

public static org.gnu.gtk.IconFactory getFactory()

useLargeIcons

public static void useLargeIcons()

addIconSet

private static void addIconSet(FryskIconSet set,
                               String dir,
                               int index,
                               String iconName)
                        throws Exception
Throws:
Exception