Table of Contents

Class Window

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class Window : Container, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Component>
Window
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Component>.IsAssignableFrom<T>()
JVMBridgeBase<Component>.Execute<T>(params T[])
JVMBridgeBase<Component>.DynBridgeClazz
JVMBridgeBase<Component>.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.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Window()

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

public Window()

Window(Frame)

public Window(Frame arg0)

Parameters

arg0 Frame

Frame

Window(Window)

public Window(Window arg0)

Parameters

arg0 Window

Window

Window(Window, GraphicsConfiguration)

public Window(Window arg0, GraphicsConfiguration arg1)

Parameters

arg0 Window

Window

arg1 GraphicsConfiguration

GraphicsConfiguration

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

BufferStrategy

public BufferStrategy BufferStrategy { get; }

Property Value

BufferStrategy

FocusOwner

public Component FocusOwner { get; }

Property Value

Component

FocusableWindowState

public bool FocusableWindowState { get; set; }

Property Value

bool

GetType

public Window.Type GetType { get; }

Property Value

Window.Type

IconImages

public List<Image> IconImages { get; set; }

Property Value

List<Image>

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

ModalExclusionType

public Dialog.ModalExclusionType ModalExclusionType { get; set; }

Property Value

Dialog.ModalExclusionType

MostRecentFocusOwner

public Component MostRecentFocusOwner { get; }

Property Value

Component

Opacity

public float Opacity { get; set; }

Property Value

float

OwnedWindows

public Window[] OwnedWindows { get; }

Property Value

Window[]

Owner

public Window Owner { get; }

Property Value

Window

OwnerlessWindows

public static Window[] OwnerlessWindows { get; }

Property Value

Window[]

Shape

public Shape Shape { get; set; }

Property Value

Shape

WarningString

public String WarningString { get; }

Property Value

String

WindowFocusListeners

public WindowFocusListener[] WindowFocusListeners { get; }

Property Value

WindowFocusListener[]

WindowListeners

public WindowListener[] WindowListeners { get; }

Property Value

WindowListener[]

WindowStateListeners

public WindowStateListener[] WindowStateListeners { get; }

Property Value

WindowStateListener[]

Windows

public static Window[] Windows { get; }

Property Value

Window[]

Methods

AddWindowFocusListener(WindowFocusListener)

public void AddWindowFocusListener(WindowFocusListener arg0)

Parameters

arg0 WindowFocusListener

WindowFocusListener

AddWindowListener(WindowListener)

public void AddWindowListener(WindowListener arg0)

Parameters

arg0 WindowListener

WindowListener

AddWindowStateListener(WindowStateListener)

public void AddWindowStateListener(WindowStateListener arg0)

Parameters

arg0 WindowStateListener

WindowStateListener

CreateBufferStrategy(int)

public void CreateBufferStrategy(int arg0)

Parameters

arg0 int

int

CreateBufferStrategy(int, BufferCapabilities)

public void CreateBufferStrategy(int arg0, BufferCapabilities arg1)

Parameters

arg0 int

int

arg1 BufferCapabilities

BufferCapabilities

Exceptions

AWTException

Dispose()

public void Dispose()

IsActive()

public bool IsActive()

Returns

bool

bool

IsAlwaysOnTop()

public bool IsAlwaysOnTop()

Returns

bool

bool

IsAlwaysOnTopSupported()

public bool IsAlwaysOnTopSupported()

Returns

bool

bool

IsAutoRequestFocus()

public bool IsAutoRequestFocus()

Returns

bool

bool

IsFocusableWindow()

public bool IsFocusableWindow()

Returns

bool

bool

IsFocused()

public bool IsFocused()

Returns

bool

bool

IsLocationByPlatform()

public bool IsLocationByPlatform()

Returns

bool

bool

Pack()

public void Pack()

RemoveWindowFocusListener(WindowFocusListener)

public void RemoveWindowFocusListener(WindowFocusListener arg0)

Parameters

arg0 WindowFocusListener

WindowFocusListener

RemoveWindowListener(WindowListener)

public void RemoveWindowListener(WindowListener arg0)

Parameters

arg0 WindowListener

WindowListener

RemoveWindowStateListener(WindowStateListener)

public void RemoveWindowStateListener(WindowStateListener arg0)

Parameters

arg0 WindowStateListener

WindowStateListener

SetAlwaysOnTop(bool)

public void SetAlwaysOnTop(bool arg0)

Parameters

arg0 bool

bool

Exceptions

SecurityException

SetAutoRequestFocus(bool)

public void SetAutoRequestFocus(bool arg0)

Parameters

arg0 bool

bool

SetIconImage(Image)

public void SetIconImage(Image arg0)

Parameters

arg0 Image

Image

SetLocationByPlatform(bool)

public void SetLocationByPlatform(bool arg0)

Parameters

arg0 bool

bool

SetLocationRelativeTo(Component)

public void SetLocationRelativeTo(Component arg0)

Parameters

arg0 Component

Component

SetType(Type)

public void SetType(Window.Type arg0)

Parameters

arg0 Window.Type

Window.Type

ToBack()

public void ToBack()

ToFront()

public void ToFront()

Operators

implicit operator Accessible(Window)

Converter from Window to Accessible

public static implicit operator Accessible(Window t)

Parameters

t Window

Returns

Accessible