Class EventQueue
public class EventQueue : JVMBridgeBase<EventQueue>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
EventQueue
- Implements
- Extension Methods
Constructors
EventQueue()
public EventQueue()
EventQueue(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public EventQueue(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CurrentEvent
public static AWTEvent CurrentEvent { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
MostRecentEventTime
public static long MostRecentEventTime { get; }
Property Value
NextEvent
public AWTEvent NextEvent { get; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for EventQueue()
public static EventQueue CreatePoolableInstance()
Returns
CreateSecondaryLoop()
public SecondaryLoop CreateSecondaryLoop()
Returns
InvokeAndWait(Runnable)
https://docs.oracle.com/javase/8/docs/api/java/awt/EventQueue.html#invokeAndWait-java.lang.Runnable-
public static void InvokeAndWait(Runnable arg0)
Parameters
Exceptions
InvokeLater(Runnable)
public static void InvokeLater(Runnable arg0)
Parameters
IsDispatchThread()
public static bool IsDispatchThread()
Returns
PeekEvent()
public AWTEvent PeekEvent()
Returns
PeekEvent(int)
public AWTEvent PeekEvent(int arg0)
Parameters
Returns
PostEvent(AWTEvent)
public void PostEvent(AWTEvent arg0)
Parameters
Push(EventQueue)
public void Push(EventQueue arg0)
Parameters
arg0EventQueue