A C E F G H I O R S T X

A

add(Fxn) - Method in class xdc.services.getset.Group
Add a new Fxn to the group, and execute it once.
addAuto(Callable) - Method in class xdc.services.getset.Group
Wrap the given function body as an AutoFxn and add it to the group.
addGlobal(Callable) - Static method in class xdc.services.getset.Getters
 
addGlobal(Callable) - Static method in class xdc.services.getset.Setters
Add a setter that is called when any field changes value.
addInput(Value.Observable, String) - Method in class xdc.services.getset.Fxn
Mark the given field as a formal input to the Fxn.
addInput(Value.Observable, int) - Method in class xdc.services.getset.Fxn
Mark a given array element as a formal input to the Fxn.
addOutput(Value.Observable, String) - Method in class xdc.services.getset.Fxn
Mark the given field of the object as a formal output of the Fxn.
addOutput(Value.Observable, int) - Method in class xdc.services.getset.Fxn
Mark a given array element as a formal output of the Fxn.
addStale(Fxn) - Method in class xdc.services.getset.Group
Indicate that a Fxn in the group needs to be run.
AutoFxn - Class in xdc.services.getset
A Fxn that automatically determines its own inputs and outputs.
AutoFxn(Group, Callable) - Constructor for class xdc.services.getset.AutoFxn
Create a new AutoFxn that will execute the given body, as scheduled by the given Group.

C

call(Context, Scriptable, Scriptable, Object[]) - Method in class xdc.services.getset.Fxn
A setter that is called whenever one of the inputs of the Fxn changes in value.
call(Context, Scriptable, Scriptable, Object[]) - Method in class xdc.services.getset.Getters
The master getter function called by XDCscript.
call(Context, Scriptable, Scriptable, Object[]) - Method in class xdc.services.getset.Setters
The master setter function called by XDCscript.
createGroup() - Static method in class xdc.services.getset.Scheduler
 

E

equals(Object) - Method in class xdc.services.getset.Field
Two Field objects compare as equal() if they name the same field of the same XDCscript object instance.

F

Field - Class in xdc.services.getset
An immutable object that identifies a specific field of a specific XDCscript object.
Field(Value.Observable, String) - Constructor for class xdc.services.getset.Field
 
Field(Value.Observable, int) - Constructor for class xdc.services.getset.Field
 
Fxn - Class in xdc.services.getset
A scheduled function in a Group.
Fxn(Group, Callable) - Constructor for class xdc.services.getset.Fxn
Create a new Fxn that will execute the given body, as scheduled by the given Group.

G

getData(Value.Observable, Object) - Static method in class xdc.services.getset.GetSetData
Get the private data associated with a field of an object.
getDebug() - Static method in class xdc.services.getset.GetSet
Get whether to print debug trace.
getMaxIterations() - Static method in class xdc.services.getset.Group
Get the maximum number of iterations allowed in each group, as a debugging aid.
getMaxStackDepth() - Static method in class xdc.services.getset.Setters
Get the maximum allowed depth of recursively nested setters.
getName() - Method in class xdc.services.getset.Field
 
getObject() - Method in class xdc.services.getset.Field
 
getRunning() - Method in class xdc.services.getset.Group
Get the currently running function (unused?)
getRunningFxn() - Static method in class xdc.services.getset.Scheduler
Get which Fxn is currently running, or null if none.
getRunningGroup() - Static method in class xdc.services.getset.Scheduler
Get which Group is currently running, or null if none.
getScheduled() - Method in class xdc.services.getset.Group
Ask if the Group has already been scheduled to be run
GetSet - Class in xdc.services.getset
A helper class to add getters and setters to a field of an XDCscript object.
GetSet() - Constructor for class xdc.services.getset.GetSet
 
GetSetData - Class in xdc.services.getset
Private data for the getters and setters.
GetSetData() - Constructor for class xdc.services.getset.GetSetData
 
getStale() - Method in class xdc.services.getset.Fxn
Get whether this Fxn needs to be executed.
getStale() - Method in class xdc.services.getset.Group
Ask if the group needs to be run.
getStatus() - Method in class xdc.services.getset.Fxn
Get the exit status from the last time this Fxn was executed.
getters - Variable in class xdc.services.getset.GetSetData
 
Getters - Class in xdc.services.getset
A getter function to be added to a field of an XDCscript Value.Obj object.
Getters(Object) - Constructor for class xdc.services.getset.Getters
 
Group - Class in xdc.services.getset
A group of Fxns that are each run to completion before any other Fxn in the group.
Group() - Constructor for class xdc.services.getset.Group
Create a new Group governed by the given scheduler

H

hashCode() - Method in class xdc.services.getset.Field
If objects compare equal, also return equal hash codes.

I

init(Value.Observable) - Static method in class xdc.services.getset.GetSet
Initialize getter and setter support on every field.
init(Value.Observable, String) - Static method in class xdc.services.getset.GetSet
Initialize getter and setter support on a field, or other property labeled by an identifier.
init(Value.Observable, int) - Static method in class xdc.services.getset.GetSet
Initialize getter and setter support on an array element, or other property with a numeric index.
init(Value.Observable, Object) - Static method in class xdc.services.getset.Getters
Add getter support to a field of an object.
init(Value.Observable, String) - Static method in class xdc.services.getset.Setters
Add setter support to a field of an object.
init(Value.Observable, int) - Static method in class xdc.services.getset.Setters
 

O

onGet(Value.Observable, String, Callable) - Static method in class xdc.services.getset.GetSet
Add a user getter to the named field of the object, or other property labeled by an identifier.
onGet(Value.Observable, int, Callable) - Static method in class xdc.services.getset.GetSet
Add a user getter to the indicated array element, or other property with a numeric index.
onSet(Value.Observable, String, Callable) - Static method in class xdc.services.getset.GetSet
Add a user setter to the named field of the object, or other property labeled by an identifier.
onSet(Value.Observable, int, Callable) - Static method in class xdc.services.getset.GetSet
Add a user setter to the indicated array element, or other property with a numeric index.
onSet(Value.Observable, String, Callable) - Method in class xdc.services.getset.Group
Wrap the given function body as a Fxn and specify one input to fire on.
onSet(Value.Observable, int, Callable) - Method in class xdc.services.getset.Group
 

R

removeStale(Fxn) - Method in class xdc.services.getset.Group
Indicate that a Fxn in the group no longer needs to be run.
removeStale() - Method in class xdc.services.getset.Group
Indicate that no Fxn's in the group need to be run.
run() - Method in class xdc.services.getset.Fxn
Execute the Fxn body.
run() - Method in class xdc.services.getset.Group
Run all the Fxns in the Group that need it.

S

schedule(Fxn) - Method in class xdc.services.getset.Group
Mark the given Fxn as stale, and schedule the whole group to be run at the next opportunity.
schedule(Group) - Static method in class xdc.services.getset.Scheduler
Schedule the group for execution.
Scheduler - Class in xdc.services.getset
Schedules execution of Fxns and Groups.
Scheduler() - Constructor for class xdc.services.getset.Scheduler
 
setDebug(boolean) - Static method in class xdc.services.getset.GetSet
Set whether to print debug trace.
setMaxIterations(int) - Static method in class xdc.services.getset.Group
Get the maximum number of iterations allowed in each group, as a debugging aid.
setMaxStackDepth(int) - Static method in class xdc.services.getset.Setters
Set the maximum allowed depth of recursively nested setters, as a debugging aid.
setScheduled(boolean) - Method in class xdc.services.getset.Group
Indicate that the Group has now been scheduled to be run
setStale(boolean) - Method in class xdc.services.getset.Fxn
Set whether the Fxn needs to be executed, typically because one of the inputs has changed value.
setters - Variable in class xdc.services.getset.GetSetData
 
Setters - Class in xdc.services.getset
A setter function to be added to a field of an XDCscript Value.Obj object.
Setters(Object) - Constructor for class xdc.services.getset.Setters
 

T

toString() - Method in class xdc.services.getset.Fxn
 

X

xdc.services.getset - package xdc.services.getset
 

A C E F G H I O R S T X