com.jogamp.newt.event
Class MonitorEvent
java.lang.Object
java.util.EventObject
com.jogamp.newt.event.NEWTEvent
com.jogamp.newt.event.OutputEvent
com.jogamp.newt.event.MonitorEvent
- All Implemented Interfaces:
- Serializable
public class MonitorEvent
- extends OutputEvent
- See Also:
- Serialized Form
EVENT_MONITOR_MODE_CHANGE_NOTIFY
public static final short EVENT_MONITOR_MODE_CHANGE_NOTIFY
- See Also:
- Constant Field Values
EVENT_MONITOR_MODE_CHANGED
public static final short EVENT_MONITOR_MODE_CHANGED
- See Also:
- Constant Field Values
MonitorEvent
public MonitorEvent(short eventType,
MonitorDevice source,
long when,
MonitorMode mode)
getMonitor
public final MonitorDevice getMonitor()
- Returns the
source
, which is a MonitorDevice
.
getMode
public final MonitorMode getMode()
getEventTypeString
public static String getEventTypeString(short type)
toString
public final String toString()
- Overrides:
toString
in class NEWTEvent
toString
public final StringBuilder toString(StringBuilder sb)
- Overrides:
toString
in class NEWTEvent
Copyright 2010 JogAmp Community.