Class TextField
public class TextField : TextComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
TextField
- Implements
- Inherited Members
- Extension Methods
Constructors
TextField()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public TextField()
TextField(String)
public TextField(String arg0)
Parameters
Exceptions
TextField(String, int)
public TextField(String arg0, int arg1)
Parameters
Exceptions
TextField(int)
public TextField(int arg0)
Parameters
Exceptions
TextField(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
public TextField(params object[] args)
Parameters
args
object[]
Properties
ActionListeners
public ActionListener[] ActionListeners { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Columns
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TextField.html#getColumns() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TextField.html#setColumns(int)
public int Columns { get; set; }
Property Value
EchoChar
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TextField.html#getEchoChar() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/TextField.html#setEchoChar(char)
public char EchoChar { 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
Methods
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
EchoCharIsSet()
public bool EchoCharIsSet()
Returns
GetMinimumSize(int)
public Dimension GetMinimumSize(int arg0)
Parameters
Returns
GetPreferredSize(int)
public Dimension GetPreferredSize(int arg0)
Parameters
Returns
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)