Class JFormattedTextField
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html
public class JFormattedTextField : JTextField, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JFormattedTextField
- Implements
- Inherited Members
- Extension Methods
Constructors
JFormattedTextField()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public JFormattedTextField()
JFormattedTextField(Format)
public JFormattedTextField(Format arg0)
Parameters
JFormattedTextField(AbstractFormatter)
public JFormattedTextField(JFormattedTextField.AbstractFormatter arg0)
Parameters
JFormattedTextField(AbstractFormatterFactory)
public JFormattedTextField(JFormattedTextField.AbstractFormatterFactory arg0)
Parameters
JFormattedTextField(AbstractFormatterFactory, object)
public JFormattedTextField(JFormattedTextField.AbstractFormatterFactory arg0, object arg1)
Parameters
JFormattedTextField(object)
public JFormattedTextField(object arg0)
Parameters
JFormattedTextField(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 JFormattedTextField(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
COMMIT
public static int COMMIT { get; }
Property Value
COMMIT_OR_REVERT
public static int COMMIT_OR_REVERT { get; }
Property Value
FocusLostBehavior
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html#getFocusLostBehavior() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html#setFocusLostBehavior(int)
public int FocusLostBehavior { get; set; }
Property Value
Formatter
public JFormattedTextField.AbstractFormatter Formatter { get; }
Property Value
FormatterFactory
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html#getFormatterFactory() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html#setFormatterFactory(javax.swing.JFormattedTextField.AbstractFormatterFactory)
public JFormattedTextField.AbstractFormatterFactory FormatterFactory { 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
PERSIST
public static int PERSIST { get; }
Property Value
REVERT
public static int REVERT { get; }
Property Value
Value
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html#getValue() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFormattedTextField.html#setValue(java.lang.Object)
public object Value { get; set; }
Property Value
Methods
CommitEdit()
public void CommitEdit()
Exceptions
IsEditValid()
public bool IsEditValid()