Table of Contents

Class AppletContext

Namespace
Java.Applet
Assembly
MASES.JNet.dll
public class AppletContext : JVMBridgeBase<AppletContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAppletContext
Inheritance
AppletContext
Implements
Inherited Members
Extension Methods

Constructors

AppletContext()

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

[Obsolete("AppletContext class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AppletContext()

AppletContext(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AppletContext(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

AppletContext(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

[Obsolete("AppletContext class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AppletContext(params object[] args)

Parameters

args object[]

Properties

Applets

public Enumeration<Applet> Applets { get; }

Property Value

Enumeration<Applet>

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

StreamKeys

public Iterator<String> StreamKeys { get; }

Property Value

Iterator<String>

Methods

GetApplet(String)

public Applet GetApplet(String arg0)

Parameters

arg0 String

String

Returns

Applet

Applet

GetAudioClip(URL)

public AudioClip GetAudioClip(URL arg0)

Parameters

arg0 URL

URL

Returns

AudioClip

AudioClip

GetImage(URL)

public Image GetImage(URL arg0)

Parameters

arg0 URL

URL

Returns

Image

Image

GetStream(String)

public InputStream GetStream(String arg0)

Parameters

arg0 String

String

Returns

InputStream

InputStream

SetStream(String, InputStream)

public void SetStream(String arg0, InputStream arg1)

Parameters

arg0 String

String

arg1 InputStream

InputStream

Exceptions

IOException

ShowDocument(URL)

public void ShowDocument(URL arg0)

Parameters

arg0 URL

URL

ShowDocument(URL, String)

public void ShowDocument(URL arg0, String arg1)

Parameters

arg0 URL

URL

arg1 String

String

ShowStatus(String)

public void ShowStatus(String arg0)

Parameters

arg0 String

String