Table of Contents

Class JFrame

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JFrame : Frame, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JFrame
Implements
Inherited Members
Extension Methods

Constructors

JFrame()

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

public JFrame()

JFrame(GraphicsConfiguration)

public JFrame(GraphicsConfiguration arg0)

Parameters

arg0 GraphicsConfiguration

GraphicsConfiguration

JFrame(String)

public JFrame(String arg0)

Parameters

arg0 String

String

Exceptions

HeadlessException

JFrame(String, GraphicsConfiguration)

public JFrame(String arg0, GraphicsConfiguration arg1)

Parameters

arg0 String

String

arg1 GraphicsConfiguration

GraphicsConfiguration

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ContentPane

public Container ContentPane { get; set; }

Property Value

Container

DefaultCloseOperation

public int DefaultCloseOperation { get; set; }

Property Value

int

GlassPane

public Component GlassPane { get; set; }

Property Value

Component

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

JMenuBar

public JMenuBar JMenuBar { get; set; }

Property Value

JMenuBar

LayeredPane

public JLayeredPane LayeredPane { get; set; }

Property Value

JLayeredPane

RootPane

public JRootPane RootPane { get; }

Property Value

JRootPane

TransferHandler

public TransferHandler TransferHandler { get; set; }

Property Value

TransferHandler

Methods

IsDefaultLookAndFeelDecorated()

public static bool IsDefaultLookAndFeelDecorated()

Returns

bool

bool

SetDefaultLookAndFeelDecorated(bool)

public static void SetDefaultLookAndFeelDecorated(bool arg0)

Parameters

arg0 bool

bool

Operators

implicit operator Accessible(JFrame)

Converter from JFrame to Accessible

public static implicit operator Accessible(JFrame t)

Parameters

t JFrame

Returns

Accessible

implicit operator RootPaneContainer(JFrame)

Converter from JFrame to RootPaneContainer

public static implicit operator RootPaneContainer(JFrame t)

Parameters

t JFrame

Returns

RootPaneContainer

implicit operator WindowConstants(JFrame)

Converter from JFrame to WindowConstants

public static implicit operator WindowConstants(JFrame t)

Parameters

t JFrame

Returns

WindowConstants