Interface SubstanceMenu
-
- All Known Implementing Classes:
SubstanceCheckBoxMenuItemUI,SubstanceMenuItemUI,SubstanceMenuUI,SubstanceRadioButtonMenuItemUI
public interface SubstanceMenuBase interface for all menu-related UI delegates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FontgetAcceleratorFont()Returns the font of the accelerator string ofthisUI delegate.IcongetArrowIcon()Returns the arrow icon ofthisUI delegate.JMenuItemgetAssociatedMenuItem()Returns the associated menu item.IcongetCheckIcon()Returns the checkmark icon ofthisUI delegate.intgetDefaultTextIconGap()Returns the default gap between the icon and the text forthisdelegate.
-
-
-
Method Detail
-
getAcceleratorFont
Font getAcceleratorFont()
Returns the font of the accelerator string ofthisUI delegate.- Returns:
- The font of the accelerator string of
thisUI delegate.
-
getCheckIcon
Icon getCheckIcon()
Returns the checkmark icon ofthisUI delegate.- Returns:
- The checkmark icon of
thisUI delegate.
-
getArrowIcon
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
JMenuItem getAssociatedMenuItem()
Returns the associated menu item.- Returns:
- The associated menu item.
-
-