Class Owned_Operation

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation
    Direct Known Subclasses:
    Keyboard, Programmable_Operation

    abstract class Owned_Operation
    extends Object
    implements net.sourceforge.uiq3.calculator.IOwned_Operation
    Almost all operations are owned by the calculator and need access to the owner.
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • TAG

        private static final String TAG

        class logger tag.

      • Owner

        @NotNull
        protected final @NotNull Calculator Owner
        Owner instance of this Operation
    • Constructor Detail

      • Owned_Operation

        Owned_Operation​(@NotNull
                        @NotNull Calculator Owner)
        Create operation and attach to owning calculator.
        Parameters:
        Owner - Calculator which will call this Opcode
    • Method Detail

      • µReset

        public static void µReset​(@NotNull
                                  @NotNull Calculator Owner)

        reset indirect and token plane

      • toString

        @NotNull
        public @NotNull String toString()
        Operation as java string
        Overrides:
        toString in class Object
        Returns:
        String representation
      • µReset

        public final void µReset()

        reset indirect and token plane

        Specified by:
        µReset in interface net.sourceforge.uiq3.calculator.IOwned_Operation