Class Component
public class Component : JVMBridgeBase<Component>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>Component
- 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.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
Component()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Component 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 Component()
Component(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("Component 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 Component(params object[] args)
Parameters
args
object[]
Properties
AccessibleContext
public AccessibleContext AccessibleContext { get; }
Property Value
AlignmentX
public float AlignmentX { get; }
Property Value
AlignmentY
public float AlignmentY { get; }
Property Value
BOTTOM_ALIGNMENT
public static float BOTTOM_ALIGNMENT { get; }
Property Value
Background
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getBackground() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setBackground(java.awt.Color)
public Color Background { get; set; }
Property Value
Bounds
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getBounds() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setBounds(java.awt.Rectangle)
public Rectangle Bounds { get; set; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CENTER_ALIGNMENT
public static float CENTER_ALIGNMENT { get; }
Property Value
ColorModel
public ColorModel ColorModel { get; }
Property Value
ComponentListeners
public ComponentListener[] ComponentListeners { get; }
Property Value
ComponentOrientation
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getComponentOrientation() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setComponentOrientation(java.awt.ComponentOrientation)
public ComponentOrientation ComponentOrientation { get; set; }
Property Value
Cursor
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getCursor() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setCursor(java.awt.Cursor)
public Cursor Cursor { get; set; }
Property Value
DropTarget
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getDropTarget() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setDropTarget(java.awt.dnd.DropTarget)
public DropTarget DropTarget { get; set; }
Property Value
FocusCycleRootAncestor
public Container FocusCycleRootAncestor { get; }
Property Value
FocusListeners
public FocusListener[] FocusListeners { get; }
Property Value
FocusTraversalKeysEnabled
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getFocusTraversalKeysEnabled() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setFocusTraversalKeysEnabled(boolean)
public bool FocusTraversalKeysEnabled { get; set; }
Property Value
Font
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getFont() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setFont(java.awt.Font)
public Font Font { get; set; }
Property Value
Foreground
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getForeground() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setForeground(java.awt.Color)
public Color Foreground { get; set; }
Property Value
GetBaselineResizeBehavior
public Component.BaselineResizeBehavior GetBaselineResizeBehavior { get; }
Property Value
Graphics
public Graphics Graphics { get; }
Property Value
GraphicsConfiguration
public GraphicsConfiguration GraphicsConfiguration { get; }
Property Value
Height
public int Height { get; }
Property Value
HierarchyBoundsListeners
public HierarchyBoundsListener[] HierarchyBoundsListeners { get; }
Property Value
HierarchyListeners
public HierarchyListener[] HierarchyListeners { get; }
Property Value
IgnoreRepaint
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getIgnoreRepaint() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setIgnoreRepaint(boolean)
public bool IgnoreRepaint { get; set; }
Property Value
InputContext
public InputContext InputContext { get; }
Property Value
InputMethodListeners
public InputMethodListener[] InputMethodListeners { get; }
Property Value
InputMethodRequests
public InputMethodRequests InputMethodRequests { 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
KeyListeners
public KeyListener[] KeyListeners { get; }
Property Value
LEFT_ALIGNMENT
public static float LEFT_ALIGNMENT { get; }
Property Value
Locale
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getLocale() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setLocale(java.util.Locale)
public Locale Locale { get; set; }
Property Value
Location
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getLocation() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setLocation(java.awt.Point)
public Point Location { get; set; }
Property Value
LocationOnScreen
public Point LocationOnScreen { get; }
Property Value
MaximumSize
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getMaximumSize() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setMaximumSize(java.awt.Dimension)
public Dimension MaximumSize { get; set; }
Property Value
MinimumSize
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getMinimumSize() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setMinimumSize(java.awt.Dimension)
public Dimension MinimumSize { get; set; }
Property Value
MouseListeners
public MouseListener[] MouseListeners { get; }
Property Value
MouseMotionListeners
public MouseMotionListener[] MouseMotionListeners { get; }
Property Value
MousePosition
public Point MousePosition { get; }
Property Value
MouseWheelListeners
public MouseWheelListener[] MouseWheelListeners { get; }
Property Value
Name
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getName() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setName(java.lang.String)
public String Name { get; set; }
Property Value
Parent
public Container Parent { get; }
Property Value
PreferredSize
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getPreferredSize() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setPreferredSize(java.awt.Dimension)
public Dimension PreferredSize { get; set; }
Property Value
PropertyChangeListeners
public PropertyChangeListener[] PropertyChangeListeners { get; }
Property Value
RIGHT_ALIGNMENT
public static float RIGHT_ALIGNMENT { get; }
Property Value
Size
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getSize() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#setSize(java.awt.Dimension)
public Dimension Size { get; set; }
Property Value
TOP_ALIGNMENT
public static float TOP_ALIGNMENT { get; }
Property Value
Toolkit
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#getToolkit()
public Toolkit Toolkit { get; }
Property Value
TreeLock
public object TreeLock { get; }
Property Value
Width
public int Width { get; }
Property Value
X
public int X { get; }
Property Value
Y
public int Y { get; }
Property Value
Methods
Add(PopupMenu)
public void Add(PopupMenu arg0)
Parameters
AddComponentListener(ComponentListener)
public void AddComponentListener(ComponentListener arg0)
Parameters
AddFocusListener(FocusListener)
public void AddFocusListener(FocusListener arg0)
Parameters
AddHierarchyBoundsListener(HierarchyBoundsListener)
public void AddHierarchyBoundsListener(HierarchyBoundsListener arg0)
Parameters
AddHierarchyListener(HierarchyListener)
public void AddHierarchyListener(HierarchyListener arg0)
Parameters
AddInputMethodListener(InputMethodListener)
public void AddInputMethodListener(InputMethodListener arg0)
Parameters
AddKeyListener(KeyListener)
public void AddKeyListener(KeyListener arg0)
Parameters
arg0
KeyListener
AddMouseListener(MouseListener)
public void AddMouseListener(MouseListener arg0)
Parameters
AddMouseMotionListener(MouseMotionListener)
public void AddMouseMotionListener(MouseMotionListener arg0)
Parameters
AddMouseWheelListener(MouseWheelListener)
public void AddMouseWheelListener(MouseWheelListener arg0)
Parameters
AddNotify()
public void AddNotify()
AddPropertyChangeListener(PropertyChangeListener)
public void AddPropertyChangeListener(PropertyChangeListener arg0)
Parameters
AddPropertyChangeListener(String, PropertyChangeListener)
public void AddPropertyChangeListener(String arg0, PropertyChangeListener arg1)
Parameters
ApplyComponentOrientation(ComponentOrientation)
public void ApplyComponentOrientation(ComponentOrientation arg0)
Parameters
AreFocusTraversalKeysSet(int)
public bool AreFocusTraversalKeysSet(int arg0)
Parameters
Returns
CheckImage(Image, ImageObserver)
public int CheckImage(Image arg0, ImageObserver arg1)
Parameters
arg0
Imagearg1
ImageObserver
Returns
CheckImage(Image, int, int, ImageObserver)
public int CheckImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
Parameters
arg0
Imagearg1
intarg2
intarg3
ImageObserver
Returns
Contains(Point)
public bool Contains(Point arg0)
Parameters
Returns
Contains(int, int)
public bool Contains(int arg0, int arg1)
Parameters
Returns
CreateImage(ImageProducer)
public Image CreateImage(ImageProducer arg0)
Parameters
Returns
CreateImage(int, int)
public Image CreateImage(int arg0, int arg1)
Parameters
Returns
CreateVolatileImage(int, int)
public VolatileImage CreateVolatileImage(int arg0, int arg1)
Parameters
Returns
CreateVolatileImage(int, int, ImageCapabilities)
public VolatileImage CreateVolatileImage(int arg0, int arg1, ImageCapabilities arg2)
Parameters
arg0
intarg1
intarg2
ImageCapabilities
Returns
Exceptions
DispatchEvent(AWTEvent)
public void DispatchEvent(AWTEvent arg0)
Parameters
DoLayout()
public void DoLayout()
EnableInputMethods(bool)
public void EnableInputMethods(bool arg0)
Parameters
FirePropertyChange(String, byte, byte)
public void FirePropertyChange(String arg0, byte arg1, byte arg2)
Parameters
FirePropertyChange(String, char, char)
public void FirePropertyChange(String arg0, char arg1, char arg2)
Parameters
FirePropertyChange(String, double, double)
public void FirePropertyChange(String arg0, double arg1, double arg2)
Parameters
FirePropertyChange(String, short, short)
public void FirePropertyChange(String arg0, short arg1, short arg2)
Parameters
FirePropertyChange(String, long, long)
public void FirePropertyChange(String arg0, long arg1, long arg2)
Parameters
FirePropertyChange(String, float, float)
public void FirePropertyChange(String arg0, float arg1, float arg2)
Parameters
GetBaseline(int, int)
public int GetBaseline(int arg0, int arg1)
Parameters
Returns
GetBounds(Rectangle)
public Rectangle GetBounds(Rectangle arg0)
Parameters
Returns
GetComponentAt(Point)
public Component GetComponentAt(Point arg0)
Parameters
Returns
GetComponentAt(int, int)
public Component GetComponentAt(int arg0, int arg1)
Parameters
Returns
GetFocusTraversalKeys(int)
public Set<AWTKeyStroke> GetFocusTraversalKeys(int arg0)
Parameters
Returns
GetFontMetrics(Font)
public FontMetrics GetFontMetrics(Font arg0)
Parameters
Returns
GetListeners<T>(Class)
public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()
Parameters
Returns
- T[]
T
Type Parameters
GetLocation(Point)
public Point GetLocation(Point arg0)
Parameters
Returns
GetPropertyChangeListeners(String)
public PropertyChangeListener[] GetPropertyChangeListeners(String arg0)
Parameters
Returns
GetSize(Dimension)
public Dimension GetSize(Dimension arg0)
Parameters
Returns
HasFocus()
public bool HasFocus()
Returns
ImageUpdate(Image, int, int, int, int, int)
public bool ImageUpdate(Image arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
Returns
Invalidate()
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#invalidate()
public void Invalidate()
IsBackgroundSet()
public bool IsBackgroundSet()
Returns
IsCursorSet()
public bool IsCursorSet()
Returns
IsDisplayable()
public bool IsDisplayable()
Returns
IsDoubleBuffered()
public bool IsDoubleBuffered()
Returns
IsEnabled()
public bool IsEnabled()
Returns
IsFocusCycleRoot(Container)
public bool IsFocusCycleRoot(Container arg0)
Parameters
Returns
IsFocusOwner()
public bool IsFocusOwner()
Returns
IsFocusable()
public bool IsFocusable()
Returns
IsFontSet()
public bool IsFontSet()
Returns
IsForegroundSet()
public bool IsForegroundSet()
Returns
IsLightweight()
public bool IsLightweight()
Returns
IsMaximumSizeSet()
public bool IsMaximumSizeSet()
Returns
IsMinimumSizeSet()
public bool IsMinimumSizeSet()
Returns
IsOpaque()
public bool IsOpaque()
Returns
IsPreferredSizeSet()
public bool IsPreferredSizeSet()
Returns
IsShowing()
public bool IsShowing()
Returns
IsValid()
public bool IsValid()
Returns
IsVisible()
public bool IsVisible()
Returns
List()
public void List()
List(PrintStream)
public void List(PrintStream arg0)
Parameters
arg0
PrintStream
List(PrintStream, int)
public void List(PrintStream arg0, int arg1)
Parameters
arg0
PrintStreamarg1
int
List(PrintWriter)
public void List(PrintWriter arg0)
Parameters
arg0
PrintWriter
List(PrintWriter, int)
public void List(PrintWriter arg0, int arg1)
Parameters
arg0
PrintWriterarg1
int
Paint(Graphics)
public void Paint(Graphics arg0)
Parameters
PaintAll(Graphics)
public void PaintAll(Graphics arg0)
Parameters
PrepareImage(Image, ImageObserver)
public bool PrepareImage(Image arg0, ImageObserver arg1)
Parameters
arg0
Imagearg1
ImageObserver
Returns
PrepareImage(Image, int, int, ImageObserver)
public bool PrepareImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
Parameters
arg0
Imagearg1
intarg2
intarg3
ImageObserver
Returns
Print(Graphics)
public void Print(Graphics arg0)
Parameters
PrintAll(Graphics)
public void PrintAll(Graphics arg0)
Parameters
Remove(MenuComponent)
public void Remove(MenuComponent arg0)
Parameters
RemoveComponentListener(ComponentListener)
public void RemoveComponentListener(ComponentListener arg0)
Parameters
RemoveFocusListener(FocusListener)
public void RemoveFocusListener(FocusListener arg0)
Parameters
RemoveHierarchyBoundsListener(HierarchyBoundsListener)
public void RemoveHierarchyBoundsListener(HierarchyBoundsListener arg0)
Parameters
RemoveHierarchyListener(HierarchyListener)
public void RemoveHierarchyListener(HierarchyListener arg0)
Parameters
RemoveInputMethodListener(InputMethodListener)
public void RemoveInputMethodListener(InputMethodListener arg0)
Parameters
RemoveKeyListener(KeyListener)
public void RemoveKeyListener(KeyListener arg0)
Parameters
arg0
KeyListener
RemoveMouseListener(MouseListener)
public void RemoveMouseListener(MouseListener arg0)
Parameters
RemoveMouseMotionListener(MouseMotionListener)
public void RemoveMouseMotionListener(MouseMotionListener arg0)
Parameters
RemoveMouseWheelListener(MouseWheelListener)
public void RemoveMouseWheelListener(MouseWheelListener arg0)
Parameters
RemoveNotify()
public void RemoveNotify()
RemovePropertyChangeListener(PropertyChangeListener)
public void RemovePropertyChangeListener(PropertyChangeListener arg0)
Parameters
RemovePropertyChangeListener(String, PropertyChangeListener)
public void RemovePropertyChangeListener(String arg0, PropertyChangeListener arg1)
Parameters
Repaint()
public void Repaint()
Repaint(int, int, int, int)
public void Repaint(int arg0, int arg1, int arg2, int arg3)
Parameters
Repaint(long)
public void Repaint(long arg0)
Parameters
Repaint(long, int, int, int, int)
public void Repaint(long arg0, int arg1, int arg2, int arg3, int arg4)
Parameters
RequestFocus()
public void RequestFocus()
RequestFocus(Cause)
public void RequestFocus(FocusEvent.Cause arg0)
Parameters
RequestFocusInWindow()
public bool RequestFocusInWindow()
Returns
RequestFocusInWindow(Cause)
public bool RequestFocusInWindow(FocusEvent.Cause arg0)
Parameters
Returns
Revalidate()
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Component.html#revalidate()
public void Revalidate()
SetBounds(int, int, int, int)
public void SetBounds(int arg0, int arg1, int arg2, int arg3)
Parameters
SetEnabled(bool)
public void SetEnabled(bool arg0)
Parameters
SetFocusTraversalKeys<Arg1ExtendsJava_Awt_AWTKeyStroke>(int, Set<Arg1ExtendsJava_Awt_AWTKeyStroke>)
public void SetFocusTraversalKeys<Arg1ExtendsJava_Awt_AWTKeyStroke>(int arg0, Set<Arg1ExtendsJava_Awt_AWTKeyStroke> arg1) where Arg1ExtendsJava_Awt_AWTKeyStroke : AWTKeyStroke
Parameters
Type Parameters
Arg1ExtendsJava_Awt_AWTKeyStroke
SetFocusable(bool)
public void SetFocusable(bool arg0)
Parameters
SetLocation(int, int)
public void SetLocation(int arg0, int arg1)
Parameters
SetMixingCutoutShape(Shape)
public void SetMixingCutoutShape(Shape arg0)
Parameters
SetSize(int, int)
public void SetSize(int arg0, int arg1)
Parameters
SetVisible(bool)
public void SetVisible(bool arg0)
Parameters
TransferFocus()
public void TransferFocus()
TransferFocusBackward()
public void TransferFocusBackward()
TransferFocusUpCycle()
public void TransferFocusUpCycle()
Update(Graphics)
public void Update(Graphics arg0)
Parameters
Validate()
public void Validate()
Operators
implicit operator ImageObserver(Component)
Converter from Component to ImageObserver
public static implicit operator ImageObserver(Component t)
Parameters
Returns
implicit operator MenuContainer(Component)
Converter from Component to MenuContainer
public static implicit operator MenuContainer(Component t)
Parameters
Returns
implicit operator Serializable(Component)
Converter from Component to Serializable
public static implicit operator Serializable(Component t)