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
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
model Model<Operation>
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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.
read / writeinherited

Methods

abort() → void
inherited
buttonDown(Operation key) → void
inherited
buttonUp(Operation key) → void
inherited
changeState<T extends ControllerState>(T v) → T
inherited
getCalculation(ArgDone ad) → (void Function(Model<Operation>)?)
inherited
gosubDoneState(ProgramRunner runner()) ControllerState
inherited
gosubEntryDone(RunProgramArgInputState from, ArgDone 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
handleLetterLabel(LetterLabel operation) → void
handleNumberKey(int num) → void
handleOnOff() → void
inherited
handlePR() → void
inherited
handlePSE() → void
handleRunStop() → void
handleShift(ShiftKey k) → void
inherited
handleShow(IntegerDisplayMode mode) → void
handleShowImaginary() → void
inherited
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(Operation op, ArgDone arg) → void
Process an Operation with the argument ArgDone, once the argument value is available.
inherited
onChangedTo() → void
Called by the controller when this state is changed to
inherited
terminateDigitEntry() → void
inherited
toString() String
A string representation of this object.
inherited
unreachable() → void
Convenience method to call from an unreachable operation on a state
inherited

Operators

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