PanelButtonOptions
A value shape that methods take or return.
Fields
| Field | Type | Description |
|---|---|---|
fill | Color? | setBackground. |
stroke | Color? | The border's colour (setBorder(new LineBorder(color))). |
icon | PanelImageSource? | setIcon(new ImageIcon(img)), or new JButton(text, icon); with an empty text the button is the icon alone. |
iconSize | number? | The icon's width and height in points. |
width | number? | setPreferredSize's width. |
height | number? | setPreferredSize's height (with width). |
small | boolean? | A compact button. |
frame | boolean? | false: no button chrome (setContentAreaFilled(false), setBorderPainted(false)). |
selected | boolean? | setSelected: drawn pressed. |
tooltip | PanelTooltipText? | setToolTipText: text, or styled runs (an <html> tooltip's spans). |
enabled | boolean? | setEnabled. |