Method getSubElements()
Return type:
javax.swing.MenuElement
[]
Member of:
javax.swing.JPopupMenu
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if ((popup != null) && (popup.getSubElements().length > 0)) {
2
MenuElement[] elements = menu.getSubElements();
3
MenuElement[] elements = menu.getSubElements();
4
if ((popup != null) && (popup.getSubElements().length > 0)/* && (TreeView.shouldPopupBeDisplayed(TableView.this)) */) {
5
if ((popup != null) && (popup.getSubElements().length > 0) && (SingleNodeView.shouldPopupBeDisplayed(SingleNodeView.this))) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.