| |
|
| java.lang.Object com.javujavu.javux.wings.Style
Style | public class Style (Code) | | A collection of attributes, typically used to represent component styles
This is one of the core WingS classes required by all the components
This class is thread safe.
|
background | public Color background(Code) | | background color
|
focus | public Color focus(Code) | | focus indicator frame color
|
foreground | public Color foreground(Code) | | foreground color
|
gap | public int gap(Code) | | multipurpose gap value
|
state | public int state(Code) | | component state associated with this style
|
copyFrom | public void copyFrom(Style st)(Code) | | copies values from style st
Parameters: st - source |
getBackground | public Color getBackground(Color def)(Code) | | Returns background color
Parameters: def - default value background or def if background is null |
getFont | public WingFont getFont(WingFont def)(Code) | | Returns font
Parameters: def - default value font or def if font is null |
getForeground | public Color getForeground(Color def)(Code) | | Returns foreground color
Parameters: def - default value foreground or def if foreground is null |
merge | public Style merge(Style filter)(Code) | | Merges values from this and filter style
if the state of filter covers this state
Parameters: filter - style to merge with result of merge operation |
|
|
|