Class BtnPanel

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class BtnPanel
    extends JPanel
    Utility class for displaying buttons in a dialog. Using this class should give a consistent appearance across dialogs. All buttons will be as wide and tall as the maximum preferred width and height respectively. Buttons will have a small border so that they are not touching one another.
    BtnPanel Example
    See Also:
    Serialized Form
    • Method Detail

      • getActions

        public EnhancedListModel getActions()
        Respective Actions associated with each button.
      • getButton

        public JButton getButton​(int pIdx)
        Returns:
        Button at specified index.
      • getButton

        public JButton getButton​(Action pAction)
        Returns:
        Button associated with specified action.
      • getAction

        public Action getAction​(int pIdx)