Class org.aswing.UIDefaults

Description

A table of defaults for Swing components. Applications can set/get default values via the UIManager.

See Also

Method Index

new UIDefaults()
getBoolean(), getBorder(), getColor(), getConstructor(), getFont(), getIcon(), getInsets(), getInstance(), getNumber(), getUI(), put(), putDefaults()

Inherited from HashMap

Constructor Detail

UIDefaults

public function UIDefaults()

Method Detail

put

public function put(key:String, value:Object)

Sets the value of key to value. If value is null, the key is removed from the table.

Parameters

keythe unique Object who's value will be used to retrieve the data value associated with it
valuethe new Object to store as data under that key

Return

the previous Object value, or null

Overrides

put() in org.aswing.utils.HashMap

See Also

putDefaults

public function putDefaults(keyValueList:Array):Void

Puts all of the key/value pairs in the database.

Parameters

keyValueListan array of key/value pairs

See Also

  • put
  • org.aswing.utils.Hashtable#put

getUI

public function getUI(target:Component):ComponentUI

Returns the component LookAndFeel specified UI object

Return

target's UI object, or null if there is not his UI object

getBoolean

public function getBoolean(key:String):Boolean

getNumber

public function getNumber(key:String):Number

getBorder

public function getBorder(key:String):Border

getIcon

public function getIcon(key:String):Icon

getColor

public function getColor(key:String):ASColor

getFont

public function getFont(key:String):ASFont

getInsets

public function getInsets(key:String):Insets

getConstructor

public function getConstructor(key:String):Function

getInstance

public function getInstance(key:String):Object