tweed.binding
Class Binding
java.lang.Object
|
+--tweed.binding.Binding
- public abstract class Binding
- extends java.lang.Object
Base class for transferring data between model and view.
Subclasses must declare a constructor taking both as input parameters.
Model and view members must be declared final. Both should be declared
with the strongest possible type.
This class defines templates methods, which are especially useful
for managing threading issues and exceptions.
- Version:
- $Id$
- Author:
- Laurent Caillette
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Binding
protected Binding(Context context)
getContext
protected final Context getContext()
createMessage
public InputValidationHub.ValidationMessageBuilder createMessage(java.lang.String message)
updateView
public final void updateView()
updateModel
public final void updateModel()
doUpdateView
protected abstract void doUpdateView()
doUpdateModel
protected abstract void doUpdateModel()
Copyright © 2003 Laurent Caillette. All Rights Reserved.