Table of Contents

Class Button

Namespace
Java.Awt
Assembly
MASES.JNet.dll
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

arg0 String

String

Exceptions

HeadlessException

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

public String ActionCommand { get; set; }

Property Value

String

ActionListeners

public ActionListener[] ActionListeners { get; }

Property Value

ActionListener[]

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Label

public String Label { get; set; }

Property Value

String

Methods

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

Operators

implicit operator Accessible(Button)

Converter from Button to Accessible

public static implicit operator Accessible(Button t)

Parameters

t Button

Returns

Accessible