|
|||||||||
| Home >> All >> org >> scopemvc >> [ core overview ] | PREV NEXT | ||||||||
A
- ACCESS_CHANGED - Static variable in interface org.scopemvc.core.ModelChangeTypes
- A property's read-only state changed.
- ActionManager - class org.scopemvc.core.ActionManager.
- ActionManager is a ModelManager that handles the actions (invokable methods) of model objects.
- ActionManager() - Constructor for class org.scopemvc.core.ActionManager
- addModelChangeListener(ModelChangeListener) - Method in interface org.scopemvc.core.ModelChangeEventSource
- asString(Selector) - Static method in class org.scopemvc.core.Selector
- Flatten the Selector list to a String that could
be passed into
Selector.fromString(java.lang.String)55 to recreate it.
C
- Control - class org.scopemvc.core.Control.
- A token passed up the chain of Controllers to invoke a piece of presentation logic.
- Control(String) - Constructor for class org.scopemvc.core.Control
- Create a Control with a unique String ID and no parameter.
- Control(String, Object) - Constructor for class org.scopemvc.core.Control
- Create a Control with a unique String ID and a parameter.
- ControlException - exception org.scopemvc.core.ControlException.
- Controllers throw ControlExceptions while responding to Controls if something goes wrong that must be reported to the user.
- ControlException(String) - Constructor for class org.scopemvc.core.ControlException
- ControlException(String, Object) - Constructor for class org.scopemvc.core.ControlException
- ControlException(String, Object[]) - Constructor for class org.scopemvc.core.ControlException
- Controller - interface org.scopemvc.core.Controller.
- Controllers arranged in a hierarchy of chains of command provide the structure of an application's logic, mirroring independent contexts of discrete Views and their bound model objects.
- canDoAction(Object, ModelAction) - Method in class org.scopemvc.core.ActionManager
- Can this model do the passed ModelAction?
- chain(Selector) - Method in class org.scopemvc.core.Selector
- Add a Selector on the end of this list.
D
- DELIMITER - Static variable in class org.scopemvc.core.Selector
- Separator character between Selectors expressed as a String.
- deepClone() - Method in class org.scopemvc.core.Selector
- Return a clone of the entire list of
Selectors from
this. - doAction(Object, ModelAction, Object[]) - Method in class org.scopemvc.core.ActionManager
- Generic interface to perform arbitrary actions on a model object.
E
- EditorManager - class org.scopemvc.core.EditorManager.
- EditorManager is a ModelManager that handles the creation of appropriate Viewer and Editor Views for the properties of model objects for a specific view type.
- EditorManager() - Constructor for class org.scopemvc.core.EditorManager
- equals(Object) - Method in class org.scopemvc.core.Control
- equals(Object) - Method in class org.scopemvc.core.Selector
- A deep compare, following down the list of selectors.
F
- fireModelChange(int, Selector) - Method in interface org.scopemvc.core.ModelChangeEventSource
- fromInt(int) - Static method in class org.scopemvc.core.Selector
- Make a simple Selector to identify a property at an int index.
- fromString(String) - Static method in class org.scopemvc.core.Selector
- Make a Selector to identify a property by its String name, or to create a Selector list that identifies a property by navigating a hierarchy of submodels.
G
- get(Object, Selector) - Method in class org.scopemvc.core.PropertyManager
- Return the value of the property identified by the passed Selector.
- getBoundModel() - Method in interface org.scopemvc.core.View
- getController() - Method in interface org.scopemvc.core.View
- getEditor(String, Object, Selector) - Method in class org.scopemvc.core.EditorManager
- getIndex() - Method in class org.scopemvc.core.IntIndexSelector
- getIndex() - Method in class org.scopemvc.core.StringIndexSelector
- getInstance(Class) - Static method in class org.scopemvc.core.ActionManager
- getInstance(Object) - Static method in class org.scopemvc.core.ActionManager
- getInstance(Class) - Static method in class org.scopemvc.core.EditorManager
- getInstance(Object) - Static method in class org.scopemvc.core.EditorManager
- getInstance(Class) - Static method in class org.scopemvc.core.PropertyManager
- getInstance(Object) - Static method in class org.scopemvc.core.PropertyManager
- getLast() - Method in class org.scopemvc.core.Selector
- Get the last Selector in the list.
- getLocalizedSourceControlName() - Method in class org.scopemvc.core.ControlException
- Use the source Control ID to get a localised name from the UIStrings.
- getMethodName() - Method in class org.scopemvc.core.ModelAction
- getModel() - Method in interface org.scopemvc.core.Controller
- getModel() - Method in interface org.scopemvc.core.ModelChangeEvent
- Get the source Model of this event.
- getName() - Method in class org.scopemvc.core.Control
- Deprecated. use
Control.matchesID(java.lang.String)55 not this method which will be removed at some point. - getName() - Method in class org.scopemvc.core.IntIndexSelector
- getName() - Method in class org.scopemvc.core.Selector
- Used to serialise Selectors
Selector.asString(org.scopemvc.core.Selector)55 and for debug bySelector.toString()55 . - getName() - Method in class org.scopemvc.core.StringIndexSelector
- getNext() - Method in class org.scopemvc.core.Selector
- Get the next Selector in the list, if any.
- getParameter() - Method in class org.scopemvc.core.Control
- getParameterClasses() - Method in class org.scopemvc.core.ModelAction
- getParent() - Method in interface org.scopemvc.core.Controller
- getPropertyClass(Object, Selector) - Method in class org.scopemvc.core.PropertyManager
- Return the Class of a property.
- getSelector() - Method in interface org.scopemvc.core.ModelChangeEvent
- Get the Selector for the contents that changed to cause broadcast of this event.
- getSelector() - Method in interface org.scopemvc.core.PropertyView
- getSelectorFor(Object, Object) - Method in class org.scopemvc.core.PropertyManager
- Return a Selector that would get() a property equals() to the passed Object.
- getSelectorIterator(Object) - Method in class org.scopemvc.core.PropertyManager
- Return an Iterator that iterates over Selectors for all properties of the passed model object.
- getShallowCopy() - Method in class org.scopemvc.core.IntIndexSelector
- getShallowCopy() - Method in class org.scopemvc.core.Selector
- Return a shallow copy of the head of
this. - getShallowCopy() - Method in class org.scopemvc.core.StringIndexSelector
- getTopParent() - Method in interface org.scopemvc.core.Controller
- Find the top-most parent Controller at the head of the chain of command.
- getType() - Method in interface org.scopemvc.core.ModelChangeEvent
- Return the type of change this event notifies.
- getView() - Method in interface org.scopemvc.core.Controller
- getViewer(String, Object, Selector) - Method in class org.scopemvc.core.EditorManager
H
- handleControl(Control) - Method in interface org.scopemvc.core.Controller
- Respond to a Control (from either a View or a child Controller) or pass up to the parent Controller in the chain of command if the Control is not recognised in this context.
- hasProperty(Object, Selector) - Method in class org.scopemvc.core.PropertyManager
- Does the passed model object contain the property identified by the passed Selector?
- hashCode() - Method in class org.scopemvc.core.Control
- hashCode() - Method in class org.scopemvc.core.IntIndexSelector
- hashCode() - Method in class org.scopemvc.core.StringIndexSelector
I
- IntIndexSelector - class org.scopemvc.core.IntIndexSelector.
-
An implementation of Selector that identifies a
property by its
intindex within the parent model object. - IntIndexSelector(int) - Constructor for class org.scopemvc.core.IntIndexSelector
- Package private for factory to create.
- id - Variable in class org.scopemvc.core.Control
- index - Variable in class org.scopemvc.core.IntIndexSelector
- The
intindex of the selected property. - index - Variable in class org.scopemvc.core.StringIndexSelector
- The
Stringindex of the selected property. - isMatched() - Method in class org.scopemvc.core.Control
- Has this Control been matched by a Controller yet?
- isReadOnly(Object, Selector) - Method in class org.scopemvc.core.PropertyManager
- Is a property read-only? If the passed Selector is null then is the model object as a whole read-only?
- issueControl(Control) - Method in interface org.scopemvc.core.View
- Issue a Control to the View's parent (owner) Controller.
L
- LOG - Static variable in class org.scopemvc.core.ModelManager
- LOG - Static variable in class org.scopemvc.core.Selector
M
- ModelAction - class org.scopemvc.core.ModelAction.
- Actions on model objects can be invoked via ActionManager's API, taking a ModelAction to describe the method to invoke.
- ModelAction(String) - Constructor for class org.scopemvc.core.ModelAction
- ModelAction(String, Class) - Constructor for class org.scopemvc.core.ModelAction
- ModelAction(String, Class[]) - Constructor for class org.scopemvc.core.ModelAction
- ModelChangeEvent - interface org.scopemvc.core.ModelChangeEvent.
- Event that is broadcast to notify interested ModelChangeListeners of a change in state of a model object implementing ModelChangeEventSource.
- ModelChangeEventSource - interface org.scopemvc.core.ModelChangeEventSource.
- Implemented by model objects that fire ModelChangeEvents when their state changes: an implementation of the Observer Pattern.
- ModelChangeListener - interface org.scopemvc.core.ModelChangeListener.
- Implemented by objects that can receive notification when a model object implementing ModelChangeEventSource changes state.
- ModelChangeTypes - interface org.scopemvc.core.ModelChangeTypes.
- Constants for types of model change used in ModelChangeEvent.
- ModelManager - class org.scopemvc.core.ModelManager.
- ModelManagers provide decoupled operations on model objects including access to properties and invocation of actions.
- ModelManager() - Constructor for class org.scopemvc.core.ModelManager
- make(String, Class) - Static method in class org.scopemvc.core.ModelManager
- Create a manager by looking up the class from ScopeConfig by the manager name.
- markMatched() - Method in class org.scopemvc.core.Control
- markUnmatched() - Method in class org.scopemvc.core.Control
- matched - Variable in class org.scopemvc.core.Control
- matchesID(String) - Method in class org.scopemvc.core.Control
- Use this method in Controller's doHandleControl to discover Controls that you want to handle.
- methodName - Variable in class org.scopemvc.core.ModelAction
- modelChanged(ModelChangeEvent) - Method in interface org.scopemvc.core.ModelChangeEventSource
- Implement ModelChangeListener to respond to a ModelChangeEvent from a contained sub-model that needs changes to be propogated up the model hierarchy.
- modelChanged(ModelChangeEvent) - Method in interface org.scopemvc.core.ModelChangeListener
- Invoked to notify listeners of a change in the state of a ModelChangeEventSource.
- modelClass - Variable in class org.scopemvc.core.ModelManager
N
- NAME - Static variable in class org.scopemvc.core.ActionManager
- NAME - Static variable in class org.scopemvc.core.EditorManager
- NAME - Static variable in class org.scopemvc.core.PropertyManager
- next - Variable in class org.scopemvc.core.Selector
- Link to next Selector in the list.
O
- org.scopemvc.core - package org.scopemvc.core
P
- PropertyManager - class org.scopemvc.core.PropertyManager.
- PropertyManager is a ModelManager that provides access to the properties of model objects.
- PropertyManager() - Constructor for class org.scopemvc.core.PropertyManager
- PropertyView - interface org.scopemvc.core.PropertyView.
- A View that can be bound to a property by specifying a Selector.
- parameter - Variable in class org.scopemvc.core.Control
- parameterClasses - Variable in class org.scopemvc.core.ModelAction
- populateControlException(ControlException) - Method in class org.scopemvc.core.Control
- For use by a ControlException handler only, not for application writers.
R
- removeLast() - Method in class org.scopemvc.core.Selector
- Remove the terminal Selector.
- removeModelChangeListener(ModelChangeListener) - Method in interface org.scopemvc.core.ModelChangeEventSource
S
- Selector - class org.scopemvc.core.Selector.
- An identifier for model properties.
- Selector() - Constructor for class org.scopemvc.core.Selector
- Package private ctor for the factory.
- StringIndexSelector - class org.scopemvc.core.StringIndexSelector.
-
An implementation of Selector that identifies a
property by its
Stringindex within the parent model object. - StringIndexSelector(String) - Constructor for class org.scopemvc.core.StringIndexSelector
- Package private for factory to create.
- set(Object, Selector, Object) - Method in class org.scopemvc.core.PropertyManager
- Set the value of the property identified by a Selector in the passed model object to a new value.
- setBoundModel(Object) - Method in interface org.scopemvc.core.View
- setController(Controller) - Method in interface org.scopemvc.core.View
- setIndex(int) - Method in class org.scopemvc.core.IntIndexSelector
- setIndex(String) - Method in class org.scopemvc.core.StringIndexSelector
- setModel(Object) - Method in interface org.scopemvc.core.Controller
- setModel(ModelChangeEventSource) - Method in interface org.scopemvc.core.ModelChangeEvent
- Set the source of this event.
- setNext(Selector) - Method in class org.scopemvc.core.Selector
- Set the next Selector in the list.
- setParameter(Object) - Method in class org.scopemvc.core.Control
- setSelector(Selector) - Method in interface org.scopemvc.core.ModelChangeEvent
- Set the Selector representing the contents that changed to cause broadcast of this event.
- setSelector(Selector) - Method in interface org.scopemvc.core.PropertyView
- setSourceControlID(String) - Method in class org.scopemvc.core.ControlException
- setType(int) - Method in interface org.scopemvc.core.ModelChangeEvent
- Set the type of change this event notifies of.
- setView(View) - Method in interface org.scopemvc.core.Controller
- shallowEquals(Selector) - Method in class org.scopemvc.core.IntIndexSelector
- shallowEquals(Selector) - Method in class org.scopemvc.core.Selector
- Compare the head Selector of
thisagainst the head of another Selector list -- ie a shallow compare operation (not including the chained selectors). - shallowEquals(Selector) - Method in class org.scopemvc.core.StringIndexSelector
- sourceControlID - Variable in class org.scopemvc.core.ControlException
- startsWith(Selector) - Method in class org.scopemvc.core.Selector
- Does this Selector list start with the list passed in?
T
- toString() - Method in class org.scopemvc.core.Control
- toString() - Method in class org.scopemvc.core.ModelAction
- toString() - Method in class org.scopemvc.core.Selector
- For debug.
V
- VALUE_ADDED - Static variable in interface org.scopemvc.core.ModelChangeTypes
- A property was added.
- VALUE_CHANGED - Static variable in interface org.scopemvc.core.ModelChangeTypes
- The value of a property has changed.
- VALUE_REMOVED - Static variable in interface org.scopemvc.core.ModelChangeTypes
- A property was removed.
- View - interface org.scopemvc.core.View.
- A View implements the presentation of a model object to the user and allows interaction with the model object.
A C D E F G H I L M N O P R S T V
|
|||||||||
| Home >> All >> org >> scopemvc >> [ core overview ] | PREV NEXT | ||||||||