public abstract class AbstractAWTMenuCreator<T> extends AbstractMenuCreator<T,Menu>
ShadowMenu
.
This class is called AbstractAWTMenuCreator
rather than simply
AbstractMenuCreator
to avoid having multiple classes with the same
name in different packages (e.g., imagej.menu.AbstractMenuCreator
and
imagej.ui.swing.menu.AbstractMenuCreator
).
Constructor and Description |
---|
AbstractAWTMenuCreator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addLeafToMenu(ShadowMenu shadow,
Menu target) |
protected Menu |
addNonLeafToMenu(ShadowMenu shadow,
Menu target) |
protected void |
addSeparatorToMenu(Menu target) |
protected MenuItem |
createLeaf(ShadowMenu shadow) |
protected Menu |
createNonLeaf(ShadowMenu shadow) |
addLeafToTop, addNonLeafToTop, addSeparatorToTop, createMenus
protected void addLeafToMenu(ShadowMenu shadow, Menu target)
addLeafToMenu
in class AbstractMenuCreator<T,Menu>
protected Menu addNonLeafToMenu(ShadowMenu shadow, Menu target)
addNonLeafToMenu
in class AbstractMenuCreator<T,Menu>
protected void addSeparatorToMenu(Menu target)
addSeparatorToMenu
in class AbstractMenuCreator<T,Menu>
protected MenuItem createLeaf(ShadowMenu shadow)
protected Menu createNonLeaf(ShadowMenu shadow)
Copyright © 2015–2022 SciJava. All rights reserved.