Class Key_P

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation

    final class Key_P
    extends Key_Simple
    The Mode key was clicked
    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.

    • Constructor Detail

      • Key_P

        Key_P​(Calculator Owner,
              short Normal,
              short Inv_Normal,
              short Alpha,
              short Inv_Alpha)
        Parameters:
        Owner - Calculator owning the key
        Normal - Normal operations
        Inv_Normal - Inverse operation
        Alpha - Normal_Alpha characters
        Inv_Alpha - Invers Normal_Alpha characters
    • Method Detail

      • Execute

        public void Execute​(short Key_Code)
                     throws Error
        Specified by:
        Execute in interface net.sourceforge.uiq3.calculator.IOperation
        Overrides:
        Execute in class Key_Simple
        Throws:
        Error - something went wrong
        See Also:
        IOperation.Execute(short)