TextOverflow
enum TextOverflow
Package: dev.joid.lib.draw.text · Module: core · Source: TextOverflow.java
The marker that ends a text cut to fit a box with TextMode.OVERFLOW.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | getOverflow() | Returns the marker as a string. |
Values
Section titled “Values”| Value | Summary |
|---|---|
NONE | Cuts the text without a marker. |
ELLIPSIS | Ends the cut text with .... |
DOT | Ends the cut text with .. |
HYPHEN | Ends the cut text with -. |
Method details
Section titled “Method details”getOverflow
Section titled “getOverflow”String getOverflow()
Returns the marker as a string.
Value details
Section titled “Value details”NONE
Cuts the text without a marker.
ELLIPSIS
Section titled “ELLIPSIS”ELLIPSIS
Ends the cut text with ....
DOT
Ends the cut text with ..
HYPHEN
Section titled “HYPHEN”HYPHEN
Ends the cut text with -.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
