public interface Presenter
actionthat wants to offer a kind of presentation of itself to the user should implement one of the inner interfaces.
For example to be presented in popup menu, an action should
Note: implementing these interfaces yourself means that you want to
provide some sort of unusual display format, e.g. a submenu!
Most people will simply want to use a subclass of
and use the default implementations of all three interfaces, according to
|Modifier and Type||Interface and Description|
The presenter interface for presenting an action in a menu.
The presenter interface for presenting an action in a popup menu.
The presenter interface for presenting an action in a toolbar.
Built on October 24 2017. | Portions Copyright 1997-2017 Oracle. All rights reserved.