Interface RadianceMenu
-
- All Known Implementing Classes:
RadianceCheckBoxMenuItemUI,RadianceMenuItemUI,RadianceMenuUI,RadianceRadioButtonMenuItemUI
public interface RadianceMenuBase interface for all menu-related UI delegates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.FontgetAcceleratorFont()Returns the font of the accelerator string ofthisUI delegate.javax.swing.IcongetArrowIcon()Returns the arrow icon ofthisUI delegate.javax.swing.JMenuItemgetAssociatedMenuItem()Returns the associated menu item.javax.swing.IcongetCheckIcon()Returns the checkmark icon ofthisUI delegate.intgetDefaultTextIconGap()Returns the default gap between the icon and the text forthisdelegate.voidupdateCheckIconIfNeeded()
-
-
-
Method Detail
-
getAcceleratorFont
java.awt.Font getAcceleratorFont()
Returns the font of the accelerator string ofthisUI delegate.- Returns:
- The font of the accelerator string of
thisUI delegate.
-
getCheckIcon
javax.swing.Icon getCheckIcon()
Returns the checkmark icon ofthisUI delegate.- Returns:
- The checkmark icon of
thisUI delegate.
-
getArrowIcon
javax.swing.Icon getArrowIcon()
Returns the arrow icon ofthisUI delegate.- Returns:
- The arrow icon of
thisUI delegate.
-
getDefaultTextIconGap
int getDefaultTextIconGap()
Returns the default gap between the icon and the text forthisdelegate.- Returns:
- The default gap between the icon and the text for
thisdelegate.
-
getAssociatedMenuItem
javax.swing.JMenuItem getAssociatedMenuItem()
Returns the associated menu item.- Returns:
- The associated menu item.
-
updateCheckIconIfNeeded
void updateCheckIconIfNeeded()
-
-