Class AttributableButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class AttributableButton extends JButton
A buton that can hold an attribute
Since:
3.3
Author:
Jack Meng
See Also:
  • Field Details

    • attribute

      private transient String attribute
  • Constructor Details

  • Method Details

    • getAttribute

      public String getAttribute()
      Returns:
      The attribute that was set
    • setAttribute

      public void setAttribute(String e)
      Parameters:
      e - The attribute to be set