class org.aswing.LookAndFeel
Sub classes | ||||||
![]() | FlatLookAndFeel, BasicLookAndFeel |
|
Reserved for look and feel implementation.
Class Fields
static function installBasicProperties(c:Component, componentUIPrefix:String, ?defaultOpaquerName:String = 'opaque', ?defaultFocusableName:String = 'focusable'): Void
Convenience method for initializing a component's basic properties values from the current defaults table.
@see org.aswing.Component#setOpaque() @see org.aswing.Component#setOpaqueSet()
c | the target component for installing default color properties |
componentUIPrefix | the key for the default component UI Prefix |
static function installBorderAndBFDecorators(c:Component, componentUIPrefix:String, ?defaultBorderName:String = 'border', ?defaultBGDName:String = 'bg', ?defaultFGDName:String = 'fg'): Void
Convenience method for installing a component's default Border , background decorator and foreground decorator object on the specified component if either the border is currently null or already an instance of UIResource.
c | the target component for installing default border |
defaultBorderName | the key specifying the default border |
static function installColors(c:Component, componentUIPrefix:String, ?defaultBgName:String = 'background', ?defaultFgName:String = 'foreground', ?defaultMgName:String = 'mideground'): Void
Convenience method for initializing a component's foreground and background color properties with values from the current defaults table. The properties are only set if the current value is either null or a UIResource.
@see UIManager#getColor()
c | the target component for installing default color properties |
defaultBgName | the key for the default background |
defaultFgName | the key for the default foreground |
static function installColorsAndFont(c:Component, componentUIPrefix:String, ?defaultBgName:String = 'background', ?defaultFgName:String = 'foreground', ?defaultFontName:String = 'font', ?defaultMgName:String = 'mideground', ?defaultCaName:String = 'colorAdjust'): Void
@see #installColors() @see #installFont() @see #installStyleTune()
static function installFont(c:Component, componentUIPrefix:String, ?defaultFontName:String = 'font'): Void
Convenience method for initializing a component's font with value from the current defaults table. The property are only set if the current value is either null or a UIResource.
@see UIManager#getFont()
c | the target component for installing default font property |
defaultFontName | the key for the default font |
static function installStyleTune(c:Component, componentUIPrefix:String, ?pname:String = 'colorAdjust'): Void
static function uninstallBorderAndBFDecorators(c:Component): Void
Convenience method for un-installing a component's default border, background decorator and foreground decorator on the specified component if the border is currently an instance of UIResource.
c | the target component for uninstalling default border |