| Package | org.aswing |
| Class | public class UIDefaults |
| Inheritance | UIDefaults HashMap |
UIManager.
See also
| Method | Defined by | ||
|---|---|---|---|
| UIDefaults | |||
![]() |
clear():void
Clears this HashMap so that it contains no keys no values.
| HashMap | |
![]() |
Return a same copy of HashMap object
| HashMap | |
![]() |
containsKey(key:*):Boolean
Tests if the specified object is a key in this HashMap.
| HashMap | |
![]() |
containsValue(value:*):Boolean
Tests if some key maps into the specified value in this HashMap.
| HashMap | |
![]() |
eachKey(func:Function):void
Call func(key) for each key.
| HashMap | |
![]() |
eachValue(func:Function):void
Call func(value) for each value.
| HashMap | |
![]() |
get(key:*):*
Returns the value to which the specified key is mapped in this HashMap.
| HashMap | |
|
getBoolean(key:String):Boolean
| UIDefaults | ||
| UIDefaults | |||
| UIDefaults | |||
|
getConstructor(key:String):Class
| UIDefaults | ||
| UIDefaults | |||
|
getGroundDecorator(key:String):GroundDecorator
| UIDefaults | ||
| UIDefaults | |||
| UIDefaults | |||
|
getInstance(key:String):*
| UIDefaults | ||
|
getInt(key:String):int
| UIDefaults | ||
|
getNumber(key:String):Number
| UIDefaults | ||
|
getString(key:String):String
| UIDefaults | ||
|
Returns the component LookAndFeel specified UI object
| UIDefaults | ||
|
getUint(key:String):uint
| UIDefaults | ||
![]() |
getValue(key:*):*
Same functionity method with different name to
get. | HashMap | |
![]() |
isEmpty():Boolean
Returns if this HashMap maps no keys to values.
| HashMap | |
![]() |
keys():Array
Returns an Array of the keys in this HashMap.
| HashMap | |
|
put(key:*, value:*):*
Sets the value of
key to value. | UIDefaults | ||
|
putDefaults(keyValueList:Array):void
Puts all of the key/value pairs in the database.
| UIDefaults | ||
![]() |
remove(key:*):*
Removes the mapping for this key from this map if present.
| HashMap | |
![]() |
size():int
Returns the number of keys in this HashMap.
| HashMap | |
![]() |
toString():String
| HashMap | |
![]() |
values():Array
Returns an Array of the values in this HashMap.
| HashMap | |
| UIDefaults | () | constructor |
public function UIDefaults()
| getBoolean | () | method |
public function getBoolean(key:String):BooleanParameters
key:String |
Boolean |
| getBorder | () | method |
| getColor | () | method |
| getConstructor | () | method |
public function getConstructor(key:String):ClassParameters
key:String |
Class |
| getFont | () | method |
| getGroundDecorator | () | method |
public function getGroundDecorator(key:String):GroundDecoratorParameters
key:String |
GroundDecorator |
| getIcon | () | method |
| getInsets | () | method |
| getInstance | () | method |
public function getInstance(key:String):*Parameters
key:String |
* |
| getInt | () | method |
public function getInt(key:String):intParameters
key:String |
int |
| getNumber | () | method |
public function getNumber(key:String):NumberParameters
key:String |
Number |
| getString | () | method |
public function getString(key:String):StringParameters
key:String |
String |
| getUI | () | method |
public function getUI(target:Component):ComponentUIReturns the component LookAndFeel specified UI object
Parameterstarget:Component |
ComponentUI —
target's UI object, or null if there is not his UI object
|
| getUint | () | method |
public function getUint(key:String):uintParameters
key:String |
uint |
| put | () | method |
public override function put(key:*, value:*):*
Sets the value of key to value.
If value is null, the key is removed from the table.
key:* — the unique Object who's value will be used
to retrieve the data value associated with it
|
|
value:* — the new Object to store as data under
that key
|
* — the previous Object value, or null
|
See also
| putDefaults | () | method |
public function putDefaults(keyValueList:Array):voidPuts all of the key/value pairs in the database.
ParameterskeyValueList:Array — an array of key/value pairs
|
See also