Table of Contents

Class Desktop

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class Desktop : JVMBridgeBase<Desktop>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Desktop>
Desktop
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Desktop>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Desktop>.IsAssignableFrom<T>()
JVMBridgeBase<Desktop>.Execute<T>(params T[])
JVMBridgeBase<Desktop>.DynBridgeClazz
JVMBridgeBase<Desktop>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Desktop()

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

public Desktop()

Desktop(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 Desktop(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

GetDesktop

public static Desktop GetDesktop { get; }

Property Value

Desktop

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AddAppEventListener(SystemEventListener)

public void AddAppEventListener(SystemEventListener arg0)

Parameters

arg0 SystemEventListener

SystemEventListener

Browse(URI)

public void Browse(URI arg0)

Parameters

arg0 URI

URI

Exceptions

IOException

BrowseFileDirectory(File)

public void BrowseFileDirectory(File arg0)

Parameters

arg0 File

File

DisableSuddenTermination()

public void DisableSuddenTermination()

Edit(File)

public void Edit(File arg0)

Parameters

arg0 File

File

Exceptions

IOException

EnableSuddenTermination()

public void EnableSuddenTermination()

IsDesktopSupported()

public static bool IsDesktopSupported()

Returns

bool

bool

IsSupported(Action)

public bool IsSupported(Desktop.Action arg0)

Parameters

arg0 Desktop.Action

Desktop.Action

Returns

bool

bool

Mail()

public void Mail()

Exceptions

IOException

Mail(URI)

public void Mail(URI arg0)

Parameters

arg0 URI

URI

Exceptions

IOException

MoveToTrash(File)

public bool MoveToTrash(File arg0)

Parameters

arg0 File

File

Returns

bool

bool

Open(File)

public void Open(File arg0)

Parameters

arg0 File

File

Exceptions

IOException

OpenHelpViewer()

public void OpenHelpViewer()

Print(File)

public void Print(File arg0)

Parameters

arg0 File

File

Exceptions

IOException

RemoveAppEventListener(SystemEventListener)

public void RemoveAppEventListener(SystemEventListener arg0)

Parameters

arg0 SystemEventListener

SystemEventListener

RequestForeground(bool)

public void RequestForeground(bool arg0)

Parameters

arg0 bool

bool

SetAboutHandler(AboutHandler)

public void SetAboutHandler(AboutHandler arg0)

Parameters

arg0 AboutHandler

AboutHandler

SetDefaultMenuBar(JMenuBar)

public void SetDefaultMenuBar(JMenuBar arg0)

Parameters

arg0 JMenuBar

JMenuBar

SetOpenFileHandler(OpenFilesHandler)

public void SetOpenFileHandler(OpenFilesHandler arg0)

Parameters

arg0 OpenFilesHandler

OpenFilesHandler

SetOpenURIHandler(OpenURIHandler)

public void SetOpenURIHandler(OpenURIHandler arg0)

Parameters

arg0 OpenURIHandler

OpenURIHandler

SetPreferencesHandler(PreferencesHandler)

public void SetPreferencesHandler(PreferencesHandler arg0)

Parameters

arg0 PreferencesHandler

PreferencesHandler

SetPrintFileHandler(PrintFilesHandler)

public void SetPrintFileHandler(PrintFilesHandler arg0)

Parameters

arg0 PrintFilesHandler

PrintFilesHandler

SetQuitHandler(QuitHandler)

public void SetQuitHandler(QuitHandler arg0)

Parameters

arg0 QuitHandler

QuitHandler

SetQuitStrategy(QuitStrategy)

public void SetQuitStrategy(QuitStrategy arg0)

Parameters

arg0 QuitStrategy

QuitStrategy