Class QDLCharKeyAdapter

  • All Implemented Interfaces:
    KeyListener, EventListener
    Direct Known Subclasses:
    QDLSASTerminal.QDLSASKeyCharAdapter

    public class QDLCharKeyAdapter
    extends KeyAdapter
    This will listen for key strokes that are remapped to special characters E.g. alt+e is ∈. This might be re-writable as a key binding but won't be able to use the mechanisms in other terminals, adding the maintenence issues. So it looks to be a lot of work. The main argument for doing this is speed -- at some point this is going to get slow if there is a lot of text to wade through since it has to do surgery on the entire text area. If that happens, a rewrite is in order.