public enum RichTextComponent.SizeMode
- Object
- Enum<RichTextComponent.SizeMode>
- RichTextComponent.SizeMode
ImplementsComparable<RichTextComponent.SizeMode>
Controls how the component sizes itself relative to its content.
Enum constants
SHRINK | Report a preferred height equal to the wrapped content height at the assigned width. |
SCROLL | Keep the parent-assigned size and scroll content vertically when it overflows. |
Methods
public static RichTextComponent.SizeMode[] values() | |
public static RichTextComponent.SizeMode valueOf(String name) |
Inherited methods
Enum constant details
SHRINK
SHRINKReport a preferred height equal to the wrapped content height at the assigned width.
SCROLL
SCROLLKeep the parent-assigned size and scroll content vertically when it overflows.
Method details
values
public static RichTextComponent.SizeMode[] values()valueOf
public static RichTextComponent.SizeMode valueOf(String name)