javax.rad.genui.component
Class UITextArea

java.lang.Object
  extended by javax.rad.genui.UIResource<C>
      extended by javax.rad.genui.UIComponent<C>
          extended by javax.rad.genui.component.AbstractUITextField<ITextArea>
              extended by javax.rad.genui.component.UITextArea
All Implemented Interfaces:
ILabel, ITextArea, ITextField, IAlignmentConstants, IComponent, IResource

public class UITextArea
extends AbstractUITextField<ITextArea>
implements ITextArea

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


Field Summary
 
Fields inherited from class javax.rad.genui.UIComponent
logger, parent
 
Fields inherited from class javax.rad.genui.UIResource
uiResource
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
UITextArea()
          Creates a new instance of UITextArea.
 
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 class javax.rad.genui.component.AbstractUITextField
getColumns, getHorizontalAlignment, getText, getVerticalAlignment, isEditable, setColumns, setEditable, setEnabled, setHorizontalAlignment, setText, setVerticalAlignment, updateTranslation
 
Methods inherited from class javax.rad.genui.UIComponent
addNotify, capture, debug, error, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getComponentUIResource, getCurrentTranslation, getCursor, getFactory, getFont, getForeground, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getResource, getSize, getToolTipText, getTranslation, info, invokeAndWait, invokeAndWait, invokeInThread, invokeInThread, invokeLater, invokeLater, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isNotified, isPreferredSizeSet, isVisible, removeNotify, requestFocus, setBackground, setBounds, setBounds, setCursor, setFocusable, setFont, setForeground, setLocation, setLocation, setMaximumSize, setMaximumSize, setMinimumSize, setMinimumSize, setName, setParent, setPreferredSize, setPreferredSize, setSize, setSize, setToolTipText, setTranslation, setVisible, translate
 
Methods inherited from class javax.rad.genui.UIResource
equals, getUIResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.component.ITextField
getColumns, isEditable, setColumns, setEditable
 
Methods inherited from interface javax.rad.ui.component.ILabel
getText, setText
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getFactory, getFont, getForeground, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setLocation, 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
 

Constructor Detail

UITextArea

public UITextArea()
Creates a new instance of UITextArea.

See Also:
ITextArea
Method Detail

getRows

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

Specified by:
getRows in interface ITextArea
Returns:
the number of columns >= 0

setRows

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

Specified by:
setRows in interface ITextArea
Parameters:
pRows - the number of rows >= 0

isWordWrap

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

Specified by:
isWordWrap in interface ITextArea
Returns:
the current state of the word wrap mode.

setWordWrap

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

Specified by:
setWordWrap in interface ITextArea
Parameters:
pWordWrap - the current state of the word wrap mode.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.