OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

org.ecmascript.primitive
Class Boolean

org.ecmascript.object.Object
   |
   +--org.ecmascript.primitive.Boolean

public class Boolean
extends Object
The native browser JavaScript object used to represent a flag; true or false.
An instance can also be created with the shorthand true or false.

Note that this object is implemented and supported by the web browser and results of its use may vary.



Field Summary


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
Boolean(Object value)
The native browser JavaScript object used to represent a flag; true or false.


Method Summary

public String
toSource()
Gets a source code String representation of the Boolean.
public String
toString()
Gets a human-readable String representation of the Boolean.


Field Detail


Constructor Detail


Boolean

public Boolean(Object value)

The native browser JavaScript object used to represent a flag; true or false.
An instance can also be created with the shorthand true or false.

Note that this object is implemented and supported by the web browser and results of its use may vary.

Parameters:
value  -  optional initializes the value to true unless value is false, 0, -0, undefined, null, "", or NaN

Method Detail


toSource

public String toSource()

Gets a source code String representation of the Boolean.

Return:
String - a source code String representation of the Boolean

toString

public String toString()

Gets a human-readable String representation of the Boolean.

Return:
String - a human-readable String representation of the Boolean

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.