org.argouml.ui
Class LookAndFeelMgr

java.lang.Object
  |
  +--org.argouml.ui.LookAndFeelMgr

public class LookAndFeelMgr
extends java.lang.Object

Control look and feel and theme of ArgoUML.


Field Summary
protected static org.apache.log4j.Category cat
           
static java.lang.String METAL_PLAF
           
static LookAndFeelMgr SINGLETON
           
static java.lang.String WINDOWS_PLAF
           
 
Method Summary
 java.lang.String determineLookAndFeel()
           
 int getThemeFromArg(java.lang.String arg)
          Detecting the theme from the command line.
 boolean isCurrentTheme(java.lang.String arg)
          check whether the currently set theme equals the argument.
 void printThemeArgs()
           
 void setCurrentTheme(int t)
          set the theme to use according to the configuration information.
 void setCurrentTheme(java.lang.String arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static org.apache.log4j.Category cat

SINGLETON

public static final LookAndFeelMgr SINGLETON

METAL_PLAF

public static final java.lang.String METAL_PLAF

WINDOWS_PLAF

public static final java.lang.String WINDOWS_PLAF
Method Detail

getThemeFromArg

public int getThemeFromArg(java.lang.String arg)
Detecting the theme from the command line.

printThemeArgs

public void printThemeArgs()

setCurrentTheme

public void setCurrentTheme(int t)
set the theme to use according to the configuration information.

determineLookAndFeel

public java.lang.String determineLookAndFeel()

setCurrentTheme

public void setCurrentTheme(java.lang.String arg)

isCurrentTheme

public boolean isCurrentTheme(java.lang.String arg)
check whether the currently set theme equals the argument.
Parameters:
arg - one of normal, big or huge.


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook