JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.newt.event.MonitorEvent Class Reference
Inheritance diagram for com.jogamp.newt.event.MonitorEvent:
Collaboration diagram for com.jogamp.newt.event.MonitorEvent:

Public Member Functions

 MonitorEvent (final short eventType, final MonitorDevice source, final long when, final MonitorMode mode)
 
final MonitorDevice getMonitor ()
 Returns the source, which is a MonitorDevice. More...
 
final MonitorMode getMode ()
 
final String toString ()
 
final StringBuilder toString (StringBuilder sb)
 
- Public Member Functions inherited from com.jogamp.newt.event.NEWTEvent
final short getEventType ()
 Returns the event type of this event. More...
 
final long getWhen ()
 Returns the timestamp, in milliseconds, of this event. More...
 
final void setAttachment (final Object attachment)
 Attach the passed object to this event. More...
 
final Object getAttachment ()
 
final boolean isConsumed ()
 Returns true if this events has been consumed, otherwise false. More...
 
final void setConsumed (final boolean consumed)
 If consumed is true, this event is marked as consumed, ie. More...
 
String toString ()
 
StringBuilder toString (StringBuilder sb)
 

Static Public Member Functions

static String getEventTypeString (final short type)
 
- Static Public Member Functions inherited from com.jogamp.newt.event.NEWTEvent
static String toHexString (final short hex)
 

Static Public Attributes

static final short EVENT_MONITOR_MODE_CHANGE_NOTIFY = 600
 
static final short EVENT_MONITOR_MODE_CHANGED = 601
 
- Static Public Attributes inherited from com.jogamp.newt.event.NEWTEvent
static final Object consumedTag = new Object()
 See setConsumed(boolean) for description. More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.jogamp.newt.event.OutputEvent
 OutputEvent (final short eventType, final Object source, final long when)
 
- Protected Member Functions inherited from com.jogamp.newt.event.NEWTEvent
 NEWTEvent (final short eventType, final Object source, final long when)
 

Detailed Description

Definition at line 35 of file MonitorEvent.java.

Constructor & Destructor Documentation

◆ MonitorEvent()

com.jogamp.newt.event.MonitorEvent.MonitorEvent ( final short  eventType,
final MonitorDevice  source,
final long  when,
final MonitorMode  mode 
)

Definition at line 41 of file MonitorEvent.java.

Member Function Documentation

◆ getEventTypeString()

static String com.jogamp.newt.event.MonitorEvent.getEventTypeString ( final short  type)
static

Definition at line 51 of file MonitorEvent.java.

◆ getMode()

final MonitorMode com.jogamp.newt.event.MonitorEvent.getMode ( )

Definition at line 49 of file MonitorEvent.java.

◆ getMonitor()

final MonitorDevice com.jogamp.newt.event.MonitorEvent.getMonitor ( )

Returns the source, which is a MonitorDevice.

Definition at line 47 of file MonitorEvent.java.

◆ toString() [1/2]

final String com.jogamp.newt.event.MonitorEvent.toString ( )

Reimplemented from com.jogamp.newt.event.NEWTEvent.

Definition at line 60 of file MonitorEvent.java.

◆ toString() [2/2]

final StringBuilder com.jogamp.newt.event.MonitorEvent.toString ( StringBuilder  sb)

Reimplemented from com.jogamp.newt.event.NEWTEvent.

Definition at line 65 of file MonitorEvent.java.

Member Data Documentation

◆ EVENT_MONITOR_MODE_CHANGE_NOTIFY

final short com.jogamp.newt.event.MonitorEvent.EVENT_MONITOR_MODE_CHANGE_NOTIFY = 600
static

Definition at line 36 of file MonitorEvent.java.

◆ EVENT_MONITOR_MODE_CHANGED

final short com.jogamp.newt.event.MonitorEvent.EVENT_MONITOR_MODE_CHANGED = 601
static

Definition at line 37 of file MonitorEvent.java.


The documentation for this class was generated from the following file: