Interface SyTextViewReadableType

All Superinterfaces:
SyActiveReadableType, SyBoundedReadableType<SySpaceParentRelativeType>, SyComponentReadableType, SyKeyboardFocusableReadableType, SyMouseFocusAcceptingReadableType, SySizedReadableType<SySpaceParentRelativeType>, SyThemeableReadableType, SyVisibleReadableType
All Known Subinterfaces:
SyTextViewType

public interface SyTextViewReadableType extends SyComponentReadableType
Read-only access to text views.
  • 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:
      true if textSelectable() is true
    • 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
    • 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