public class MonitorEvent extends OutputEvent
Modifier and Type | Field and Description |
---|---|
static short |
EVENT_MONITOR_MODE_CHANGE_NOTIFY |
static short |
EVENT_MONITOR_MODE_CHANGED |
consumedTag
Constructor and Description |
---|
MonitorEvent(short eventType,
MonitorDevice source,
long when,
MonitorMode mode) |
Modifier and Type | Method and Description |
---|---|
static String |
getEventTypeString(short type) |
MonitorMode |
getMode() |
MonitorDevice |
getMonitor()
Returns the
source , which is a MonitorDevice . |
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
getAttachment, getEventType, getWhen, isConsumed, setAttachment, setConsumed, toHexString
getSource
public static final short EVENT_MONITOR_MODE_CHANGE_NOTIFY
public static final short EVENT_MONITOR_MODE_CHANGED
public MonitorEvent(short eventType, MonitorDevice source, long when, MonitorMode mode)
public final MonitorDevice getMonitor()
source
, which is a MonitorDevice
.public final MonitorMode getMode()
public static String getEventTypeString(short type)
public final StringBuilder toString(StringBuilder sb)
Copyright 2010 JogAmp Community.