swingwt.awt
Class TextArea

java.lang.Object
  extended byswingwt.awt.Component
      extended byswingwt.awt.AWTSwingWrapper
          extended byswingwt.awt.TextComponent
              extended byswingwt.awt.TextArea
All Implemented Interfaces:
ImageObserver, MenuContainer

public class TextArea
extends TextComponent


Field Summary
static int SCROLLBARS_BOTH
           
static int SCROLLBARS_HORIZONTAL_ONLY
           
static int SCROLLBARS_NONE
           
static int SCROLLBARS_VERTICAL_ONLY
           
 
Fields inherited from class swingwt.awt.AWTSwingWrapper
swingPeer
 
Fields inherited from class swingwt.awt.Component
accessibleContext, actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, graphicsConfig, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, peer, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, ppeer, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT
 
Fields inherited from interface swingwt.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
TextArea()
           
TextArea(int rows, int columns)
           
TextArea(java.lang.String text)
           
TextArea(java.lang.String text, int rows, int columns)
           
TextArea(java.lang.String text, int rows, int columns, int scrollbars)
           
 
Method Summary
 void append(java.lang.String str)
           
 void appendText(java.lang.String str)
           
 AccessibleContext getAccessibleContext()
          Returns the component's accessible context
 int getColumns()
           
 Dimension getMinimumSize(int rows, int columns)
           
 Dimension getPreferredSize(int rows, int columns)
           
 int getRows()
           
 int getScrollbarVisibility()
           
 void insert(java.lang.String str, int pos)
           
 void insertText(java.lang.String str, int pos)
           
 void replaceRange(java.lang.String str, int start, int end)
           
 void replaceText(java.lang.String str, int start, int end)
           
 void setColumns(int columns)
           
 void setRows(int rows)
           
 void setScrollPane(JScrollPane container)
           
 
Methods inherited from class swingwt.awt.TextComponent
addTextListener, getCaretPosition, getListeners, getText, getTextListeners, isEditable, removeTextListener, select, selectAll, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart, setText
 
Methods inherited from class swingwt.awt.AWTSwingWrapper
addActionListener, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, calculatePreferredSize, componentOnlyDispose, computePreferredSize, contains, createImage, createVolatileImage, dispatchEvent, dispose, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getBounds, getComponentOrientation, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPeerSize, getPreferredSize, getSize, getSWTPeer, getToolkit, getToolTipText, getTreeLock, getWidth, getX, getY, grabFocus, hasFocus, hasSetFont, hide, imageUpdate, invalidate, isEnabled, isFocusable, isMinimumSizeSet, isShowing, isVisible, minimumSize, preferredSize, removeActionListener, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, repaint, repaint, repaint, requestFocus, setActionCommand, setAlignmentX, setAlignmentY, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setFont, setForeground, setHeight, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setSwingWTParent, setToolTipText, setVisible, setWidth, show, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
 
Methods inherited from class swingwt.awt.Component
add, addMouseWheelListener, contains, createListenerArrayFromVector, getSize, inside, paint, paintComponent, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, remove, removeMouseWheelListener, setCachedProperties, setComponentRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCROLLBARS_NONE

public static final int SCROLLBARS_NONE
See Also:
Constant Field Values

SCROLLBARS_VERTICAL_ONLY

public static final int SCROLLBARS_VERTICAL_ONLY
See Also:
Constant Field Values

SCROLLBARS_HORIZONTAL_ONLY

public static final int SCROLLBARS_HORIZONTAL_ONLY
See Also:
Constant Field Values

SCROLLBARS_BOTH

public static final int SCROLLBARS_BOTH
See Also:
Constant Field Values
Constructor Detail

TextArea

public TextArea()

TextArea

public TextArea(java.lang.String text)

TextArea

public TextArea(int rows,
                int columns)

TextArea

public TextArea(java.lang.String text,
                int rows,
                int columns)

TextArea

public TextArea(java.lang.String text,
                int rows,
                int columns,
                int scrollbars)
Method Detail

getScrollbarVisibility

public int getScrollbarVisibility()

setScrollPane

public void setScrollPane(JScrollPane container)

getAccessibleContext

public AccessibleContext getAccessibleContext()
Description copied from class: Component
Returns the component's accessible context

Overrides:
getAccessibleContext in class AWTSwingWrapper

getColumns

public int getColumns()

getRows

public int getRows()

getMinimumSize

public Dimension getMinimumSize(int rows,
                                int columns)

getPreferredSize

public Dimension getPreferredSize(int rows,
                                  int columns)

append

public void append(java.lang.String str)

appendText

public void appendText(java.lang.String str)

insert

public void insert(java.lang.String str,
                   int pos)

insertText

public void insertText(java.lang.String str,
                       int pos)

replaceRange

public void replaceRange(java.lang.String str,
                         int start,
                         int end)

replaceText

public void replaceText(java.lang.String str,
                        int start,
                        int end)

setColumns

public void setColumns(int columns)

setRows

public void setRows(int rows)