Class ButtonModel
public class ButtonModel : ItemSelectable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IButtonModel, IItemSelectable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ItemSelectable>ButtonModel
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<ItemSelectable>.IsAssignableFrom(IJavaType)JVMBridgeBase<ItemSelectable>.IsAssignableFrom<T>()JVMBridgeBase<ItemSelectable>.Execute<T>(params T[])JVMBridgeBase<ItemSelectable>.DynBridgeClazzJVMBridgeBase<ItemSelectable>.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
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
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/ButtonModel.html#getActionCommand() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/ButtonModel.html#setActionCommand(java.lang.String)
public String ActionCommand { 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
Group
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/ButtonModel.html#getGroup() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/ButtonModel.html#setGroup(javax.swing.ButtonGroup)
public ButtonGroup Group { get; set; }
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
Mnemonic
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/ButtonModel.html#getMnemonic() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/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
arg0
ItemListener
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
arg0
ItemListener
SetArmed(bool)
public void SetArmed(bool arg0)
Parameters
SetEnabled(bool)
public void SetEnabled(bool arg0)
Parameters
SetPressed(bool)
public void SetPressed(bool arg0)
Parameters
SetRollover(bool)
public void SetRollover(bool arg0)
Parameters
SetSelected(bool)
public void SetSelected(bool arg0)