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_RSSAVE, Key_M, Key_P, Key_Simple_2nd, Key_Simple_BaseN

    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

      • TAG

        private static final String TAG

        class logger tag.

      • logger

        private static final Logger logger

        class logger instance

      • 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 net.sourceforge.uiq3.calculator.Error
        Throws:
        net.sourceforge.uiq3.calculator.Error
        See Also:
        IOperation.Execute(short)