Class Window
public class Window : Container, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>Window
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)JVMBridgeBase<Component>.IsAssignableFrom<T>()JVMBridgeBase<Component>.Execute<T>(params T[])JVMBridgeBase<Component>.DynBridgeClazzJVMBridgeBase<Component>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
Window(Window)
public Window(Window arg0)
Parameters
Window(Window, GraphicsConfiguration)
public Window(Window arg0, GraphicsConfiguration arg1)
Parameters
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
BufferStrategy
public BufferStrategy BufferStrategy { get; }
Property Value
FocusOwner
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#getFocusOwner()
public Component FocusOwner { get; }
Property Value
FocusableWindowState
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#getFocusableWindowState() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#setFocusableWindowState(boolean)
public bool FocusableWindowState { get; set; }
Property Value
GetType
public Window.Type GetType { get; }
Property Value
IconImages
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#getIconImages() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#setIconImages(java.util.List)
public List<Image> IconImages { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
ModalExclusionType
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#getModalExclusionType() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#setModalExclusionType(java.awt.Dialog.ModalExclusionType)
public Dialog.ModalExclusionType ModalExclusionType { get; set; }
Property Value
MostRecentFocusOwner
public Component MostRecentFocusOwner { get; }
Property Value
Opacity
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#getOpacity() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#setOpacity(float)
public float Opacity { get; set; }
Property Value
OwnedWindows
public Window[] OwnedWindows { get; }
Property Value
- Window[]
Owner
public Window Owner { get; }
Property Value
OwnerlessWindows
public static Window[] OwnerlessWindows { get; }
Property Value
- Window[]
Shape
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#getShape() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#setShape(java.awt.Shape)
public Shape Shape { get; set; }
Property Value
WarningString
public String WarningString { get; }
Property Value
WindowFocusListeners
public WindowFocusListener[] WindowFocusListeners { get; }
Property Value
WindowListeners
public WindowListener[] WindowListeners { get; }
Property Value
WindowStateListeners
public WindowStateListener[] WindowStateListeners { get; }
Property Value
Windows
public static Window[] Windows { get; }
Property Value
- Window[]
Methods
AddWindowFocusListener(WindowFocusListener)
public void AddWindowFocusListener(WindowFocusListener arg0)
Parameters
AddWindowListener(WindowListener)
public void AddWindowListener(WindowListener arg0)
Parameters
AddWindowStateListener(WindowStateListener)
public void AddWindowStateListener(WindowStateListener arg0)
Parameters
CreateBufferStrategy(int)
public void CreateBufferStrategy(int arg0)
Parameters
CreateBufferStrategy(int, BufferCapabilities)
public void CreateBufferStrategy(int arg0, BufferCapabilities arg1)
Parameters
arg0
intarg1
BufferCapabilities
Exceptions
Dispose()
public void Dispose()
IsActive()
public bool IsActive()
Returns
IsAlwaysOnTop()
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Window.html#isAlwaysOnTop()
public bool IsAlwaysOnTop()
Returns
IsAlwaysOnTopSupported()
public bool IsAlwaysOnTopSupported()
Returns
IsAutoRequestFocus()
public bool IsAutoRequestFocus()
Returns
IsFocusableWindow()
public bool IsFocusableWindow()
Returns
IsFocused()
public bool IsFocused()
Returns
IsLocationByPlatform()
public bool IsLocationByPlatform()
Returns
Pack()
public void Pack()
RemoveWindowFocusListener(WindowFocusListener)
public void RemoveWindowFocusListener(WindowFocusListener arg0)
Parameters
RemoveWindowListener(WindowListener)
public void RemoveWindowListener(WindowListener arg0)
Parameters
RemoveWindowStateListener(WindowStateListener)
public void RemoveWindowStateListener(WindowStateListener arg0)
Parameters
SetAlwaysOnTop(bool)
public void SetAlwaysOnTop(bool arg0)
Parameters
Exceptions
SetAutoRequestFocus(bool)
public void SetAutoRequestFocus(bool arg0)
Parameters
SetIconImage(Image)
public void SetIconImage(Image arg0)
Parameters
SetLocationByPlatform(bool)
public void SetLocationByPlatform(bool arg0)
Parameters
SetLocationRelativeTo(Component)
public void SetLocationRelativeTo(Component arg0)
Parameters
SetType(Type)
public void SetType(Window.Type arg0)
Parameters
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