edu.rice.cs.drjava.ui
Class ForegroundColorListener

java.lang.Object
  extended by edu.rice.cs.drjava.ui.ForegroundColorListener
All Implemented Interfaces:
OptionListener<Color>

 class ForegroundColorListener
extends Object
implements OptionListener<Color>

Creates and installs an OptionListener for DEFINITIONS_NORMAL_COLOR on a specified JTextComponent.


Field Summary
(package private)  Component _target
           
 
Constructor Summary
ForegroundColorListener(Component target)
           
 
Method Summary
private  void _setColor(Color c)
           
 void optionChanged(OptionEvent<Color> oce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_target

final Component _target
Constructor Detail

ForegroundColorListener

public ForegroundColorListener(Component target)
Method Detail

optionChanged

public void optionChanged(OptionEvent<Color> oce)
Specified by:
optionChanged in interface OptionListener<Color>

_setColor

private void _setColor(Color c)