Table of Contents

Class Action

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class Action : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAction
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
Action
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.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.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.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

String

ACTION_COMMAND_KEY

public static String ACTION_COMMAND_KEY { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DEFAULT

public static String DEFAULT { get; }

Property Value

String

DISPLAYED_MNEMONIC_INDEX_KEY

public static String DISPLAYED_MNEMONIC_INDEX_KEY { get; }

Property Value

String

LARGE_ICON_KEY

public static String LARGE_ICON_KEY { get; }

Property Value

String

LONG_DESCRIPTION

public static String LONG_DESCRIPTION { get; }

Property Value

String

MNEMONIC_KEY

public static String MNEMONIC_KEY { get; }

Property Value

String

NAME

public static String NAME { get; }

Property Value

String

OnAccept

public Func<object, bool> OnAccept { get; set; }

Property Value

Func<object, bool>

Remarks

If OnAccept has a value it takes precedence over corresponding class method

OnActionPerformed

public Action<ActionEvent> OnActionPerformed { get; set; }

Property Value

Action<ActionEvent>

Remarks

If OnActionPerformed has a value it takes precedence over corresponding class method

OnAddPropertyChangeListener

public Action<PropertyChangeListener> OnAddPropertyChangeListener { get; set; }

Property Value

Action<PropertyChangeListener>

Remarks

If OnAddPropertyChangeListener has a value it takes precedence over corresponding class method

OnGetValue

public Func<String, object> OnGetValue { get; set; }

Property Value

Func<String, object>

Remarks

If OnGetValue has a value it takes precedence over corresponding class method

OnIsEnabled

public Func<bool> OnIsEnabled { get; set; }

Property Value

Func<bool>

Remarks

If OnIsEnabled has a value it takes precedence over corresponding class method

OnPutValue

public Action<String, object> OnPutValue { get; set; }

Property Value

Action<String, object>

Remarks

If OnPutValue has a value it takes precedence over corresponding class method

OnRemovePropertyChangeListener

public Action<PropertyChangeListener> OnRemovePropertyChangeListener { get; set; }

Property Value

Action<PropertyChangeListener>

Remarks

If OnRemovePropertyChangeListener has a value it takes precedence over corresponding class method

OnSetEnabled

public Action<bool> OnSetEnabled { get; set; }

Property Value

Action<bool>

Remarks

If OnSetEnabled has a value it takes precedence over corresponding class method

SELECTED_KEY

public static String SELECTED_KEY { get; }

Property Value

String

SHORT_DESCRIPTION

public static String SHORT_DESCRIPTION { get; }

Property Value

String

SMALL_ICON

public static String SMALL_ICON { get; }

Property Value

String

Methods

Accept(object)

public virtual bool Accept(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

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

arg0 object

object

Returns

bool

bool

Remarks

The method invokes the default implementation in the JVM interface

ActionPerformed(ActionEvent)

public virtual void ActionPerformed(ActionEvent arg0)

Parameters

arg0 ActionEvent

ActionEvent

AddPropertyChangeListener(PropertyChangeListener)

public virtual void AddPropertyChangeListener(PropertyChangeListener arg0)

Parameters

arg0 PropertyChangeListener

PropertyChangeListener

GetValue(String)

public virtual object GetValue(String arg0)

Parameters

arg0 String

String

Returns

object

object

InitializeHandlers()

Handlers initializer for Action

protected virtual void InitializeHandlers()

IsEnabled()

public virtual bool IsEnabled()

Returns

bool

bool

PutValue(String, object)

public virtual void PutValue(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

RemovePropertyChangeListener(PropertyChangeListener)

public virtual void RemovePropertyChangeListener(PropertyChangeListener arg0)

Parameters

arg0 PropertyChangeListener

PropertyChangeListener

SetEnabled(bool)

public virtual void SetEnabled(bool arg0)

Parameters

arg0 bool

bool