Package snap.text
Interface TextFormat
- All Superinterfaces:
XMLArchiver.Archivable
- All Known Implementing Classes:
NumberFormat
An interface for text formating.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a formatted string.default TextStyle
formatStyle
(Object anObj) Returns a format style.Returns a format pattern string.default void
setPattern
(String format) Sets a format pattern string.Methods inherited from interface snap.util.XMLArchiver.Archivable
fromXML, toXML
-
Method Details
-
getPattern
String getPattern()Returns a format pattern string. -
setPattern
Sets a format pattern string. -
format
Returns a formatted string. -
formatStyle
Returns a format style. This should go - need formatRich() returning RichText instead.
-