Interface SyTextMultiLineViewReadableType
- All Superinterfaces:
SyActiveReadableType, SyBoundedReadableType<SySpaceParentRelativeType>, SyComponentReadableType, SyKeyboardFocusableReadableType, SyMouseFocusAcceptingReadableType, SySizedReadableType<SySpaceParentRelativeType>, SyThemeableReadableType, SyVisibleReadableType
- All Known Subinterfaces:
SyTextMultiLineViewType
Read-only access to multi-line text views.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanintminimumSizeYRequired(SyLayoutContextType layoutContext) Determine the minimum size on the Y axis required to display the contained text fully.model()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
-
model
SyTextMultiLineModelReadableType model()- Returns:
- The text model
-
minimumSizeYRequired
Determine the minimum size on the Y axis required to display the contained text fully.- Parameters:
layoutContext- The layout context- Returns:
- The minimum size on the Y axis
-