Class Toolkit
public class Toolkit : JVMBridgeBase<Toolkit>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Toolkit>Toolkit
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Toolkit>.IsAssignableFrom(IJavaType)JVMBridgeBase<Toolkit>.IsAssignableFrom<T>()JVMBridgeBase<Toolkit>.Execute<T>(params T[])JVMBridgeBase<Toolkit>.DynBridgeClazzJVMBridgeBase<Toolkit>.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.Dispose()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
Toolkit()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Toolkit 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 Toolkit()
Toolkit(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("Toolkit 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 Toolkit(params object[] args)
Parameters
args
object[]
Properties
AWTEventListeners
public AWTEventListener[] AWTEventListeners { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ColorModel
public ColorModel ColorModel { get; }
Property Value
DefaultToolkit
public static Toolkit DefaultToolkit { get; }
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
MaximumCursorColors
public int MaximumCursorColors { get; }
Property Value
MenuShortcutKeyMaskEx
public int MenuShortcutKeyMaskEx { get; }
Property Value
PropertyChangeListeners
public PropertyChangeListener[] PropertyChangeListeners { get; }
Property Value
ScreenResolution
public int ScreenResolution { get; }
Property Value
ScreenSize
public Dimension ScreenSize { get; }
Property Value
SystemClipboard
public Clipboard SystemClipboard { get; }
Property Value
SystemEventQueue
public EventQueue SystemEventQueue { get; }
Property Value
SystemSelection
public Clipboard SystemSelection { get; }
Property Value
Methods
AddAWTEventListener(AWTEventListener, long)
public void AddAWTEventListener(AWTEventListener arg0, long arg1)
Parameters
arg0
AWTEventListenerarg1
long
AddPropertyChangeListener(String, PropertyChangeListener)
public void AddPropertyChangeListener(String arg0, PropertyChangeListener arg1)
Parameters
AreExtraMouseButtonsEnabled()
public bool AreExtraMouseButtonsEnabled()
Returns
Exceptions
Beep()
public void Beep()
CheckImage(Image, int, int, ImageObserver)
public int CheckImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
Parameters
arg0
Imagearg1
intarg2
intarg3
ImageObserver
Returns
CreateCustomCursor(Image, Point, String)
public Cursor CreateCustomCursor(Image arg0, Point arg1, String arg2)
Parameters
Returns
Exceptions
CreateDragGestureRecognizer<T>(Class, DragSource, Component, int, DragGestureListener)
public T CreateDragGestureRecognizer<T>(Class arg0, DragSource arg1, Component arg2, int arg3, DragGestureListener arg4) where T : DragGestureRecognizer
Parameters
arg0
Classarg1
DragSourcearg2
Componentarg3
intarg4
DragGestureListener
Returns
- T
T
Type Parameters
CreateImage(ImageProducer)
public Image CreateImage(ImageProducer arg0)
Parameters
Returns
CreateImage(String)
public Image CreateImage(String arg0)
Parameters
Returns
CreateImage(URL)
public Image CreateImage(URL arg0)
Parameters
Returns
CreateImage(byte[])
public Image CreateImage(byte[] arg0)
Parameters
Returns
CreateImage(byte[], int, int)
public Image CreateImage(byte[] arg0, int arg1, int arg2)
Parameters
Returns
GetAWTEventListeners(long)
public AWTEventListener[] GetAWTEventListeners(long arg0)
Parameters
Returns
GetBestCursorSize(int, int)
public Dimension GetBestCursorSize(int arg0, int arg1)
Parameters
Returns
Exceptions
GetDesktopProperty(String)
public object GetDesktopProperty(String arg0)
Parameters
Returns
GetImage(String)
public Image GetImage(String arg0)
Parameters
Returns
GetImage(URL)
public Image GetImage(URL arg0)
Parameters
Returns
GetLockingKeyState(int)
public bool GetLockingKeyState(int arg0)
Parameters
Returns
Exceptions
GetPrintJob(Frame, String, JobAttributes, PageAttributes)
public PrintJob GetPrintJob(Frame arg0, String arg1, JobAttributes arg2, PageAttributes arg3)
Parameters
arg0
Framearg1
Stringarg2
JobAttributesarg3
PageAttributes
Returns
GetPrintJob(Frame, String, Properties)
public PrintJob GetPrintJob(Frame arg0, String arg1, Properties arg2)
Parameters
arg0
Framearg1
Stringarg2
Properties
Returns
GetProperty(String, String)
public static String GetProperty(String arg0, String arg1)
Parameters
Returns
GetPropertyChangeListeners(String)
public PropertyChangeListener[] GetPropertyChangeListeners(String arg0)
Parameters
Returns
GetScreenInsets(GraphicsConfiguration)
public Insets GetScreenInsets(GraphicsConfiguration arg0)
Parameters
Returns
Exceptions
IsAlwaysOnTopSupported()
public bool IsAlwaysOnTopSupported()
Returns
IsDynamicLayoutActive()
public bool IsDynamicLayoutActive()
Returns
Exceptions
IsFrameStateSupported(int)
public bool IsFrameStateSupported(int arg0)
Parameters
Returns
Exceptions
IsModalExclusionTypeSupported(ModalExclusionType)
public bool IsModalExclusionTypeSupported(Dialog.ModalExclusionType arg0)
Parameters
Returns
IsModalityTypeSupported(ModalityType)
public bool IsModalityTypeSupported(Dialog.ModalityType arg0)
Parameters
Returns
MapInputMethodHighlight(InputMethodHighlight)
public Map<TextAttribute, object> MapInputMethodHighlight(InputMethodHighlight arg0)
Parameters
Returns
Exceptions
PrepareImage(Image, int, int, ImageObserver)
public bool PrepareImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
Parameters
arg0
Imagearg1
intarg2
intarg3
ImageObserver
Returns
RemoveAWTEventListener(AWTEventListener)
public void RemoveAWTEventListener(AWTEventListener arg0)
Parameters
RemovePropertyChangeListener(String, PropertyChangeListener)
public void RemovePropertyChangeListener(String arg0, PropertyChangeListener arg1)
Parameters
SetDynamicLayout(bool)
public void SetDynamicLayout(bool arg0)
Parameters
Exceptions
SetLockingKeyState(int, bool)
public void SetLockingKeyState(int arg0, bool arg1)
Parameters
Exceptions
Sync()
public void Sync()