Table of Contents

Class SystemSleepListener

Namespace
Java.Awt.DesktopNs
Assembly
MASES.JNet.dll
public class SystemSleepListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISystemSleepListener
Inheritance
SystemSleepListener
Implements
Derived
Inherited Members
Extension Methods

Constructors

SystemSleepListener()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public SystemSleepListener()

SystemSleepListener(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public SystemSleepListener(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnSystemAboutToSleep

public Action<SystemSleepEvent> OnSystemAboutToSleep { get; set; }

Property Value

Action<SystemSleepEvent>

Remarks

If OnSystemAboutToSleep has a value it takes precedence over corresponding class method

OnSystemAwoke

public Action<SystemSleepEvent> OnSystemAwoke { get; set; }

Property Value

Action<SystemSleepEvent>

Remarks

If OnSystemAwoke has a value it takes precedence over corresponding class method

Methods

InitializeHandlers()

Handlers initializer for SystemSleepListener

protected virtual void InitializeHandlers()

SystemAboutToSleep(SystemSleepEvent)

public virtual void SystemAboutToSleep(SystemSleepEvent arg0)

Parameters

arg0 SystemSleepEvent

SystemSleepEvent

SystemAwoke(SystemSleepEvent)

public virtual void SystemAwoke(SystemSleepEvent arg0)

Parameters

arg0 SystemSleepEvent

SystemSleepEvent