public class JMenuHpr<T extends javax.swing.JMenu> extends JMenuItemHpr<T>
Constructor and Description |
---|
JMenuHpr() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JMenu |
createMenu(java.lang.String aName,
java.lang.String theText)
Creates a JMenu for name and text.
|
javax.swing.JComponent |
getChild(T aMenu,
int anIndex)
Returns the Ribs-relevant child component at the given index.
|
int |
getChildCount(T aMenu)
Override to return JMenu item count if menu item is a menu.
|
createMenuItem, getKeyStroke, getKeyText, getPropertyNameMapped, initUI
addBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getConstraints, getEventAdapter, getName, getOwner, getParent, getPropertyNamesImpl, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLost
getHelper, getSwingHelper, getSwingHelper
enableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText, setValue
public int getChildCount(T aMenu)
getChildCount
in class JMenuItemHpr<T extends javax.swing.JMenu>
public javax.swing.JComponent getChild(T aMenu, int anIndex)
getChild
in class JComponentHpr<T extends javax.swing.JMenu>
public static javax.swing.JMenu createMenu(java.lang.String aName, java.lang.String theText)