public class ColorToolTipTextFormatter extends ColorFormatter
ColorFormatter is used to format colors into a textual representation
which can be displayed as a tooltip.
By default, the formatter is adaptive, meaning that the format depends
on the ColorSpace of the current Color value.
ColorFormatter.FormatallowsNullValue, grayPercentagePattern, hsbPercentagePattern, isAdaptive, lastUsedInputFormat, numberFormat, outputFormat, prefs, rgbHexPattern, rgbIntegerPattern, rgbIntegerShortPattern, rgbPercentagePattern| Constructor and Description |
|---|
ColorToolTipTextFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
valueToString(java.lang.Object value) |
createFormatterFactory, createFormatterFactory, getAllowsNullValue, getLastUsedInputFormat, getOutputFormat, isAdaptive, setAdaptive, setAllowsNullValue, setOutputFormat, stringToValueclone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClasspublic java.lang.String valueToString(java.lang.Object value)
throws java.text.ParseException
valueToString in class ColorFormatterjava.text.ParseException