/** * Sets the selected background color of this <code>ColorHighlighter</code> * and notifies registered ChangeListeners. * * @param color the selected background color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected background color */ public void setSelectedBackground(Color color) { if (areEqual(color, getSelectedBackground()))return; selectedBackground = color; fireStateChanged(); }
/** * Sets the foreground color of this <code>ColorHighlighter</code> and notifies * registered ChangeListeners. * * @param color the foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing foreground color */ public void setForeground(Color color) { if (areEqual(color, getForeground())) return; foreground = color; fireStateChanged(); }
/** * Sets the selected background color of this <code>ColorHighlighter</code> * and notifies registered ChangeListeners. * * @param color the selected background color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected background color */ public void setSelectedBackground(Color color) { if (areEqual(color, getSelectedBackground()))return; selectedBackground = color; fireStateChanged(); }
/** * Sets the background color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the background color of this <code>Highlighter</code>, * or null, to clear any existing background color */ public void setBackground(Color color) { if (areEqual(color, getBackground())) return; background = color; fireStateChanged(); }
/** * Sets the selected foreground color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the selected foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected foreground color */ public void setSelectedForeground(Color color) { if (areEqual(color, getSelectedForeground())) return; selectedForeground = color; fireStateChanged(); } }
/** * Sets the background color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the background color of this <code>Highlighter</code>, * or null, to clear any existing background color */ public void setBackground(Color color) { if (areEqual(color, getBackground())) return; background = color; fireStateChanged(); }
/** * Sets the foreground color of this <code>ColorHighlighter</code> and notifies * registered ChangeListeners. * * @param color the foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing foreground color */ public void setForeground(Color color) { if (areEqual(color, getForeground())) return; foreground = color; fireStateChanged(); }
/** * Sets the selected background color of this <code>ColorHighlighter</code> * and notifies registered ChangeListeners. * * @param color the selected background color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected background color */ public void setSelectedBackground(Color color) { if (areEqual(color, getSelectedBackground()))return; selectedBackground = color; fireStateChanged(); }
/** * Sets the background color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the background color of this <code>Highlighter</code>, * or null, to clear any existing background color */ public void setBackground(Color color) { if (areEqual(color, getBackground())) return; background = color; fireStateChanged(); }
/** * Sets the selected background color of this <code>ColorHighlighter</code> * and notifies registered ChangeListeners. * * @param color the selected background color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected background color */ public void setSelectedBackground(Color color) { if (areEqual(color, getSelectedBackground()))return; selectedBackground = color; fireStateChanged(); }
/** * Sets the background color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the background color of this <code>Highlighter</code>, * or null, to clear any existing background color */ public void setBackground(Color color) { if (areEqual(color, getBackground())) return; background = color; fireStateChanged(); }
/** * Sets the selected background color of this <code>ColorHighlighter</code> * and notifies registered ChangeListeners. * * @param color the selected background color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected background color */ public void setSelectedBackground(Color color) { if (areEqual(color, getSelectedBackground()))return; selectedBackground = color; fireStateChanged(); }
/** * Sets the selected foreground color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the selected foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected foreground color */ public void setSelectedForeground(Color color) { if (areEqual(color, getSelectedForeground())) return; selectedForeground = color; fireStateChanged(); }
/** * Sets the foreground color of this <code>ColorHighlighter</code> and notifies * registered ChangeListeners. * * @param color the foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing foreground color */ public void setForeground(Color color) { if (areEqual(color, getForeground())) return; foreground = color; fireStateChanged(); }
/** * Sets the foreground color of this <code>ColorHighlighter</code> and notifies * registered ChangeListeners. * * @param color the foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing foreground color */ public void setForeground(Color color) { if (areEqual(color, getForeground())) return; foreground = color; fireStateChanged(); }
/** * Sets the background color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the background color of this <code>Highlighter</code>, * or null, to clear any existing background color */ public void setBackground(Color color) { if (areEqual(color, getBackground())) return; background = color; fireStateChanged(); }
/** * Sets the foreground color of this <code>ColorHighlighter</code> and notifies * registered ChangeListeners. * * @param color the foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing foreground color */ public void setForeground(Color color) { if (areEqual(color, getForeground())) return; foreground = color; fireStateChanged(); }
/** * Sets the selected foreground color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the selected foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected foreground color */ public void setSelectedForeground(Color color) { if (areEqual(color, getSelectedForeground())) return; selectedForeground = color; fireStateChanged(); } }
/** * Sets the selected foreground color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the selected foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected foreground color */ public void setSelectedForeground(Color color) { if (areEqual(color, getSelectedForeground())) return; selectedForeground = color; fireStateChanged(); } }
/** * Sets the selected foreground color of this <code>ColorHighlighter</code> and * notifies registered ChangeListeners. * * @param color the selected foreground color of this <code>ColorHighlighter</code>, * or null, to clear any existing selected foreground color */ public void setSelectedForeground(Color color) { if (areEqual(color, getSelectedForeground())) return; selectedForeground = color; fireStateChanged(); } }