This is an internal class. More...
Methods defined here: | |
def | Load |
def | Store |
def | __do_load__ |
def | __do_store__ |
def | __init__ |
Methods inherited from dialog.controller.Controller: | |
def | EnsureType |
def | FromType |
def | RegisterHandlers |
Data descriptors inherited from dialog.controller.Controller: | |
def | __dict__ |
dictionary for instance variables (if defined) | |
def | __weakref__ |
list of weak references to the object (if defined) |
Additional Inherited Members | |
Public Member Functions inherited from dialog.controller.Controller |
This is an internal class.
It's not intended for use outside the table.
RowManagerController
dialog.controller.Controller
builtin.object
def dialog.table.RowManagerController.__init__ | ( | args | ) |
__init__(args)
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.__dict__ | ( | args | ) |
dictionary for instance variables (if defined)
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.__do_load__ | ( | args | ) |
#we don't care about all the TypeHandler and ItemController stuff #in fact, if we run that it'll break
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.__do_store__ | ( | args | ) |
__do_store__(args)
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.__weakref__ | ( | args | ) |
list of weak references to the object (if defined)
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.EnsureType | ( | args | ) |
This routine makes sure that you're saving the same type that was already in the model.
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.FromType | ( | args | ) |
FromType(args)
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.Load | ( | args | ) |
Load(args)
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.RegisterHandlers | ( | args | ) |
Register methods to convert types from the model types to the display types, and from the display types to the model types for a certain name. This is essentially a convenience method, you could do this by overriding load/store; but if this is all of the behaviour you wish to change then this is much much easier. Generally you can do from_model as "lambda val:val". Most of the time you'll be interested in from_display. By default, from_display, will be a method which uses the type you have stored in the model to start with. This generally works fine. However, with lists of values this won't work.
Reimplemented from dialog.controller.Controller.
def dialog.table.RowManagerController.Store | ( | args | ) |
Store(args)
Reimplemented from dialog.controller.Controller.