|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.beans.Model
com.jgoodies.uif.laf.LookConfiguration
public final class LookConfiguration
Describes a Look and Feel with its optional color theme. Future versions may support font hints and font size hints.
LookConfigurations
,
Preferences
,
LookAndFeel
,
Serialized FormField Summary | |
---|---|
static String |
PROPERTYNAME_THEME
The name of the bound read-write property theme. |
static String |
PROPERTYNAME_THEMES
The name of the bound read-only property themes. |
Constructor Summary | |
---|---|
LookConfiguration(LookAndFeel laf)
Constructs a LookConfiguration for the specified LookAndFeel. |
|
LookConfiguration(LookAndFeel laf,
Object theme)
Constructs a LookConfiguration for the specified LookAndFeel and theme. |
Method Summary | |
---|---|
Object |
clone()
Returns a clone of this LookConfigurations instance. |
boolean |
equals(Object o)
Two LookConfiguration instance are equal if and only if the class names of the LookAndFeels are equal and the themes are equal. |
LookAndFeel |
getLookAndFeel()
Returns the LookAndFeel described by this configuration. |
Object |
getTheme()
Returns the theme associated with this configuration's L&F, null if none. |
List |
getThemes()
Returns the list of themes available for this configuration's L&F. |
int |
hashCode()
Returns this configuration's hash code. |
void |
setTheme(Object newTheme)
Associates the given theme with this configuration's L&F. |
String |
toString()
Returns a string representation that lists the default configuration and all configurations with look&feel name and optional theme. |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTYNAME_THEME
public static final String PROPERTYNAME_THEMES
Constructor Detail |
---|
public LookConfiguration(LookAndFeel laf)
laf
- the L&f instance this configuration describespublic LookConfiguration(LookAndFeel laf, Object theme)
laf
- the L&f instance this configuration describestheme
- the L&f's currently selected themeMethod Detail |
---|
public LookAndFeel getLookAndFeel()
public List getThemes()
public Object getTheme()
public void setTheme(Object newTheme)
newTheme
- the theme to be associated with the L&Fpublic Object clone()
clone
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |