|
org.openide.awt 6.7.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DynamicMenuContent
Dynamic result of a Presenter.Menu or Presenter.Popup. If the presenters return
an instance of DynamicMenuContent, then the framework code
will use it's methods to populate the menu and keep it uptodate.
| Method Summary | |
|---|---|
JComponent[] |
getMenuPresenters()
Create main menu/popup menuitems. |
JComponent[] |
synchMenuPresenters(JComponent[] items)
update main menu presenters. |
| Method Detail |
|---|
JComponent[] getMenuPresenters()
synchMenuPresenters() method.
If you want different behaviour for menu and popup,
use a different implementation returned by Presenter.Popup and Presenter.Menu.
JComponent[] synchMenuPresenters(JComponent[] items)
items - the previously used menuitems returned by previous call to getMenuPresenters() or synchMenuPresenters()
|
org.openide.awt 6.7.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||