de.uni_paderborn.fujaba.fsa.listener
Class ForegroundHighlighter

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.listener.ForegroundHighlighter
All Implemented Interfaces:
java.util.EventListener, SelectionListener

public class ForegroundHighlighter
extends java.lang.Object
implements SelectionListener

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.11 $
Author:
$Author: lowende $

Field Summary
static java.lang.String OLDCOLOR_CLIENTPROPERTY
          No comment provided by developer, please add a comment to improve documentation.
private static ForegroundHighlighter singleton
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
private ForegroundHighlighter()
          The default constructor is empty.
 
Method Summary
static ForegroundHighlighter get()
          No comment provided by developer, please add a comment to improve documentation.
private  java.awt.Color getOldColor(javax.swing.JComponent comp)
          Get the oldColor attribute of the ForegroundHighlighter object
 void selectionChanged(SelectionEvent event)
          No comment provided by developer, please add a comment to improve documentation.
private  boolean setOldColor(javax.swing.JComponent comp, java.awt.Color c)
          Sets the oldColor attribute of the ForegroundHighlighter object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OLDCOLOR_CLIENTPROPERTY

public static final java.lang.String OLDCOLOR_CLIENTPROPERTY
No comment provided by developer, please add a comment to improve documentation.


singleton

private static ForegroundHighlighter singleton
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

ForegroundHighlighter

private ForegroundHighlighter()
The default constructor is empty.

Method Detail

get

public static ForegroundHighlighter get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

selectionChanged

public void selectionChanged(SelectionEvent event)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
selectionChanged in interface SelectionListener
Parameters:
event - No description provided

setOldColor

private boolean setOldColor(javax.swing.JComponent comp,
                            java.awt.Color c)
Sets the oldColor attribute of the ForegroundHighlighter object

Parameters:
comp - The new oldColor value
c - The new oldColor value
Returns:
No description provided

getOldColor

private java.awt.Color getOldColor(javax.swing.JComponent comp)
Get the oldColor attribute of the ForegroundHighlighter object

Parameters:
comp - No description provided
Returns:
The oldColor value