javax.rad.genui.celleditor
Class UITextCellEditor

java.lang.Object
  extended by javax.rad.genui.celleditor.UICellEditor<CE>
      extended by javax.rad.genui.celleditor.UIInplaceCellEditor<ITextCellEditor>
          extended by javax.rad.genui.celleditor.UITextCellEditor
All Implemented Interfaces:
ICellEditor, IInplaceCellEditor, IStyledCellEditor, ITextCellEditor, IAlignmentConstants, IResource

public class UITextCellEditor
extends UIInplaceCellEditor<ITextCellEditor>
implements ITextCellEditor

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


Field Summary
 
Fields inherited from interface javax.rad.ui.celleditor.ITextCellEditor
TEXT_PLAIN_MULTILINE, TEXT_PLAIN_PASSWORD, TEXT_PLAIN_SINGLELINE, TEXT_PLAIN_WRAPPEDMULTILINE
 
Fields inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
DOUBLE_CLICK, SINGLE_CLICK
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
  UITextCellEditor()
          Creates a new instance of UITextCellEditor.
  UITextCellEditor(int pHorizontalAlignment)
          Creates a new instance of UITextCellEditor.
protected UITextCellEditor(ITextCellEditor pEditor)
          Creates a new instance of UITextCellEditor with the given text cell editor.
  UITextCellEditor(String pContentType)
          Creates a new instance of UITextCellEditor.
 
Method Summary
 String getContentType()
          Gets the content type used for editing the text.
 void setContentType(String pContentType)
          Sets the content type used for editing the text.
 
Methods inherited from class javax.rad.genui.celleditor.UIInplaceCellEditor
getPreferredEditorMode, setPreferredEditorMode
 
Methods inherited from class javax.rad.genui.celleditor.UICellEditor
createCellEditorHandler, getDefaultCellEditor, getHorizontalAlignment, getResource, getVerticalAlignment, isDirectCellEditor, setDefaultCellEditor, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
getPreferredEditorMode, setPreferredEditorMode
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Constructor Detail

UITextCellEditor

public UITextCellEditor()
Creates a new instance of UITextCellEditor.

See Also:
ITextCellEditor

UITextCellEditor

protected UITextCellEditor(ITextCellEditor pEditor)
Creates a new instance of UITextCellEditor with the given text cell editor.

Parameters:
pEditor - the text cell editor
See Also:
ITextCellEditor

UITextCellEditor

public UITextCellEditor(int pHorizontalAlignment)
Creates a new instance of UITextCellEditor.

Parameters:
pHorizontalAlignment - the horizontal alignment.
See Also:
ITextCellEditor

UITextCellEditor

public UITextCellEditor(String pContentType)
Creates a new instance of UITextCellEditor.

Parameters:
pContentType - the contenttype.
See Also:
ITextCellEditor
Method Detail

getContentType

public String getContentType()
Gets the content type used for editing the text.

Specified by:
getContentType in interface ITextCellEditor
Returns:
the content type

setContentType

public void setContentType(String pContentType)
Sets the content type used for editing the text.

Specified by:
setContentType in interface ITextCellEditor
Parameters:
pContentType - the content type


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.