public class XBayaTextField extends Object implements XBayaTextComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COLUMNS
DEFAULT_COLUMNS
|
| Constructor and Description |
|---|
XBayaTextField()
Constructs a XBayaTextArea.
|
XBayaTextField(String initStr)
Constructs a XBayaTextField.
|
| Modifier and Type | Method and Description |
|---|---|
JTextField |
getSwingComponent()
Returns the swing component.
|
String |
getText() |
JTextField |
getTextField() |
void |
setColumns(int columns) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled)
Sets whether or not this component is enabled.
|
void |
setText(String text) |
void |
setText(URI uri) |
public static final int DEFAULT_COLUMNS
public XBayaTextField()
public XBayaTextField(String initStr)
initStr - public JTextField getSwingComponent()
XBayaComponentgetSwingComponent in interface XBayaComponentpublic void setText(URI uri)
uri - public void setText(String text)
setText in interface XBayaTextComponenttext - public String getText()
getText in interface XBayaTextComponentpublic JTextField getTextField()
public void setEditable(boolean editable)
editable - public void setColumns(int columns)
columns - public void setEnabled(boolean enabled)
enabled - Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.