Class Key_Simple

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation
    Direct Known Subclasses:
    Key_BST_MAC, Key_EXE, Key_GOTO_SAVE, Key_GSB_LOAD, Key_HLT_PAUSE, Key_LBL_IND, Key_M, Key_P, Key_Simple_Hyp

    class Key_Simple
    extends Keyboard
    A simple key without hyperbol was clicked. A simple key is a key which can be directly mapped to two operations and two alpha characters.
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Inv_Alpha

        protected final short Inv_Alpha
        Invers Normal_Alpha characters
      • Inv_Normal

        protected final short Inv_Normal
        Inverse operation
      • Normal

        protected final short Normal
        Normal operations
      • Normal_Alpha

        protected final short Normal_Alpha
        Normal_Alpha characters
    • Constructor Detail

      • Key_Simple

        Key_Simple​(Calculator Owner,
                   short Normal,
                   short Inv_Normal,
                   short Normal_Alpha,
                   short Inv_Alpha)
        Create Key and attach to owner calculator.
        Parameters:
        Owner - Calculator owning the key
        Normal - Normal operations
        Inv_Normal - Inverse operation
        Normal_Alpha - Normal_Alpha characters
        Inv_Alpha - Invers Normal_Alpha characters
    • Method Detail

      • Execute

        public void Execute​(short Key_Code)
                     throws Error
        Throws:
        Error
        See Also:
        IOperation.Execute(short)