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