|
JHotDraw 7rev733 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.JFormattedTextField.AbstractFormatter
javax.swing.text.DefaultFormatter
org.jhotdraw.text.ColorFormatter
org.jhotdraw.text.ColorToolTipTextFormatter
public class ColorToolTipTextFormatter
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jhotdraw.text.ColorFormatter |
|---|
ColorFormatter.Format |
| Field Summary |
|---|
| Fields inherited from class org.jhotdraw.text.ColorFormatter |
|---|
allowsNullValue, grayPercentagePattern, hsbPercentagePattern, isAdaptive, lastUsedInputFormat, numberFormat, outputFormat, prefs, rgbHexPattern, rgbIntegerPattern, rgbIntegerShortPattern, rgbPercentagePattern |
| Constructor Summary | |
|---|---|
ColorToolTipTextFormatter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
valueToString(java.lang.Object value)
|
| Methods inherited from class org.jhotdraw.text.ColorFormatter |
|---|
createFormatterFactory, createFormatterFactory, getAllowsNullValue, getLastUsedInputFormat, getOutputFormat, isAdaptive, setAdaptive, setAllowsNullValue, setOutputFormat, stringToValue |
| Methods inherited from class javax.swing.text.DefaultFormatter |
|---|
clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass |
| Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter |
|---|
getActions, getFormattedTextField, invalidEdit, setEditValid, uninstall |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorToolTipTextFormatter()
| Method Detail |
|---|
public java.lang.String valueToString(java.lang.Object value)
throws java.text.ParseException
valueToString in class ColorFormatterjava.text.ParseException
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||