public interface UsagePresentation
Modifier and Type | Method and Description |
---|---|
default TextChunk [] |
getCachedText()
If the implementation caches or lazy-loades the text chunks internally, this method gives it a chance to avoid
re-calculating it synchronously on EDT and return the possibly obsolete data.
|
javax.swing.Icon |
getIcon() |
java.lang.String |
getPlainText() |
TextChunk [] |
getText() |
java.lang.String |
getTooltipText() |
default void |
updateCachedText() |
TextChunk [] getText()
default TextChunk [] getCachedText()
updateCachedText()
in a background
thread and then use getCachedText()
to draw the text.default void updateCachedText()
java.lang.String getPlainText()
javax.swing.Icon getIcon()
java.lang.String getTooltipText()