org.jvnet.substance.utils.menu
Interface SubstanceMenu

All Known Implementing Classes:
SubstanceCheckBoxMenuItemUI, SubstanceMenuItemUI, SubstanceMenuUI, SubstanceRadioButtonMenuItemUI

public interface SubstanceMenu

Base interface for all menu-related UI delegates.

Author:
Kirill Grouchnikov

Method Summary
 java.awt.Font getAcceleratorFont()
          Returns the font of the accelerator string of this UI delegate.
 javax.swing.Icon getArrowIcon()
          Returns the arrow icon of this UI delegate.
 javax.swing.JMenuItem getAssociatedMenuItem()
          Returns the associated menu item.
 javax.swing.Icon getCheckIcon()
          Returns the checkmark icon of this UI delegate.
 int getDefaultTextIconGap()
          Returns the default gap between the icon and the text for this delegate.
 

Method Detail

getAcceleratorFont

java.awt.Font getAcceleratorFont()
Returns the font of the accelerator string of this UI delegate.

Returns:
The font of the accelerator string of this UI delegate.

getCheckIcon

javax.swing.Icon getCheckIcon()
Returns the checkmark icon of this UI delegate.

Returns:
The checkmark icon of this UI delegate.

getArrowIcon

javax.swing.Icon getArrowIcon()
Returns the arrow icon of this UI delegate.

Returns:
The arrow icon of this UI delegate.

getDefaultTextIconGap

int getDefaultTextIconGap()
Returns the default gap between the icon and the text for this 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.