Package | com.endeca.tools.pagebuilder.editor |
Class | public class EditorModule |
Inheritance | EditorModule mx.modules.Module |
Implements | IEditorModule |
EditorModule
is a simple implementation of
IEditorModule
. It allows editors to easily be specified
using MXML.
Property | Defined by | ||
---|---|---|---|
registeredEditors : Array
The collection of
EditorEntry objects of which this
module is aware. | EditorModule |
Method | Defined by | ||
---|---|---|---|
canCreateEditor(name:QName):Boolean
Indicates whether this module is capable of instantiating an
editor with the given name.
| EditorModule | ||
createEditor(name:QName):IEditor
Attempts to create an editor with the given name.
| EditorModule |
Method | Defined by | ||
---|---|---|---|
matchesName(name:QName):Function
Returns a function of the correct type to be passed to higher-order
Array functions which checks the given name for
equality with the name property of an item. | EditorModule |
registeredEditors | property |
public var registeredEditors:Array
The collection of EditorEntry
objects of which this
module is aware.
See also
canCreateEditor | () | method |
public function canCreateEditor(name:QName):Boolean
Indicates whether this module is capable of instantiating an editor with the given name.
Parametersname:QName — The name
|
Boolean — Whether this module can create such an editor
|
createEditor | () | method |
public function createEditor(name:QName):IEditor
Attempts to create an editor with the given name.
Parametersname:QName — The name
|
IEditor —
An instance of the editor corresponding to the given name
|
matchesName | () | method |
protected function matchesName(name:QName):Function
Returns a function of the correct type to be passed to higher-order
Array
functions which checks the given name for
equality with the name property of an item.
name:QName — The name against which an item will be checked
|
Function |
See also