javax.rad.ui.component
Interface ITextArea

All Superinterfaces:
IAlignmentConstants, IComponent, ILabel, INamedObject, IResource, ITextField
All Known Implementing Classes:
SwingTextArea, UITextArea

public interface ITextArea
extends ITextField

Platform and technology independent text area definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .

See Also:
ITextField

Field Summary
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 int getRows()
          Returns the number of rows in this ITextArea.
 boolean isWordWrap()
          Gets the current state of the word wrap mode.
 void setRows(int pRows)
          Sets the number of rows in this ITextArea, and then invalidate the layout.
 void setWordWrap(boolean pWordWrap)
          Sets the current state of the word wrap mode.
 
Methods inherited from interface javax.rad.ui.component.ITextField
getColumns, isBorderVisible, isEditable, selectAll, setBorderVisible, setColumns, setEditable
 
Methods inherited from interface javax.rad.ui.component.ILabel
getText, setText
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Method Detail

getRows

int getRows()
Returns the number of rows in this ITextArea.

Returns:
the number of columns >= 0

setRows

void setRows(int pRows)
Sets the number of rows in this ITextArea, and then invalidate the layout.

Parameters:
pRows - the number of rows >= 0
Throws:
IllegalArgumentException - if rows is less than 0

isWordWrap

boolean isWordWrap()
Gets the current state of the word wrap mode.

Returns:
the current state of the word wrap mode.

setWordWrap

void setWordWrap(boolean pWordWrap)
Sets the current state of the word wrap mode.

Parameters:
pWordWrap - the current state of the word wrap mode.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.