PanelButtonOptions

A value shape that methods take or return.

Methods
None
Fields
11

Fields

FieldTypeDescription
fillColor?setBackground.
strokeColor?The border's colour (setBorder(new LineBorder(color))).
iconPanelImageSource?setIcon(new ImageIcon(img)), or new JButton(text, icon); with an empty text the button is the icon alone.
iconSizenumber?The icon's width and height in points.
widthnumber?setPreferredSize's width.
heightnumber?setPreferredSize's height (with width).
smallboolean?A compact button.
frameboolean?false: no button chrome (setContentAreaFilled(false), setBorderPainted(false)).
selectedboolean?setSelected: drawn pressed.
tooltipPanelTooltipText?setToolTipText: text, or styled runs (an <html> tooltip's spans).
enabledboolean?setEnabled.