| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| protected ChangeListener | changeListener
The instance of |
| protected ContainerListener | containerListener
The instance of |
| private BasicMenuBarUI. | |
| protected JMenuBar | menuBar
The instance of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ChangeListener | |
| protected ContainerListener | Returns: an instance ofContainerListenerReturns an instance of |
| public static ComponentUI | Returns: a new instance ofBasicMenuBarUIa component x)Hides javax. Returns a new instance of |
| private BasicMenuBarUI. | |
| pack-priv InputMap | |
| public Dimension | getMaximumSize(JComponent c)
Overrides javax. Returns the specified component's maximum size appropriate for the look and feel. |
| public Dimension | getMinimumSize(JComponent c)
Overrides javax. Returns the specified component's minimum size appropriate for the look and feel. |
| protected void | |
| protected void | |
| protected void | |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| pack-priv static void | |
| protected void | |
| protected void | |
| protected void | |
| public void | uninstallUI(JComponent c)
Overrides javax. Reverses configuration which was done on the specified component during
|
| changeListener | back to summary |
|---|---|
| protected ChangeListener changeListener The instance of | |
| containerListener | back to summary |
|---|---|
| protected ContainerListener containerListener The instance of | |
| handler | back to summary |
|---|---|
| private BasicMenuBarUI. | |
| menuBar | back to summary |
|---|---|
| protected JMenuBar menuBar The instance of | |
| BasicMenuBarUI | back to summary |
|---|---|
| public BasicMenuBarUI() Constructs a | |
| createChangeListener | back to summary |
|---|---|
| protected ChangeListener createChangeListener() Returns an instance of
| |
| createContainerListener | back to summary |
|---|---|
| protected ContainerListener createContainerListener() Returns an instance of
| |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent x) Hides javax. Returns a new instance of
| |
| getHandler | back to summary |
|---|---|
| private BasicMenuBarUI. | |
| getInputMap | back to summary |
|---|---|
| pack-priv InputMap getInputMap(int condition) | |
| getMaximumSize | back to summary |
|---|---|
| public Dimension getMaximumSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's maximum size appropriate for
the look and feel. If | |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's minimum size appropriate for
the look and feel. If | |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Installs default properties. | |
| installKeyboardActions | back to summary |
|---|---|
| protected void installKeyboardActions() Registers keyboard actions. | |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Registers listeners. | |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
| |
| loadActionMap | back to summary |
|---|---|
| pack-priv static void loadActionMap(LazyActionMap map) | |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Uninstalls default properties. | |
| uninstallKeyboardActions | back to summary |
|---|---|
| protected void uninstallKeyboardActions() Unregisters keyboard actions. | |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Unregisters listeners. | |
| uninstallUI | back to summary |
|---|---|
| public void uninstallUI(JComponent c) Overrides javax. Doc from javax. Reverses configuration which was done on the specified component during
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Modifier and Type | Method and Description |
|---|---|
| public void | actionPerformed(ActionEvent e)
Implements java. Invoked when an action occurs. |
| TAKE_FOCUS | back to summary |
|---|---|
| private static final String TAKE_FOCUS | |
| Actions | back to summary |
|---|---|
| pack-priv Actions(String key) | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent e) Implements java. Doc from java. Invoked when an action occurs. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | componentAdded(ContainerEvent e)
Implements java. Invoked when a component has been added to the container. |
| public void | componentRemoved(ContainerEvent e)
Implements java. Invoked when a component has been removed from the container. |
| public void | stateChanged(ChangeEvent e)
Implements javax. Invoked when the target of the listener has changed its state. |
| Handler | back to summary |
|---|---|
| private Handler() | |
| componentAdded | back to summary |
|---|---|
| public void componentAdded(ContainerEvent e) Implements java. Doc from java. Invoked when a component has been added to the container. | |
| componentRemoved | back to summary |
|---|---|
| public void componentRemoved(ContainerEvent e) Implements java. Doc from java. Invoked when a component has been removed from the container. | |
| stateChanged | back to summary |
|---|---|
| public void stateChanged(ChangeEvent e) Implements javax. Doc from javax. Invoked when the target of the listener has changed its state. | |