public class XBayaTextArea extends Object implements XBayaTextComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HEIGHT
DEFAULT_HEIGHT
|
static int |
DEFAULT_WIDTH
DEFAULT_WIDTH
|
| Constructor and Description |
|---|
XBayaTextArea()
Constructs a XBayaTextArea.
|
| Modifier and Type | Method and Description |
|---|---|
JScrollPane |
getScrollPane() |
JScrollPane |
getSwingComponent()
Returns the swing component.
|
String |
getText() |
JTextArea |
getTextArea() |
void |
setEditable(boolean editable) |
void |
setSize(int width,
int height) |
void |
setText(String text) |
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
public JScrollPane getSwingComponent()
XBayaComponentgetSwingComponent in interface XBayaComponentpublic void setText(String text)
setText in interface XBayaTextComponenttext - public String getText()
getText in interface XBayaTextComponentpublic JScrollPane getScrollPane()
public JTextArea getTextArea()
public void setEditable(boolean editable)
editable - public void setSize(int width,
int height)
width - height - Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.