public class SelectionChain extends Object
| Constructor and Description |
|---|
SelectionChain()
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Selectable
Add a component to this chain of selectable components.
|
void |
addSelectionChainListener(SelectionChainListener
Add a listener to receive notifications about selection events
|
JComponent |
getCurrent()
|
void |
remove(Selectable
Remove a component from this chain of selectable components.
|
void |
removeSelectionChainListener(SelectionChainListener
Add a listener to receive notifications about selection events
|
protected void |
setCurrent(Selectable
Set the currently selected component within this chain
|
public void remove(Selectablecomponent)
component - the component to remove.
public void add(Selectableselectable)
selectable - the component to add.
protected void setCurrent(Selectablecomponent)
component - the selected component.
public void addSelectionChainListener(SelectionChainListenerlistener)
listener - the listener to add
public void removeSelectionChainListener(SelectionChainListenerlistener)
listener - the listener to remove
public JComponentgetCurrent()