Interface SyMenuItemAtomType

All Superinterfaces:
SyActiveReadableType, SyActiveType, SyBoundedReadableType<SySpaceParentRelativeType>, SyBoundedType<SySpaceParentRelativeType>, SyComponentReadableType, SyComponentType, SyEventReceiverType, SyKeyboardFocusableReadableType, SyKeyboardFocusableType, SyMenuItemType, SyMouseFocusAcceptingReadableType, SyMouseFocusAcceptingType, SySizedReadableType<SySpaceParentRelativeType>, SySizedType<SySpaceParentRelativeType>, SyThemeableReadableType, SyThemeableType, SyVisibleReadableType, SyVisibleType

public non-sealed interface SyMenuItemAtomType extends SyMenuItemType
An "atom" menu item. An atom is a simple, named menu item that executes an action when the user clicks it.
  • Method Details

    • themeClassesDefaultForComponent

      default List<SyThemeClassNameType> themeClassesDefaultForComponent()
      Description copied from interface: SyThemeableReadableType
      Obtain the list of theme classes in preference order that are the default classes for a particular type of component.
      Specified by:
      themeClassesDefaultForComponent in interface SyThemeableReadableType
      Returns:
      The list of theme classes
    • icon

      com.io7m.jattribute.core.AttributeType<Optional<URI>> icon()
      Returns:
      The icon that appears to the left of the menu item text
    • text

      com.io7m.jattribute.core.AttributeType<SyText> text()
      Returns:
      The menu item text