Interface SubstanceMenu
- All Known Implementing Classes:
SubstanceCheckBoxMenuItemUI
,SubstanceMenuItemUI
,SubstanceMenuUI
,SubstanceRadioButtonMenuItemUI
public interface SubstanceMenu
Base interface for all menu-related UI delegates.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the font of the accelerator string ofthis
UI delegate.Returns the arrow icon ofthis
UI delegate.Returns the associated menu item.Returns the checkmark icon ofthis
UI delegate.int
Returns the default gap between the icon and the text forthis
delegate.
-
Method Details
-
getAcceleratorFont
Font getAcceleratorFont()Returns the font of the accelerator string ofthis
UI delegate.- Returns:
- The font of the accelerator string of
this
UI delegate.
-
getCheckIcon
Icon getCheckIcon()Returns the checkmark icon ofthis
UI delegate.- Returns:
- The checkmark icon of
this
UI delegate.
-
getArrowIcon
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
JMenuItem getAssociatedMenuItem()Returns the associated menu item.- Returns:
- The associated menu item.
-