public interface MacroPicker
Modifier and Type | Method and Description |
---|---|
void |
addListSelectionListener(javax.swing.event.ListSelectionListener lsl)
Add a list selection listener, which will be notified when the return
value of getSelectedMacro() might have changed.
|
java.awt.Component |
getComponent()
Get the UI component for this picker.
|
MacroExpander |
getSelectedMacro()
Get the selected macro.
|
void |
removeListSelectionListener(javax.swing.event.ListSelectionListener lsl)
Remove a list selection listener previously added with
addListSelectionListener().
|
MacroExpander |
runDialog(java.awt.Component parent)
Utility to run the macro picker in a dialog.
|
java.awt.Component getComponent()
MacroExpander getSelectedMacro()
void addListSelectionListener(javax.swing.event.ListSelectionListener lsl)
lsl
- a list selection listener.void removeListSelectionListener(javax.swing.event.ListSelectionListener lsl)
lsl
- a list selection listener to remove.MacroExpander runDialog(java.awt.Component parent)
parent
- a component to parent the dialog on (for modality)