Table of Contents

Class JTextField

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JTextField : JTextComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JTextField
Implements
Derived
Inherited Members
Extension Methods

Constructors

JTextField()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public JTextField()

JTextField(String)

public JTextField(String arg0)

Parameters

arg0 String

String

JTextField(String, int)

public JTextField(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

JTextField(Document, String, int)

public JTextField(Document arg0, String arg1, int arg2)

Parameters

arg0 Document

Document

arg1 String

String

arg2 int

int

JTextField(int)

public JTextField(int arg0)

Parameters

arg0 int

int

JTextField(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 JTextField(params object[] args)

Parameters

args object[]

Properties

Action

public Action Action { get; set; }

Property Value

Action

ActionListeners

public ActionListener[] ActionListeners { get; }

Property Value

ActionListener[]

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

Columns

public int Columns { get; set; }

Property Value

int

HorizontalAlignment

public int HorizontalAlignment { get; set; }

Property Value

int

HorizontalVisibility

public BoundedRangeModel HorizontalVisibility { get; }

Property Value

BoundedRangeModel

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

ScrollOffset

public int ScrollOffset { get; set; }

Property Value

int

notifyAction

public static String notifyAction { get; }

Property Value

String

Methods

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

PostActionEvent()

public void PostActionEvent()

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

SetActionCommand(String)

public void SetActionCommand(String arg0)

Parameters

arg0 String

String

Operators

implicit operator SwingConstants(JTextField)

Converter from JTextField to SwingConstants

public static implicit operator SwingConstants(JTextField t)

Parameters

t JTextField

Returns

SwingConstants