|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
ModelManager
that handles the actions (invokable
methods) of model objects.BoundModel
that handles ModelChangeEvents and provides full two-way
data-binding between a View and its bound model property.Object[]
that can propagate changes
to contained Models up the Model hierarchy, and implements the java.util.List
interface.Selector.fromString(java.lang.String)
to recreate it.
Controller
that
adds:
support for a View to notify its parent Controller when its bound
model object is replaced with another (implemented completely in SwingView
) via the
CHANGE_MODEL_CONTROL_ID ControlID.ModelChangeEvent
.ActionManager
that handles
the actions (invokable methods) of JavaBean model objects.EditorManager
that handles
creation of editors and viewer for properties of JavaBean model objects.PropertyManager
that
handles the properties of JavaBean model objects.BigDecimal
.BigInteger
.java.util.Date
.ModelAction
?
Controller
s throw ControlExceptions while responding to Control
s if something goes wrong that must be reported to the user.View
s and their bound model objects.ServletContext
.
java.util.Date
.DateTimeStringConvertor
is associated with in the default configuration.DateTime
or java.util.Date
.this
.
BeansActionManager
queries models that implement this interface to
test if a ModelAction can be invoked.BeansPropertyManager
queries models that implement this for whether a
property is read-only before falling back on simply looking for a
setter/getter.ModelManager
that handles the creation of
appropriate Viewer and Editor Views for the properties of model objects for a
specific view type.StringConvertor
for the passed Class, else return null.
ScopeServlet.getFormParameters(javax.servlet.http.HttpServletRequest)
.
[row, column]
has been updated.
TableModelListeners
that registered themselves as listeners for this table model.
[firstRow, lastRow]
, inclusive, have been deleted.
[firstRow, lastRow]
, inclusive, have been inserted.
[firstRow, lastRow]
, inclusive, have been updated.
java.lang.Float
.StringConvertor
for the passed Class, else return null.
Selector
.
Selector
.
ScopeServlet.findDefaultPage
.
Transformer.setOutputProperties
suitable
for final HTML output.
SwingView.getViewBounds()
UIStrings
and use MessageFormat
to format it with the message parameters.
UIStrings
.
Selector.asString(org.scopemvc.core.Selector)
and for debug by Selector.toString()
.
Control.matchesID(java.lang.String)
not this method which will be removed
at some point.
Class
objects that represent the formal
parameter types, in declaration order, of the method.
this
.
Transformer.setOutputProperties
suitable
for debug XML output.
BasicController.doHandleControl(org.scopemvc.core.Control)
.
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.
BasicController.handleControl(org.scopemvc.core.Control)
when a Control
throws a ControlException
.
Page.populateModel
.
Selector
in the
passed model object to a new value.
java.lang.Integer
.Selector
that identifies a property by its
int
index within the parent model object.getClickCountToStart()
.
null
.
ServletContext
that
handles showView() for JSPView implementations by redirecting to a JSP.Page
.ScopeServlet
for use in webapps
that use org.scopemvc.view.servlet.jsp: this installs a JSPContext
.List
that can propagate changes to
contained Models up the Model hierarchy.ListModelSource
s as an active BasicModel.ListModelAdaptor
to wrap a Collection, List, Array,
Enumeration or Iterator as the source of a list of model objects.LocalizedException.getLocalizedMessage()
by looking up its
message as an ID that is looked up in UIStrings
to present the user with a localised message: message parameters
passed in are substituted in the message as java.text.MessageFormat.ActionManager
's API,
taking a ModelAction to describe the method to invoke.ActiveBoundModel
delegate must implement this
interface so that ActiveBoundModel can change the state of the View through
this generic interface.ModelChangeEventSource
.
this
(and propagating the original Selector).
ModelChangeEventSource
.
ModelChangeListener
s
of a change in state of a model object implementing ModelChangeEventSource
.ModelChangeEvent
s when their
state changes: an implementation of the Observer Pattern.ModelChangeEvent
s fired by a model object
implementing ModelChangeEventSource when it changes state.ModelChangeEvent
.null
.Control
s
issued by its View in response to user interaction,
or from child Controllers as a result of the hierarchical chain of responsiblity
(see
HMVC: The layered pattern for developing strong client tiers
for a general discussion of this pattern
).BasicModel
,
a simple implementation of the
ModelChangeEventSource
interface, with a ModelChangeEvent infrastructure based
around synchronous event despatch similar to the JavaBeans
PropertyChangeSupport strategy.ServletView
,
a "container" used to hold
a set of
Page
s
that a Controller in a web application manages.BasicModel
)
or automatically for model objects that implement event firing.ScopeServlet.doPost
.
<PROPERTY_ID_PREFIX>SelectorDescription
as [property_description, property_value] pairs
<PROPERTY_ID_PREFIX>SelectorDescription
as [property_description, property_value] pairs
ModelManager
that provides access to the
properties of model objects.Selector
.SList
, SComboBox
, STable
.SComboBoxModel
to bind to model properties
for the list of items and to bind the selected item to a property.ViewContext
that handles
showView(), hideView() and showError() for servlet implementations.Page
s the allows the currently
visible Page to be set.Selector
in the
passed model object to a new value.
Selector
in the
passed model object to a new value.
Date
s into
String
s.
SwingView.setViewBounds(java.awt.Rectangle)
Set
that can propagate changes to
contained Models up the Model hierarchy.valueAsString
is null
.
this
against the head of
another Selector list -- ie a shallow compare operation (not including
the chained selectors).
ViewContext
.
JSPContext.BOUND_MODEL
key.
AbstractXSLPage.getContentType()
.
the display mode
)
parented to either currently focussed window, or last shown, or null
shared frame.
SLabel
instance with no image and with an empty
string for the title.
SLabel
instance with the specified image.
SLabel
instance with the specified image and
horizontal alignment.
SLabel
instance with the specified text.
SLabel
instance with the specified text, image,
and horizontal alignment.
SLabel
instance with the specified text and
horizontal alignment.
SListModel
to bind to model properties, and a
SListSelectionModel
to bind the selected item to a property.SwingContext
, and which causes its owning view
to issue a Control when selected.STextField
.STable
or JTable
using JTextField
.JTextComponent
.AbstractXSLPage.generateXMLDocument(org.xml.sax.ContentHandler)
and processing
the result with the XSLT.
Long
Integer
Float
Double
java.util.Date
.Parsing formats are
successively used to try to parse until one is successful or exception is
thrown.
Number
as
returned by NumberFormat
.
BigInteger
.
String
to produce corresponding object.
BigDecimal
.
String
representation and back from String
into object instances.Selector
that identifies a property by its
String
index within the parent model object.java.lang.String
.ActiveBoundModel
that
forces updates to the parent View onto the AWTEvent thread because Swing
isn't thread-safe.ViewContext
to
show views inside JFrames or JDialogs and show errors using JOptionPanes.TimeStringConvertor
is
associated with in the default configuration.Time
or java.util.Date
.StringConvertor
.
StringConvertor
.
StringConvertor
.
StringConvertor
.
ScopeServlet.handleValidationFailures(org.scopemvc.view.servlet.Page, java.util.List)
puts the list of ValidationFailure
s in
the properties of the ViewContext
under this key for later retrieval by a Controller.
validationFailed(java.lang.Exception)
and
validationSuccess()
by setting the
background colour of the parent component to a new colour and being able to
generate an "error tooltip" that is coloured and contains the localized error
message from the validation failure.String
.
AbstractXSLPage
that uses Scope's ModelManager
implementations to serialise its entire bound model object to an XML
document.ScopeServlet
for use in webapps
that use org.scopemvc.view.servlet.xml: this initialises the SystemID
of AbstractXSLPage
to point to the root
of the deployed web archive, which is where all XSL files are referenced
from.ServletContext
that
that shows AbstractXSLPage
s.AbstractXSLPage.setSystemID(java.lang.String)
.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |