public interface JFInstrumentComboBox extends JFComponent<javax.swing.JComponent>
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Adds action listener to combo box.
|
Instrument |
getSelectedInstrument()
Returns currently selected instrument.
|
boolean |
isLinkedWithOtherPanels()
Returns linkage to other panels status.
|
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes action listener from combo box.
|
void |
setLinkedWithOtherPanels(boolean linkedWithOtherPanels)
Sets linkage to other panels status.
|
void |
setSelectedInstrument(Instrument instrument)
Sets new selected instrument.
|
getComponent, setAllSizes
Instrument getSelectedInstrument()
void setSelectedInstrument(Instrument instrument)
instrument
- new instrumentboolean isLinkedWithOtherPanels()
true
if instrument is automatically switched on signals from other panels, false
otherwisevoid setLinkedWithOtherPanels(boolean linkedWithOtherPanels)
linkedWithOtherPanels
- true
if instrument should be automatically switched on signals from other panels, false
otherwisevoid addActionListener(java.awt.event.ActionListener listener)
listener
- action listenervoid removeActionListener(java.awt.event.ActionListener listener)
listener
- action listenerCopyright © 2024. All rights reserved.