public class SBOptionCard extends SBPanel
A reusable option card component that displays an icon, title, and subtitle. Supports active/hover/default states and click events. Used in dialogs like the "New Functional Test" dialog to present selectable options.
This base class provides the default centered layout. For specialized layouts, see SBRadioOptionCard.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
focusGained(java.awt.event.FocusEvent e) |
|
public void |
focusLost(java.awt.event.FocusEvent e) |
|
public java.awt.Dimension |
getMaximumSize() |
|
public java.awt.Dimension |
getMinimumSize() |
|
public java.awt.Dimension |
getPreferredSize() |
|
public void |
keyPressed(java.awt.event.KeyEvent e) |
|
public void |
mouseClicked(java.awt.event.MouseEvent e) |
|
public void |
mouseEntered(java.awt.event.MouseEvent e) |
|
public void |
mouseExited(java.awt.event.MouseEvent e) |
|
public void |
setIcon(javax.swing.Icon newIcon) |
|
public void |
setOnClickAction(java.lang.Runnable onClickAction) |