be.lassi.ui.log
Class CommandStyledWriter
java.lang.Object
be.lassi.ui.log.CommandStyledWriter
- All Implemented Interfaces:
- CommandsProcessor
public class CommandStyledWriter
- extends java.lang.Object
- implements CommandsProcessor
Writes a textual representation of lanbox commands to a
StyledDocument
.
Method Summary |
void |
process(java.util.List<Command> commands)
Processes given lanbox commands. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandStyledWriter
public CommandStyledWriter(javax.swing.JTextPane textPane,
LogOptions options)
- Constructs a new instance.
- Parameters:
textPane
- the testPane to write tooptions
- the logging options
process
public void process(java.util.List<Command> commands)
- Processes given lanbox commands.
- Specified by:
process
in interface CommandsProcessor
- Parameters:
commands
- the lanbox commands to be processed