Class Action
public class Action : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAction
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerAction
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.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.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstract
- Extension Methods
Constructors
Action()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Action()
Properties
ACCELERATOR_KEY
public static String ACCELERATOR_KEY { get; }
Property Value
ACTION_COMMAND_KEY
public static String ACTION_COMMAND_KEY { get; }
Property Value
BridgeClassName
public override string BridgeClassName { get; }
Property Value
DEFAULT
public static String DEFAULT { get; }
Property Value
DISPLAYED_MNEMONIC_INDEX_KEY
public static String DISPLAYED_MNEMONIC_INDEX_KEY { get; }
Property Value
LARGE_ICON_KEY
public static String LARGE_ICON_KEY { get; }
Property Value
LONG_DESCRIPTION
public static String LONG_DESCRIPTION { get; }
Property Value
MNEMONIC_KEY
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Action.html#MNEMONIC_KEY
public static String MNEMONIC_KEY { get; }
Property Value
NAME
public static String NAME { get; }
Property Value
OnAccept
public Func<object, bool> OnAccept { get; set; }
Property Value
Remarks
If OnAccept has a value it takes precedence over corresponding class method
OnActionPerformed
public Action<ActionEvent> OnActionPerformed { get; set; }
Property Value
Remarks
If OnActionPerformed has a value it takes precedence over corresponding class method
OnAddPropertyChangeListener
public Action<PropertyChangeListener> OnAddPropertyChangeListener { get; set; }
Property Value
Remarks
If OnAddPropertyChangeListener has a value it takes precedence over corresponding class method
OnGetValue
public Func<String, object> OnGetValue { get; set; }
Property Value
Remarks
If OnGetValue has a value it takes precedence over corresponding class method
OnIsEnabled
Handler for https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Action.html#isEnabled()
public Func<bool> OnIsEnabled { get; set; }
Property Value
Remarks
If OnIsEnabled has a value it takes precedence over corresponding class method
OnPutValue
public Action<String, object> OnPutValue { get; set; }
Property Value
Remarks
If OnPutValue has a value it takes precedence over corresponding class method
OnRemovePropertyChangeListener
public Action<PropertyChangeListener> OnRemovePropertyChangeListener { get; set; }
Property Value
Remarks
If OnRemovePropertyChangeListener has a value it takes precedence over corresponding class method
OnSetEnabled
Handler for https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Action.html#setEnabled(boolean)
public Action<bool> OnSetEnabled { get; set; }
Property Value
Remarks
If OnSetEnabled has a value it takes precedence over corresponding class method
SELECTED_KEY
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Action.html#SELECTED_KEY
public static String SELECTED_KEY { get; }
Property Value
SHORT_DESCRIPTION
public static String SHORT_DESCRIPTION { get; }
Property Value
SMALL_ICON
public static String SMALL_ICON { get; }
Property Value
Methods
Accept(object)
public virtual bool Accept(object arg0)
Parameters
Returns
Remarks
The method invokes the default implementation in the JVM interface using AcceptDefault(object); override the method to implement a different behavior
AcceptDefault(object)
public bool AcceptDefault(object arg0)
Parameters
Returns
Remarks
The method invokes the default implementation in the JVM interface
ActionPerformed(ActionEvent)
public virtual void ActionPerformed(ActionEvent arg0)
Parameters
arg0
ActionEvent
AddPropertyChangeListener(PropertyChangeListener)
public virtual void AddPropertyChangeListener(PropertyChangeListener arg0)
Parameters
GetValue(String)
public virtual object GetValue(String arg0)
Parameters
Returns
InitializeHandlers()
Handlers initializer for Action
protected virtual void InitializeHandlers()
IsEnabled()
public virtual bool IsEnabled()
Returns
PutValue(String, object)
public virtual void PutValue(String arg0, object arg1)
Parameters
RemovePropertyChangeListener(PropertyChangeListener)
public virtual void RemovePropertyChangeListener(PropertyChangeListener arg0)
Parameters
SetEnabled(bool)
public virtual void SetEnabled(bool arg0)