LimitedState class Null safety
Supertype for the three states that process pressed functions from LimitedOperations (which includes all NormalOperations). This is the contravariant typing relationship mentioned in our library overview. cf. the controller.operations library's class diagram, notably the dashed subtype line from LimitedOperation to NormalOperation.
- Inheritance
-
- Object
- ControllerState
- LimitedState
- Implementers
Constructors
- LimitedState(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
Methods
-
abort(
) → void -
inherited
-
inherited
-
inherited
-
changeState<
T extends ControllerState> (T v) → T -
inherited
-
getCalculation(
ArgDone ad) → (void Function(Model< Operation> )?) -
gosubDoneState(
ProgramRunner runner()) → ControllerState -
gosubEntryDone(
RunProgramArgInputState from, ArgDone label) → void -
handleBackspace(
) → void -
handleBST(
) → void -
handleClearPrefix(
) → void -
handleClearProgram(
) → void -
handleDecimalPoint(
) → void -
handleGotoDot(
int value) → void -
handleOnOff(
) → void -
handlePR(
) → void -
handleShift(
ShiftKey k) → void -
handleShowImaginary(
) → void -
handleShowMem(
) → void -
handleShowStatus(
) → void -
handleSST(
) → 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.
-
onChangedTo(
) → void -
Called by the controller when this state is changed to
inherited
-
terminateDigitEntry(
) → void -
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