org.pdfsam.guiclient.utils
Class ThemeUtility
java.lang.Object
org.pdfsam.guiclient.utils.ThemeUtility
public class ThemeUtility
- extends java.lang.Object
ThemeSelector utility. It provides functions to let the user select the GUI theme
- Author:
- Andrea Vacondio
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeUtility
public ThemeUtility()
getLAF
public static java.lang.String getLAF(int lafNumber)
- Parameters:
lafNumber
-
- Returns:
- le LookAndFeel
getLAFList
public static java.util.LinkedList<StringItem> getLAFList()
- Returns:
- a LinkedList of ListItem objects with the availales LAF
getThemeList
public static java.util.LinkedList<StringItem> getThemeList()
- Returns:
- LinkedList of ListItem objects with the available Themes form Plastic
isPlastic
public static boolean isPlastic(int lafNumber)
- Parameters:
lafNumber
-
- Returns:
- true if the LookAndFeel is Plastic type
setTheme
public static void setTheme(int themeNumber)
- Sets the theme
- Parameters:
themeNumber
- Theme number