swingwt.awt
Class TextArea
java.lang.Object
swingwt.awt.Component
swingwt.awt.AWTSwingWrapper
swingwt.awt.TextComponent
swingwt.awt.TextArea
- All Implemented Interfaces:
- ImageObserver, MenuContainer
- public class TextArea
- extends TextComponent
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 |
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)
|
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 |
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
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)
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)