JavaScript API Reference for Oracle ADF Faces
  | 
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||
org.ecmascript.object.Object | +--org.ecmascript.object.Function
public class Function extends Object
function functionName(functionArgumentName1, functionArgumentName2)
{
  // function body
}var functionName = function(functionArgumentName1, functionArgumentName2)
{
  // function body
};functionName(foo, bar);
Field Summary | 
|
|---|---|
public Function | 
  | 
public Number | 
  | 
Fields inherited from org.ecmascript.object.Object | 
constructor, prototype | 
Constructor Summary | 
|
|---|---|
public | 
|
Method Summary | 
|
|---|---|
public Object | 
|
public Object | 
|
public String | 
  | 
public String | 
  | 
Field Detail | 
|---|
public Function callerundefined if the function is a top-level Function.Arguments.callerpublic Number lengthArguments.length
Constructor Detail | 
|---|
public Function(String... argumentNames,
                String functionBody)function functionName(functionArgumentName1, functionArgumentName2)
{
  // function body
}var functionName = function(functionArgumentName1, functionArgumentName2)
{
  // function body
};functionName(foo, bar);argumentNames | 
- | zero or more argument names for the function | 
functionBody | 
- | the body of the function | 
Method Detail | 
|---|
public Object apply(Object callingObject,
                    Array argumentArray)call(), except for the type of arguments that is supports. You can use an arguments array instead of a named set of parameters which allows you to share all of the unspecified arguments of the called object without knowing what they are.callingObject | 
- | the parameter for the calling object (e.g. this) | 
argumentArray | 
- | an argument array for the object (e.g. arguments) | 
Object - the result of the method applicationcall(Object, Object...)public Object call(Object callingObject,
                   Object... arguments)apply(), except for the type of arguments that is supports. You must specify each argument individually when using call().callingObject | 
- | the parameter for the calling object (e.g. this) | 
arguments | 
- | each argument for the object (e.g. each item in the arguments array) | 
Object - the result of the method callapply(Object, Array)public String toSource()String - a String representation of the function's source code; a generic placeholder of "[native code]" may exist in this code for source code that is not availablepublic String toString()String - a String representation of the function's source code; a generic placeholder of "[native code]" may exist in this code for source code that is not available
  | 
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||