org.simbrain.world.textworld
Class TextWorld.MyHighlightPainter
java.lang.Object
javax.swing.text.LayeredHighlighter.LayerPainter
javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
org.simbrain.world.textworld.TextWorld.MyHighlightPainter
- All Implemented Interfaces:
- Highlighter.HighlightPainter
- Enclosing class:
- TextWorld
class TextWorld.MyHighlightPainter
- extends DefaultHighlighter.DefaultHighlightPainter
A private subclass of the default highlight painter.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextWorld.MyHighlightPainter
public TextWorld.MyHighlightPainter(Color color)
- Sets the color of highlighter.
- Parameters:
color - Color of highlight