Interface SyTextViewReadableType
- All Superinterfaces:
SyActiveReadableType, SyBoundedReadableType<SySpaceParentRelativeType>, SyComponentReadableType, SyKeyboardFocusableReadableType, SyMouseFocusAcceptingReadableType, SySizedReadableType<SySpaceParentRelativeType>, SyThemeableReadableType, SyVisibleReadableType
- All Known Subinterfaces:
SyTextViewType
Read-only access to text views.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancom.io7m.jregions.core.parameterized.sizes.PAreaSizeI<SySpaceParentRelativeType> minimumSizeRequired(SyLayoutContextType layoutContext) Determine the minimum size required to display the contained text fully.com.io7m.jattribute.core.AttributeReadableType<SyText> text()com.io7m.jattribute.core.AttributeReadableType<Boolean> 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
activity, isMouseOverMethods inherited from interface SyBoundedReadableType
boundingArea, positionMethods inherited from interface SyComponentReadableType
ancestorMatchingReadable, childCount, isActive, isVisible, nodeReadable, relativePositionOf, screen, viewportPositionOf, windowReadableMethods inherited from interface SyKeyboardFocusableReadableType
keyboardFocusBehaviorMethods inherited from interface SyMouseFocusAcceptingReadableType
isMouseQueryAcceptingMethods inherited from interface SySizedReadableType
size, sizeUpperLimitMethods inherited from interface SyThemeableReadableType
themeClassesExtra, themeClassesInPreferenceOrderMethods inherited from interface SyVisibleReadableType
visibility
-
Method Details
-
textSelectable
com.io7m.jattribute.core.AttributeReadableType<Boolean> textSelectable()- Returns:
- An attribute indicating if this text view is selectable
-
isTextSelectable
default boolean isTextSelectable()- Returns:
trueiftextSelectable()istrue
-
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
-
minimumSizeRequired
com.io7m.jregions.core.parameterized.sizes.PAreaSizeI<SySpaceParentRelativeType> minimumSizeRequired(SyLayoutContextType layoutContext) Determine the minimum size required to display the contained text fully.- Parameters:
layoutContext- The layout context- Returns:
- The minimum size
-
text
com.io7m.jattribute.core.AttributeReadableType<SyText> text()- Returns:
- The current text
-