Class ButtonModel
public class ButtonModel : ItemSelectable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IButtonModel, IItemSelectable
- Inheritance
-
ButtonModel
- Implements
- Inherited Members
- Extension Methods
Constructors
ButtonModel(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ButtonModel(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
ActionCommand
https://docs.oracle.com/javase/8/docs/api/javax/swing/ButtonModel.html#getActionCommand-- https://docs.oracle.com/javase/8/docs/api/javax/swing/ButtonModel.html#setActionCommand-java.lang.String-
public String ActionCommand { get; set; }
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 java.lang.AutoCloseable
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
Mnemonic
https://docs.oracle.com/javase/8/docs/api/javax/swing/ButtonModel.html#getMnemonic-- https://docs.oracle.com/javase/8/docs/api/javax/swing/ButtonModel.html#setMnemonic-int-
public int Mnemonic { get; set; }
Property Value
Methods
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
AddChangeListener(ChangeListener)
public void AddChangeListener(ChangeListener arg0)
Parameters
AddItemListener(ItemListener)
public void AddItemListener(ItemListener arg0)
Parameters
arg0ItemListener
IsArmed()
public bool IsArmed()
Returns
IsEnabled()
public bool IsEnabled()
Returns
IsPressed()
public bool IsPressed()
Returns
IsRollover()
public bool IsRollover()
Returns
IsSelected()
public bool IsSelected()
Returns
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
RemoveChangeListener(ChangeListener)
public void RemoveChangeListener(ChangeListener arg0)
Parameters
RemoveItemListener(ItemListener)
public void RemoveItemListener(ItemListener arg0)
Parameters
arg0ItemListener
SetArmed(bool)
public void SetArmed(bool arg0)
Parameters
SetEnabled(bool)
public void SetEnabled(bool arg0)
Parameters
SetGroup(ButtonGroup)
public void SetGroup(ButtonGroup arg0)
Parameters
arg0ButtonGroup
SetPressed(bool)
public void SetPressed(bool arg0)
Parameters
SetRollover(bool)
public void SetRollover(bool arg0)
Parameters
SetSelected(bool)
public void SetSelected(bool arg0)