Class Keymap
public class Keymap : JVMBridgeBase<Keymap>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IKeymap
- Inheritance
-
Keymap
- Implements
- Inherited Members
- Extension Methods
Constructors
Keymap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Keymap 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 Keymap()
Keymap(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("Keymap 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 Keymap(params object[] args)
Parameters
args
object[]
Properties
BoundActions
public Action[] BoundActions { get; }
Property Value
- Action[]
BoundKeyStrokes
public KeyStroke[] BoundKeyStrokes { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DefaultAction
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Keymap.html#getDefaultAction() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Keymap.html#setDefaultAction(javax.swing.Action)
public Action DefaultAction { get; set; }
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 Closeable
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
Name
public String Name { get; }
Property Value
ResolveParent
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Keymap.html#getResolveParent() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/text/Keymap.html#setResolveParent(javax.swing.text.Keymap)
public Keymap ResolveParent { get; set; }
Property Value
Methods
AddActionForKeyStroke(KeyStroke, Action)
public void AddActionForKeyStroke(KeyStroke arg0, Action arg1)
Parameters
GetAction(KeyStroke)
public Action GetAction(KeyStroke arg0)
Parameters
Returns
GetActionDirect(KeyStroke)
public Action GetActionDirect(KeyStroke arg0)
Parameters
Returns
GetKeyStrokesForAction(Action)
public KeyStroke[] GetKeyStrokesForAction(Action arg0)
Parameters
Returns
IsLocallyDefined(KeyStroke)
public bool IsLocallyDefined(KeyStroke arg0)
Parameters
Returns
RemoveBindings()
public void RemoveBindings()
RemoveKeyStrokeBinding(KeyStroke)
public void RemoveKeyStrokeBinding(KeyStroke arg0)