public class HintUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
ERROR_COLOR
Deprecated.
use getErrorColor()
|
static ColorKey |
ERROR_COLOR_KEY |
static java.awt.Color |
INFORMATION_BORDER_COLOR |
static java.awt.Color |
INFORMATION_COLOR
Deprecated.
use getInformationColor()
|
static ColorKey |
INFORMATION_COLOR_KEY |
static ColorKey |
PROMOTION_PANE_KEY |
static ColorKey |
QUESTION_COLOR_KEY |
static java.awt.Color |
QUESTION_UNDERSCORE_COLOR |
static ColorKey |
RECENT_LOCATIONS_SELECTION_KEY |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JLabel |
createAdComponent(java.lang.String bottomText,
javax.swing.border.Border border,
int alignment) |
static javax.swing.JComponent |
createErrorLabel(java.lang.String text) |
static javax.swing.JComponent |
createErrorLabel(java.lang.String text,
javax.swing.event.HyperlinkListener hyperlinkListener,
java.awt.event.MouseListener mouseListener,
Ref<? super Consumer<? super java.lang.String>> updatedTextConsumer) |
static javax.swing.border.CompoundBorder |
createHintBorder() |
static SimpleColoredComponent |
createInformationComponent() |
static javax.swing.JComponent |
createInformationLabel(SimpleColoredText text) |
static javax.swing.JComponent |
createInformationLabel(SimpleColoredText text,
javax.swing.Icon icon) |
static javax.swing.JComponent |
createInformationLabel(java.lang.String text) |
static javax.swing.JComponent |
createInformationLabel(java.lang.String text,
javax.swing.event.HyperlinkListener hyperlinkListener,
java.awt.event.MouseListener mouseListener,
Ref<? super Consumer<? super java.lang.String>> updatedTextConsumer) |
static javax.swing.JComponent |
createQuestionLabel(java.lang.String text) |
static javax.swing.JComponent |
createQuestionLabel(java.lang.String text,
javax.swing.Icon icon) |
static java.awt.Color |
getErrorColor() |
static javax.swing.Icon |
getHintIcon(javax.swing.JComponent hintComponent) |
static java.lang.String |
getHintLabel(javax.swing.JComponent hintComponent) |
static java.awt.Color |
getInformationColor() |
static HintHint |
getInformationHint() |
static java.awt.Color |
getQuestionColor() |
static java.awt.Color |
getRecentLocationsSelectionColor(EditorColorsScheme colorsScheme) |
static java.lang.String |
prepareHintText(Html text,
HintHint hintHint) |
static java.lang.String |
prepareHintText(java.lang.String text,
HintHint hintHint) |
@Deprecated public static final java.awt.Color INFORMATION_COLOR
public static final java.awt.Color INFORMATION_BORDER_COLOR
@Deprecated public static final java.awt.Color ERROR_COLOR
public static final ColorKey INFORMATION_COLOR_KEY
public static final ColorKey QUESTION_COLOR_KEY
public static final ColorKey ERROR_COLOR_KEY
public static final java.awt.Color QUESTION_UNDERSCORE_COLOR
public static final ColorKey RECENT_LOCATIONS_SELECTION_KEY
public static final ColorKey PROMOTION_PANE_KEY
public static java.awt.Color getInformationColor()
public static java.awt.Color getQuestionColor()
public static java.awt.Color getErrorColor()
public static java.awt.Color getRecentLocationsSelectionColor(EditorColorsScheme colorsScheme)
public static javax.swing.JComponent createInformationLabel(java.lang.String text)
public static javax.swing.JComponent createInformationLabel(java.lang.String text, javax.swing.event.HyperlinkListener hyperlinkListener, java.awt.event.MouseListener mouseListener, Ref<? super Consumer<? super java.lang.String>> updatedTextConsumer)
public static HintHint getInformationHint()
public static javax.swing.border.CompoundBorder createHintBorder()
public static javax.swing.JComponent createInformationLabel(SimpleColoredText text)
public static javax.swing.JComponent createQuestionLabel(java.lang.String text)
public static javax.swing.JComponent createQuestionLabel(java.lang.String text, javax.swing.Icon icon)
public static java.lang.String getHintLabel(javax.swing.JComponent hintComponent)
public static javax.swing.Icon getHintIcon(javax.swing.JComponent hintComponent)
public static SimpleColoredComponent createInformationComponent()
public static javax.swing.JComponent createInformationLabel(SimpleColoredText text, javax.swing.Icon icon)
public static javax.swing.JComponent createErrorLabel(java.lang.String text, javax.swing.event.HyperlinkListener hyperlinkListener, java.awt.event.MouseListener mouseListener, Ref<? super Consumer<? super java.lang.String>> updatedTextConsumer)
public static javax.swing.JComponent createErrorLabel(java.lang.String text)
public static javax.swing.JLabel createAdComponent(java.lang.String bottomText, javax.swing.border.Border border, int alignment)
public static java.lang.String prepareHintText(java.lang.String text, HintHint hintHint)