Table of Contents

Class ButtonModel

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class ButtonModel : ItemSelectable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IButtonModel, IItemSelectable
Inheritance
JVMBridgeBase
JVMBridgeBase<ItemSelectable>
ButtonModel
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ItemSelectable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ItemSelectable>.IsAssignableFrom<T>()
JVMBridgeBase<ItemSelectable>.Execute<T>(params T[])
JVMBridgeBase<ItemSelectable>.DynBridgeClazz
JVMBridgeBase<ItemSelectable>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ButtonModel()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("ButtonModel 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 ButtonModel()

ButtonModel(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("ButtonModel 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 ButtonModel(params object[] args)

Parameters

args object[]

Properties

ActionCommand

public String ActionCommand { get; set; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Group

public ButtonGroup Group { get; set; }

Property Value

ButtonGroup

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Mnemonic

public int Mnemonic { get; set; }

Property Value

int

Methods

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

AddChangeListener(ChangeListener)

public void AddChangeListener(ChangeListener arg0)

Parameters

arg0 ChangeListener

ChangeListener

AddItemListener(ItemListener)

public void AddItemListener(ItemListener arg0)

Parameters

arg0 ItemListener

ItemListener

IsArmed()

public bool IsArmed()

Returns

bool

bool

IsEnabled()

public bool IsEnabled()

Returns

bool

bool

IsPressed()

public bool IsPressed()

Returns

bool

bool

IsRollover()

public bool IsRollover()

Returns

bool

bool

IsSelected()

public bool IsSelected()

Returns

bool

bool

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

RemoveChangeListener(ChangeListener)

public void RemoveChangeListener(ChangeListener arg0)

Parameters

arg0 ChangeListener

ChangeListener

RemoveItemListener(ItemListener)

public void RemoveItemListener(ItemListener arg0)

Parameters

arg0 ItemListener

ItemListener

SetArmed(bool)

public void SetArmed(bool arg0)

Parameters

arg0 bool

bool

SetEnabled(bool)

public void SetEnabled(bool arg0)

Parameters

arg0 bool

bool

SetPressed(bool)

public void SetPressed(bool arg0)

Parameters

arg0 bool

bool

SetRollover(bool)

public void SetRollover(bool arg0)

Parameters

arg0 bool

bool

SetSelected(bool)

public void SetSelected(bool arg0)

Parameters

arg0 bool

bool