Packageorg.aswing
Classpublic class UIManager

This class keeps track of the current look and feel and its defaults.

We manage three levels of defaults: user defaults, look and feel defaults, system defaults. A call to UIManager.get checks all three levels in order and returns the first non-null value for a key, if any. A call to UIManager.put just affects the user defaults. Note that a call to setLookAndFeel doesn't affect the user defaults, it just replaces the middle defaults "level".



Public Methods
 MethodDefined by
  
containsKey(key:String):Boolean
[static]
UIManager
  
get(key:String):*
[static]
UIManager
  
getBoolean(key:String):Boolean
[static]
UIManager
  
getBorder(key:String):Border
[static]
UIManager
  
getClass(key:String):Class
[static]
UIManager
  
getColor(key:String):ASColor
[static]
UIManager
  
[static]
UIManager
  
getFont(key:String):ASFont
[static]
UIManager
  
[static]
UIManager
  
getIcon(key:String):Icon
[static]
UIManager
  
getInsets(key:String):Insets
[static]
UIManager
  
getInstance(key:String):*
[static]
UIManager
  
getInt(key:String):int
[static]
UIManager
  
[static]
UIManager
  
[static]
UIManager
  
getNumber(key:String):Number
[static]
UIManager
  
getString(key:String):String
[static]
UIManager
  
[static]
UIManager
  
getUint(key:String):uint
[static]
UIManager
  
[static]
UIManager
Method detail
containsKey()method
public static function containsKey(key:String):BooleanParameters
key:String

Returns
Boolean
get()method 
public static function get(key:String):*Parameters
key:String

Returns
*
getBoolean()method 
public static function getBoolean(key:String):BooleanParameters
key:String

Returns
Boolean
getBorder()method 
public static function getBorder(key:String):BorderParameters
key:String

Returns
Border
getClass()method 
public static function getClass(key:String):ClassParameters
key:String

Returns
Class
getColor()method 
public static function getColor(key:String):ASColorParameters
key:String

Returns
ASColor
getDefaults()method 
public static function getDefaults():UIDefaults

Returns
UIDefaults
getFont()method 
public static function getFont(key:String):ASFontParameters
key:String

Returns
ASFont
getGroundDecorator()method 
public static function getGroundDecorator(key:String):GroundDecoratorParameters
key:String

Returns
GroundDecorator
getIcon()method 
public static function getIcon(key:String):IconParameters
key:String

Returns
Icon
getInsets()method 
public static function getInsets(key:String):InsetsParameters
key:String

Returns
Insets
getInstance()method 
public static function getInstance(key:String):*Parameters
key:String

Returns
*
getInt()method 
public static function getInt(key:String):intParameters
key:String

Returns
int
getLookAndFeel()method 
public static function getLookAndFeel():LookAndFeel

Returns
LookAndFeel
getLookAndFeelDefaults()method 
public static function getLookAndFeelDefaults():UIDefaults

Returns
UIDefaults
getNumber()method 
public static function getNumber(key:String):NumberParameters
key:String

Returns
Number
getString()method 
public static function getString(key:String):StringParameters
key:String

Returns
String
getUI()method 
public static function getUI(target:Component):ComponentUIParameters
target:Component

Returns
ComponentUI
getUint()method 
public static function getUint(key:String):uintParameters
key:String

Returns
uint
setLookAndFeel()method 
public static function setLookAndFeel(laf:LookAndFeel):void

Parameters
laf:LookAndFeel

See also

org.aswing.ASWingUtils.updateAllComponentUI()