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
An "atom" menu item. An atom is a simple, named menu item that executes an
action when the user clicks it.
-
Method Summary
Modifier and TypeMethodDescriptionicon()com.io7m.jattribute.core.AttributeType<SyText> text()default List<SyThemeClassNameType> Obtain the list of theme classes in preference order that are the default classes for a particular type of component.Methods inherited from interface SyActiveReadableType
isMouseOverMethods inherited from interface SyActiveType
activity, setActiveMethods inherited from interface SyBoundedReadableType
boundingAreaMethods inherited from interface SyBoundedType
position, setPositionMethods inherited from interface SyComponentReadableType
ancestorMatchingReadable, childCount, isActive, isVisible, nodeReadable, relativePositionOf, screen, viewportPositionOf, windowReadableMethods inherited from interface SyComponentType
ancestorMatching, childAdd, childRemove, childrenClear, componentForWindowRelative, layout, node, windowMethods inherited from interface SyEventReceiverType
eventSendMethods inherited from interface SyKeyboardFocusableType
keyboardFocusBehaviorMethods inherited from interface SyMenuItemType
isMouseOverMenuDescendant, menu, minimumSizeRequiredMethods inherited from interface SyMouseFocusAcceptingReadableType
isMouseQueryAcceptingMethods inherited from interface SyMouseFocusAcceptingType
setMouseQueryAcceptingMethods inherited from interface SySizedType
setSize, setSizeUpperLimit, size, sizeUpperLimitMethods inherited from interface SyThemeableReadableType
themeClassesExtra, themeClassesInPreferenceOrderMethods inherited from interface SyVisibleType
setVisible, visibility
-
Method Details
-
themeClassesDefaultForComponent
Description copied from interface:SyThemeableReadableTypeObtain the list of theme classes in preference order that are the default classes for a particular type of component.- Specified by:
themeClassesDefaultForComponentin interfaceSyThemeableReadableType- Returns:
- The list of theme classes
-
icon
-
text
com.io7m.jattribute.core.AttributeType<SyText> text()- Returns:
- The menu item text
-