edu.rice.cs.drjava.ui
Class ForegroundColorListener
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_target
final Component _target
ForegroundColorListener
public ForegroundColorListener(Component target)
optionChanged
public void optionChanged(OptionEvent<Color> oce)
- Specified by:
optionChanged in interface OptionListener<Color>
_setColor
private void _setColor(Color c)