public class SBTabButtonGroup extends java.lang.Object
Controller for a group of SBTabButton instances that share a javax.swing.SingleSelectionModel.
This class centralizes tab navigation logic and keyboard bindings so that SBTabButton
can remain a simple, model-driven view component.
| Constructor and description |
|---|
SBTabButtonGroup(javax.swing.SingleSelectionModel selectionModel) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
actionPerformed(java.awt.event.ActionEvent e) |
|
public void |
addButton(SBTabButton button)Adds a button to this group and assigns it the next index in the selection model. |
|
public void |
installKeyboardNavigation(javax.swing.JComponent ancestor)Installs standard tab-navigation key bindings on the given ancestor component so that when any SBTabButton in this group has focus, the following keys will navigate:
|
|
public void |
setSelectedIndex(int i) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Adds a button to this group and assigns it the next index in the selection model.
Installs standard tab-navigation key bindings on the given ancestor component so that when any SBTabButton in this group has focus, the following keys will navigate:
ReadyAPI functional (soapui) SDK 4.0.1