Class Button_3<Canvas_Type extends net.sourceforge.uiq3.calculator.Canvas,​Key_Type extends net.sourceforge.uiq3.calculator.Key>

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible, net.sourceforge.uiq3.calculator.IKey, net.sourceforge.uiq3.ui.IButton

    @JavaBean(description="Calculator Button with three functions")
    public class Button_3<Canvas_Type extends net.sourceforge.uiq3.calculator.Canvas,​Key_Type extends net.sourceforge.uiq3.calculator.Key>
    extends net.sourceforge.uiq3.calculator.Button<Canvas_Type,​Key_Type>
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    See Also:
    Serialized Form
    • Field Detail

      • Logger

        private static final Logger Logger
        class logger instance
      • TAG

        private static final String TAG
        class logger tag.
      • Alpha_Text

        protected final JLabel Alpha_Text
      • Shift_Text

        protected final JLabel Shift_Text
      • Standard_Button

        protected final JButton Standard_Button
    • Constructor Detail

      • Button_3

        public Button_3()
        Creates new form Button_3
      • Button_3

        protected Button_3​(@NotNull
                           Canvas_Type canvas,
                           @NotNull
                           Key_Type key,
                           int keyNr)
        Creates new form Button_3
    • Method Detail

      • getButton

        @NotNull
        public JButton getButton()
        get standard button for click operations.
        Specified by:
        getButton in class net.sourceforge.uiq3.calculator.Button<Canvas_Type extends net.sourceforge.uiq3.calculator.Canvas,​Key_Type extends net.sourceforge.uiq3.calculator.Key>
        Returns:
        the actual button
      • initComponents

        private void initComponents()
      • Standard_ButtonActionPerformed

        private void Standard_ButtonActionPerformed​(ActionEvent evt)
      • toString

        @TestOnly
        @NotNull
        public @NotNull String toString()
        Overrides:
        toString in class net.sourceforge.uiq3.calculator.Button<Canvas_Type extends net.sourceforge.uiq3.calculator.Canvas,​Key_Type extends net.sourceforge.uiq3.calculator.Key>