Packageweavejs.path
Classpublic class WeavePathUI
InheritanceWeavePathUI Inheritance WeavePathData Inheritance WeavePath Inheritance Object



Public Properties
 PropertyDefined By
 InheritedColumnUtils : *
WeavePathData
 InheritedDynamicColumn : *
WeavePathData
 InheritedExtendedDynamicColumn : *
WeavePathData
 InheritedIAttributeColumn : *
WeavePathData
 InheritedIDataSource : *
WeavePathData
 InheritedIKeySet : *
WeavePathData
 InheritedIKeySetCallbackInterface : *
WeavePathData
 InheritedindexToQKey : Function
WeavePathData
 InheritedIQualifiedKey : *
WeavePathData
 Inheritedprobe_keyset : WeavePathData
WeavePathData
 InheritedqkeyToIndex : Function
WeavePathData
 InheritedqkeyToString : Function
WeavePathData
 InheritedReferencedColumn : *
WeavePathData
 Inheritedselection_keyset : WeavePathData
WeavePathData
 InheritedstringToQKey : Function
WeavePathData
 Inheritedsubset_filter : WeavePathData
WeavePathData
 Inheritedweave : Weave
A pointer to the Weave instance.
WeavePath
Protected Properties
 PropertyDefined By
 Inherited_parent : WeavePath
WeavePath
 Inherited_path : Array
WeavePath
Public Methods
 MethodDefined By
  
WeavePathUI(weave:Weave, basePath:Array)
WeavePathUI
 Inherited
addCallback(relevantContext:Object, callback:Function, triggerCallbackNow:Boolean = false, immediateMode:Boolean = false, delayWhileBusy:Boolean = true):WeavePath
Adds a callback to the object at the current path.
WeavePath
 Inherited
addKeys(... relativePath_qkeyStringArray):WeavePath
Adds the specified keys to the KeySet at this path.
WeavePathData
 Inherited
addKeySetCallback(callback:Function, triggerCallbackNow:Boolean = false):WeavePath
Adds a callback to the KeySet specified by this path which will return information about which keys were added or removed to/from the set.
WeavePathData
 Inherited
call(func:Function, ... args):WeavePath
Calls a function using the current WeavePath object as the 'this' value.
WeavePath
 Inherited
diff(... relativePath_diff):WeavePath
Applies a session state diff to the object at the current path or relative to the current path.
WeavePath
 Inherited
exec(script_or_function:*, callback:Function = null):WeavePath
Evaluates an ActionScript expression using the current path, vars, and libs.
WeavePath
 Inherited
filterKeys(... relativePath_qkeyStringArray):Array
Intersects the specified keys with the KeySet at this path.
WeavePathData
 Inherited
flushKeys(... relativePath):WeavePath
Forces a flush of the add/remove key buffers for the KeySet specified by this path.
WeavePathData
 Inherited
forEach(items:Object, visitorFunction:Function):WeavePath
Applies a function to each item in an Array or an Object.
WeavePath
 Inherited
forEachChild(... relativePath_visitorFunction):WeavePath
Calls a function for each child of the current WeavePath or the one specified by a relativePath.
WeavePath
 Inherited
forEachName(... relativePath_visitorFunction):WeavePath
Calls a function for each child of the current WeavePath or the one specified by a relativePath.
WeavePath
 Inherited
getChildren(... relativePath):Array
Gets an Array of child WeavePath objects under the object at the current path or relative to the current path.
WeavePath
 Inherited
getDiff(... relativePath_previousState):Object
Gets the changes that have occurred since previousState for the object at the current path or relative to the current path.
WeavePath
 Inherited
getKeys(... relativePath):Array
Returns an array of alphanumeric strings uniquely corresponding to the KeySet referenced by this path.
WeavePathData
 Inherited
getLabel(... relativePath):String
Gets the previously-stored human-readable label for an ILinkableObject.
WeavePathData
 Inherited
getNames(... relativePath):Array
Gets an Array of child names under the object at the current path or relative to the current path.
WeavePath
 Inherited
getObject(... relativePath):ILinkableObject
WeavePath
 Inherited
getPath(... relativePath):Array
Returns a copy of the current path Array or the path Array of a descendant object.
WeavePath
 Inherited
getProperties(... relativePath):Object
Constructs and returns an object containing keys corresponding to the children of the session state object referenced by this path, the values of which are new WeavePath objects.
WeavePathData
 Inherited
getReverseDiff(... relativePath_otherState):Object
Gets the changes that would have to occur to get to another state for the object at the current path or relative to the current path.
WeavePath
 Inherited
getSimpleType(... relativePath):String
Gets the simple type (unqualified class name) of the object at the current path or relative to the current path.
WeavePath
 Inherited
getState(... relativePath):Object
Gets the session state of an object at the current path or relative to the current path.
WeavePath
 Inherited
getType(... relativePath):String
Gets the type (qualified class name) of the object at the current path or relative to the current path.
WeavePath
 Inherited
getTypedState(... relativePath):Object
WeavePath
 Inherited
getUntypedState(... relativePath):Object
WeavePath
 Inherited
getValue(script_or_function:*, ... args):Object
Returns the value of an ActionScript expression or variable using the current path as the 'this' argument.
WeavePath
 Inherited
label(... relativePath_label):WeavePath
Sets a human-readable label for an ILinkableObject to be used in editors.
WeavePathData
 Inherited
migrate(source:WeavePath, destination:Weave):void
[static]
WeavePath
 Inherited
Returns to the previous WeavePath that spawned the current one with push().
WeavePath
 Inherited
push(... relativePath):WeavePath
Creates a new WeavePath relative to the current one.
WeavePath
  
pushPlotter(plotterName:String, plotterType:Object = null):WeavePath
This is a shortcut for pushing the path to a plotter from the current path, which should reference a visualization tool.
WeavePathUI
 Inherited
remove(... relativePath):WeavePath
Removes a dynamically created object.
WeavePath
 Inherited
removeCallback(relevantContext:Object, callback:Function):WeavePath
Removes a callback from the object at the current path or from everywhere.
WeavePath
 Inherited
removeKeys(... relativePath_qkeyStringArray):WeavePath
Removes the specified keys to the KeySet at this path.
WeavePathData
 Inherited
reorder(... orderedNames):WeavePath
Reorders the children of an ILinkableHashMap at the current path.
WeavePath
 Inherited
request(... relativePath_objectType):WeavePath
Requests that an object be created if it doesn't already exist at the current path (or relative path, if specified).
WeavePath
 Inherited
retrieveRecords(pathMapping:Object, options:Object = null):Array
Retrieves a list of records defined by a mapping of property names to column paths or by an array of column names.
WeavePathData
 Inherited
setColumn(metadata:Object, dataSourceName:String):WeavePath
Sets the metadata for a column at the current path.
WeavePathData
 Inherited
setColumns(metadataMapping:Object, dataSourceName:String):WeavePathData
Sets the metadata for multiple columns that are children of the current path.
WeavePathData
 Inherited
setKeys(... relativePath_qkeyStringArray):WeavePath
Replaces the contents of the KeySet at this path with the specified keys.
WeavePathData
 Inherited
state(... relativePath_state):WeavePath
Sets the session state of the object at the current path or relative to the current path.
WeavePath
 Inherited
toString():String
Provides a human-readable string containing the path.
WeavePath
 Inherited
trace(... args):WeavePath
Calls weaveTrace() in Weave to print to the log window.
WeavePath
Protected Methods
 MethodDefined By
 Inherited
_assertParams(methodName:String, args:Array, minLength:int = 1):Boolean
[static]
WeavePath
 Inherited
_failMessage(methodName:String, message:String, path:Array = null):*
[static]
WeavePath
 Inherited
_failObject(methodName:String, path:Array):*
[static]
WeavePath
 Inherited
_failPath(methodName:String, path:Array):*
[static]
WeavePath
Constructor Detail
WeavePathUI()Constructor
public function WeavePathUI(weave:Weave, basePath:Array)



Parameters
weave:Weave
 
basePath:Array
Method Detail
pushPlotter()method
public function pushPlotter(plotterName:String, plotterType:Object = null):WeavePath

This is a shortcut for pushing the path to a plotter from the current path, which should reference a visualization tool.

Parameters

plotterName:String — (Optional) The name of an existing or new plotter. If omitted and the current path points to a LayerSettings object, the corresponding plotter will be used. Otherwise if omitted the default plotter name ("plot") will be used.
 
plotterType:Object (default = null) — (Optional) The type of plotter to request if it doesn't exist yet.

Returns
WeavePath — A new WeavePath object which remembers the current WeavePath as its parent.