VdexReload 1.1.3 API

uk.ac.reload.dweezil.gui
Class ReloadUIManager

java.lang.Object
  extended byuk.ac.reload.dweezil.gui.ReloadUIManager
All Implemented Interfaces:
DweezilConstants

public class ReloadUIManager
extends java.lang.Object
implements DweezilConstants

The Reload UI Manager. This takes care of general application UI duties such as setting the L&F or getting Icons and Colours etc.


Field Summary
static java.awt.Font bold_italicFont11
           
static java.awt.Font bold_italicFont12
           
static java.awt.Font bold_italicFont13
           
static java.awt.Font boldFont11
           
static java.awt.Font boldFont12
           
static java.awt.Font boldFont13
           
static java.awt.Font boldFont14
           
static java.awt.Cursor DEFAULT_CURSOR
           
static java.awt.Font italicFont11
           
static java.awt.Font italicFont12
           
static java.awt.Font italicFont13
           
static java.awt.Font plainFont11
           
static java.awt.Font plainFont12
           
static java.awt.Font plainFont13
           
static java.awt.Font plainFont14
           
static java.awt.Cursor TEXT_CURSOR
           
static java.awt.Cursor WAIT_CURSOR
           
 
Fields inherited from interface uk.ac.reload.dweezil.DweezilConstants
CR, DEBUG
 
Constructor Summary
ReloadUIManager()
           
 
Method Summary
static javax.swing.ImageIcon getIcon(java.lang.String iconPath)
          Get an Icon
static java.awt.Image getImage(java.lang.String imagePath)
          Gets a resource image
static void setLookAndFeel(java.lang.String className, java.awt.Component[] components)
          Set The Look and Feel to a class name, these will have to be installed ones, or inbuilt ones.
static void setMacUIDefaults(java.lang.String applicationName)
          Do some UI Defaults stuff for the Mac
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_CURSOR

public static java.awt.Cursor TEXT_CURSOR

WAIT_CURSOR

public static java.awt.Cursor WAIT_CURSOR

DEFAULT_CURSOR

public static java.awt.Cursor DEFAULT_CURSOR

plainFont11

public static java.awt.Font plainFont11

boldFont11

public static java.awt.Font boldFont11

italicFont11

public static java.awt.Font italicFont11

bold_italicFont11

public static java.awt.Font bold_italicFont11

plainFont12

public static java.awt.Font plainFont12

boldFont12

public static java.awt.Font boldFont12

italicFont12

public static java.awt.Font italicFont12

bold_italicFont12

public static java.awt.Font bold_italicFont12

plainFont13

public static java.awt.Font plainFont13

boldFont13

public static java.awt.Font boldFont13

italicFont13

public static java.awt.Font italicFont13

bold_italicFont13

public static java.awt.Font bold_italicFont13

plainFont14

public static java.awt.Font plainFont14

boldFont14

public static java.awt.Font boldFont14
Constructor Detail

ReloadUIManager

public ReloadUIManager()
Method Detail

setMacUIDefaults

public static void setMacUIDefaults(java.lang.String applicationName)
Do some UI Defaults stuff for the Mac


setLookAndFeel

public static void setLookAndFeel(java.lang.String className,
                                  java.awt.Component[] components)
Set The Look and Feel to a class name, these will have to be installed ones, or inbuilt ones.

Parameters:
className - The class name for the L&F
components - The components (typically JFrames) that will need to be updated

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String iconPath)
Get an Icon

Parameters:
iconPath - The full path of the Icon
Returns:
The ImageIcon or null if not found

getImage

public static java.awt.Image getImage(java.lang.String imagePath)
Gets a resource image

Parameters:
imagePath - The full path of the Image
Returns:
The Image or null if not found

VdexReload 1.1.3 API