Package wt.clients.beans
Class WTTextArea
java.lang.Object
java.awt.Component
java.awt.TextComponent
java.awt.TextArea
wt.clients.beans.WTTextArea
- All Implemented Interfaces:
ImageObserver,MenuContainer,Serializable,Accessible
This class extends the java.awt.TextArea for the purpose of
establishing the same minimum size accross all platforms.
the java.awt.TextArea has a large default size on
Windows, but a small default size on Unix, and that
causes problems when designing a GUI. This class also
defaults to SCROLLBARS_VERTICAL_ONLY as that is the
Windchill standard.
Supported API: true.
Extendable: true.
Supported API: true.
Extendable: true.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.TextArea
TextArea.AccessibleAWTTextAreaNested classes/interfaces inherited from class java.awt.TextComponent
TextComponent.AccessibleAWTTextComponentNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
Fields inherited from class java.awt.TextArea
SCROLLBARS_BOTH, SCROLLBARS_HORIZONTAL_ONLY, SCROLLBARS_NONE, SCROLLBARS_VERTICAL_ONLYFields inherited from class java.awt.TextComponent
textListenerFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionUse this constructor to create an instance of the WTTextArea which will give you vertical scrollbars and a consistent size on all platforms. -
Method Summary
Modifier and TypeMethodDescriptionThis will set the min size of this panel
Supported API: true.getMinimumSize(int cols, int rows) This will get themin size of this panel
Supported API: true.This will set the pref size of this panel
Supported API: true.getPreferredSize(int cols, int rows) This will get the pref size of this panel
Supported API: true.Methods inherited from class java.awt.TextArea
addNotify, append, appendText, getAccessibleContext, getColumns, getRows, getScrollbarVisibility, insert, insertText, minimumSize, minimumSize, paramString, preferredSize, preferredSize, replaceRange, replaceText, setColumns, setRowsMethods inherited from class java.awt.TextComponent
addTextListener, enableInputMethods, getBackground, getCaretPosition, getInputMethodRequests, getListeners, getSelectedText, getSelectionEnd, getSelectionStart, getText, getTextListeners, isEditable, processEvent, processTextEvent, removeNotify, removeTextListener, select, selectAll, setBackground, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart, setTextMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
-
Constructor Details
-
WTTextArea
public WTTextArea()Use this constructor to create an instance of the WTTextArea which will give you vertical scrollbars and a consistent size on all platforms.
Supported API: true.
-
-
Method Details
-
getMinimumSize
This will set the min size of this panel
Supported API: true.- Overrides:
getMinimumSizein classTextArea
-
getMinimumSize
This will get themin size of this panel
Supported API: true.- Overrides:
getMinimumSizein classTextArea
-
getPreferredSize
This will set the pref size of this panel
Supported API: true.- Overrides:
getPreferredSizein classTextArea
-
getPreferredSize
This will get the pref size of this panel
Supported API: true.- Overrides:
getPreferredSizein classTextArea
-