exports.klass = TextInputPopUpScreen = function(promise, cb) { Screen.klass.apply(this); this.__promise = promise; this.__cb = cb; this.__rt = null; this.__step = 0; this.__promise.then(Callback.make( this.__done, this )); }
exports.klass = TextInputPopUpScreen = function(cb, title, help, accept, cancel) { Screen.klass.apply(this); this.__cb = cb; this.__textField = null; this.__cancelButton = null; this.__acceptButton = null; this.__title = title; this.__help = Util.deflt(help, 'Tap to enter a value'); this.__accept = Util.deflt(accept, 'Accept'); this.__cancel = Util.deflt(cancel, 'Cancel'); }