Package com.formdev.flatlaf.themeeditor
Class FlatThemeEditorOverlay
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.LayerUI<FlatSyntaxTextArea>
-
- com.formdev.flatlaf.themeeditor.FlatThemeEditorOverlay
-
- All Implemented Interfaces:
java.io.Serializable
class FlatThemeEditorOverlay extends javax.swing.plaf.LayerUI<FlatSyntaxTextArea>
An overlay layer that paints additional information about line content on the right side.
-
-
Constructor Summary
Constructors Constructor Description FlatThemeEditorOverlay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.awt.Color
getColorInLine(FlatSyntaxTextArea textArea, int line)
void
paint(java.awt.Graphics g, javax.swing.JComponent c)
-
Methods inherited from class javax.swing.plaf.LayerUI
addPropertyChangeListener, addPropertyChangeListener, applyPropertyChange, doLayout, eventDispatched, firePropertyChange, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, imageUpdate, installUI, paintImmediately, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removePropertyChangeListener, removePropertyChangeListener, uninstallUI, updateUI
-
-
-
-
Field Detail
-
COLOR_PREVIEW_WIDTH
private static final int COLOR_PREVIEW_WIDTH
- See Also:
- Constant Field Values
-
showHSL
static boolean showHSL
-
showRGB
static boolean showRGB
-
showLuma
static boolean showLuma
-
font
private java.awt.Font font
-
baseFont
private java.awt.Font baseFont
-
-
Method Detail
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
paint
in classjavax.swing.plaf.LayerUI<FlatSyntaxTextArea>
-
getColorInLine
private java.awt.Color getColorInLine(FlatSyntaxTextArea textArea, int line)
-
-