Package | Description |
---|---|
squidpony.squidgrid.gui.awt.event |
Modifier and Type | Method and Description |
---|---|
static SGKeyListener.CaptureType |
SGKeyListener.CaptureType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SGKeyListener.CaptureType[] |
SGKeyListener.CaptureType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
SGKeyListener(boolean blockOnEmpty,
SGKeyListener.CaptureType type)
Creates a new listener which can optionally block when no input is
currently available and will capture on key up or key down depending on
the parameters.
|