Class Button
public class Button : Component, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Button
- Implements
- Inherited Members
- Extension Methods
Constructors
Button()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Button()
Button(String)
public Button(String arg0)
Parameters
Exceptions
Button(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 Button(params object[] args)
Parameters
args
object[]
Properties
ActionCommand
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Button.html#getActionCommand() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Button.html#setActionCommand(java.lang.String)
public String ActionCommand { get; set; }
Property Value
ActionListeners
public ActionListener[] ActionListeners { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Label
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Button.html#getLabel() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Button.html#setLabel(java.lang.String)
public String Label { get; set; }
Property Value
Methods
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
Operators
implicit operator Accessible(Button)
Converter from Button to Accessible
public static implicit operator Accessible(Button t)
Parameters
t
Button