|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to the macro picker UI. The macro picker UI is a simple UI component allowing the user to choose from all the available macros.
Method Summary | |
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. |
Method Detail |
public java.awt.Component getComponent()
public MacroExpander getSelectedMacro()
public void addListSelectionListener(javax.swing.event.ListSelectionListener lsl)
lsl
- a list selection listener.public void removeListSelectionListener(javax.swing.event.ListSelectionListener lsl)
lsl
- a list selection listener to remove.public MacroExpander runDialog(java.awt.Component parent)
parent
- a component to parent the dialog on (for modality)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.