Class MVCScalarEditCmd
Object
|
+--GrvObject
|
+--MVCCommand
|
+--MVCScalarEditCmd
-
Direct Known Subclasses:
-
EDOSuperMenuCmd
- class
MVCScalarEditCmd
- extends MVCCommand
This class implements a scalar edit command.
This code should work with either standalone
scalar edit controllers, or, with scalar edit
controllers that are embedded within "dual"
controllers that contain editor and viewer
child controllers and therefore may have data
model(s) at the "dual" level to update that are
separate from the edit controller data model.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
Defined in grvMVC.js
|
Method Summary |
String
|
details()
return details of this command for user viewing
|
void
|
doit()
set our controller to the new value
|
Object
|
getFormattedValue( value )
return the formatted version of the given value using controller's formatter
|
void
|
konstructor( <String> viewID )
|
void
|
undo()
set our controller to the old value
|
void
|
updateController(value)
stuff the given value into our controller's view
|
MVCScalarEditCmd
MVCScalarEditCmd()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
details
String details()
return details of this command for user viewing
doit
void doit()
set our controller to the new value
getFormattedValue
Object getFormattedValue( value )
return the formatted version of the given value using controller's formatter
konstructor
void konstructor( <String> viewID )
Parameters:
viewID - ID of controller generating this command
undo
void undo()
set our controller to the old value
updateController
void updateController(value)
stuff the given value into our controller's view
Documentation generated by
JSDoc on Thu Jan 6 12:47:09 2011