ActiveState class Null safety

Supertype for the two states that process pressed and calculation functions for NormalOperations. This is where stack lift is exposed, because usually stack lift is enabled after performing a calculation on the model. It is performed when entering digits, or recalling a value from a register or lastX.

Inheritance
Mixed in types
Implementers

Constructors

ActiveState(Controller con)

Properties

controller Controller
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
model Model<Operation>
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackLiftEnabled bool
Tell if stack lift is enabled. This is considered part of the controller's state, but note that the status from a running program reflects back to when a program isn't running. This is important for proper functioning of the R/S key, and SST. The value comes from the RealController.
@protected, @protected, read / write, inherited

Methods

buttonDown(Operation key) → void
inherited
buttonUp(Operation key) → void
inherited
changeState<T extends ControllerState>(T v) → T
@protected, inherited
getCalculation(Operation o) → (void Function?(Model<Operation>)?)
@protected, inherited
gosubEntryDone(GosubArgInputState from, int label) → void
inherited
handleBackspace() → void
inherited
handleBST() → void
inherited
handleCHS() → void
handleClearPrefix() → void
inherited
handleClearProgram() → void
inherited
handleDecimalPoint() → void
inherited
handleEEX() → void
handleGotoDot(int value) → void
inherited
handleNumberKey(int num) → void
handleOnOff() → void
inherited
handlePR() → void
inherited
handlePSE() → void
handleRunStop() → void
handleShift(ShiftKey k) → void
inherited
handleShow(IntegerDisplayMode mode) → void
handleShowMem() → void
inherited
handleShowStatus() → void
inherited
handleSST() → void
inherited
liftStackIfEnabled() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onArgComplete(OperationArg arg, int argValue) → void
Process an Operation that takes an OperationArg, once the argument value is available.
inherited
onChangedTo() → void
Called by the controller when this state is changed to
inherited
toString() String
A string representation of this object. [...]
inherited
unreachable() → void
Convenience method to call from an unreachable operation on a state
@protected, inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited