@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.passwordField); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textField); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textArea); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textArea); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textField); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textField); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.passwordField); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textPane); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textField); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.editorPane); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.editorPane); }
@Override protected void paintBackground(Graphics g) { SubstanceTextUtilities.paintTextCompBackground(g, this.textPane); }
@Override public void update(Graphics g, JComponent c) { SubstanceTextUtilities.paintTextCompBackground(g, c); this.paint(g, c); }
@Override public void update(Graphics g, JComponent c) { SubstanceTextUtilities.paintTextCompBackground(g, c); this.paint(g, c); }
/** * Paints background of the specified text component. * * @param g * Graphics context. * @param comp * Component. */ public static void paintTextCompBackground(Graphics g, JComponent comp) { Color backgroundFillColor = getTextBackgroundFillColor(comp); paintTextCompBackground(g, comp, backgroundFillColor, SubstanceCoreUtilities.toDrawWatermark(comp) || !comp.isOpaque()); }
/** * Paints background of the specified text component. * * @param g * Graphics context. * @param comp * Component. */ public static void paintTextCompBackground(Graphics g, JComponent comp) { Color backgroundFillColor = getTextBackgroundFillColor(comp); boolean toPaintWatermark = (SubstanceLookAndFeel.getCurrentSkin(comp) .getWatermark() != null) && (SubstanceCoreUtilities.toDrawWatermark(comp) || !comp .isOpaque()); paintTextCompBackground(g, comp, backgroundFillColor, toPaintWatermark); }