org.crsh.console
Class KeyStroke

java.lang.Object
  extended by org.crsh.console.KeyStroke

 class KeyStroke
extends Object

A recorded key stroke that associates an operation with the sequence that triggered it.

Author:
Julien Viet

Field Summary
(package private)  Operation operation
          .
(package private)  int[] sequence
          .
 
Constructor Summary
KeyStroke(Operation operation, int... sequence)
           
 
Method Summary
(package private)  KeyType map()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operation

final Operation operation
.


sequence

final int[] sequence
.

Constructor Detail

KeyStroke

public KeyStroke(Operation operation,
                 int... sequence)
Method Detail

map

KeyType map()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.