Interface Control

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addActionListener​(java.awt.event.ActionListener listener)
      Adds a listener to be notified whenever the state of this control changes, presumably as a result of user interaction.
      javax.swing.Icon getControlIcon()
      Returns an icon to represent this control, visible in the stack.
      java.lang.String getControlLabel()
      Returns a short string to label this control, visible in the stack.
      javax.swing.JComponent getPanel()
      Returns the GUI component that is the business end of this control.
      void removeActionListener​(java.awt.event.ActionListener listener)
      Removes a listener which was previously added.
    • Method Detail

      • getPanel

        javax.swing.JComponent getPanel()
        Returns the GUI component that is the business end of this control. It will typically contain components for user interaction.
        Returns:
        this controls graphical component
      • getControlLabel

        java.lang.String getControlLabel()
        Returns a short string to label this control, visible in the stack.
        Returns:
        label
      • getControlIcon

        javax.swing.Icon getControlIcon()
        Returns an icon to represent this control, visible in the stack.
        Returns:
        icon
      • addActionListener

        void addActionListener​(java.awt.event.ActionListener listener)
        Adds a listener to be notified whenever the state of this control changes, presumably as a result of user interaction.
        Parameters:
        listener - listener to add
      • removeActionListener

        void removeActionListener​(java.awt.event.ActionListener listener)
        Removes a listener which was previously added.
        Parameters:
        listener - to remove