| |
|
| java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.PopupMenuUI javax.swing.plaf.basic.BasicPopupMenuUI javax.swing.plaf.synth.SynthPopupMenuUI
adjustAccelSpacingWidth | int adjustAccelSpacingWidth(int width)(Code) | | Adjusts the width needed to pad between the maximum menu item
text and accelerator.
Parameters: width - Spacing width. max width |
adjustAcceleratorWidth | int adjustAcceleratorWidth(int width)(Code) | | Adjusts the width needed to display the maximum accelerator.
Parameters: width - Text width. max width |
adjustIconOffset | int adjustIconOffset(int offset)(Code) | | Adjusts the icon offset needed to align icons horizontally
Parameters: offset - Icon offset max offset |
adjustIconWidth | int adjustIconWidth(int width)(Code) | | Adjusts the width needed to display the maximum menu item icon.
Parameters: width - Icon width. max width |
adjustTextOffset | int adjustTextOffset(int offset)(Code) | | Adjusts the text offset needed to align text horizontally.
Parameters: offset - Text offset max offset |
adjustTextWidth | int adjustTextWidth(int width)(Code) | | Adjusts the width needed to display the maximum menu item string.
Parameters: width - Text width. max width |
getMaxAcceleratorWidth | int getMaxAcceleratorWidth()(Code) | | Maximum size needed to display accelerators of children menu items.
|
installDefaults | public void installDefaults()(Code) | | |
installListeners | protected void installListeners()(Code) | | |
resetAlignmentHints | void resetAlignmentHints()(Code) | | Resets the max text and accerator widths,
text and icon offsets.
|
uninstallDefaults | protected void uninstallDefaults()(Code) | | |
uninstallListeners | protected void uninstallListeners()(Code) | | |
|
|
|