org.eclipse.jubula.rc.swing.swing.implclasses
Class HighLighter

java.lang.Object
  extended by org.eclipse.jubula.rc.swing.swing.implclasses.HighLighter

public class HighLighter
extends java.lang.Object

This class high- and lowlights any JComponent with a small green border.

Created:
23.08.2004

Constructor Summary
HighLighter()
           
 
Method Summary
 void highLight(java.awt.Component component, java.awt.Color border)
          High ligths the given Component by a border painted to the glass pane.
 void lowLight(java.awt.Component component)
          Removes the high light border by repainting the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighLighter

public HighLighter()
Method Detail

highLight

public void highLight(java.awt.Component component,
                      java.awt.Color border)
High ligths the given Component by a border painted to the glass pane.

Parameters:
component - the component to highlight, will not be modified
border - the color to highlight with

lowLight

public void lowLight(java.awt.Component component)
Removes the high light border by repainting the component.

Parameters:
component - the component to low light, will not be modified