|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.openide.util.AWTBridge
public abstract class AWTBridge
Provider of action presentations. Based on type of the action should be able to derive its menu, popup menu and toolbar presenter.
In order to provide greater flexibility is made as a pluggable component to allow more enhanced parts of the system to provide more enhanced visualitions.
Constructor Summary | |
---|---|
AWTBridge()
|
Method Summary | |
---|---|
abstract java.awt.Component[] |
convertComponents(java.awt.Component comp)
|
abstract javax.swing.JPopupMenu |
createEmptyPopup()
Creates a default empty implementation of popup menu. |
abstract javax.swing.JMenuItem |
createMenuPresenter(javax.swing.Action action)
Creates a menu item that can present this action in a JMenu . |
abstract javax.swing.JMenuItem |
createPopupPresenter(javax.swing.Action action)
Get a menu item that can present this action in a JPopupMenu . |
abstract java.awt.Component |
createToolbarPresenter(javax.swing.Action action)
Get a component that can present this action in a JToolBar . |
static AWTBridge |
getDefault()
Finds out the global implementtion of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AWTBridge()
Method Detail |
---|
public static AWTBridge getDefault()
public abstract javax.swing.JPopupMenu createEmptyPopup()
public abstract javax.swing.JMenuItem createMenuPresenter(javax.swing.Action action)
JMenu
.
action
- the action to represent
public abstract javax.swing.JMenuItem createPopupPresenter(javax.swing.Action action)
JPopupMenu
.
action
- the action to represent
public abstract java.awt.Component createToolbarPresenter(javax.swing.Action action)
JToolBar
.
action
- the action to represent
public abstract java.awt.Component[] convertComponents(java.awt.Component comp)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |