|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
com.sibvisions.rad.ui.celleditor.AbstractTextCellEditor
public abstract class AbstractTextCellEditor
The AbstractTextCellEditor is an ITextCellEditor
implementation, which provides a base implementation.
| Field Summary | |
|---|---|
protected java.lang.String |
contentType
The content type of this. |
| Fields inherited from class com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor |
|---|
preferredEditorMode |
| Fields inherited from class com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor |
|---|
horizontalAlignment, verticalAlignment |
| 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_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
protected |
AbstractTextCellEditor()
Creates a new instance of AbstractTextCellEditor. |
protected |
AbstractTextCellEditor(java.lang.String pInitialContentType)
Creates a new instance of AbstractTextCellEditor. |
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Gets the content type used for editing the text. |
protected char |
getEchoChar()
Gets the password echo char which is used by maskPassword(String). |
boolean |
isDirectCellEditor()
Defines, if the editor should edit directly in complex controls. |
protected java.lang.String |
maskPassword(java.lang.String pPassword)
Masks the given string with the set echo char. |
void |
setContentType(java.lang.String pContentType)
Sets the content type used for editing the text. |
protected void |
setEchoChar(char pEchoChar)
Sets the password echo char which is used by maskPassword(String). |
| Methods inherited from class com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor |
|---|
getPreferredEditorMode, setPreferredEditorMode |
| Methods inherited from class com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor |
|---|
getHorizontalAlignment, getVerticalAlignment, 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 |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Field Detail |
|---|
protected java.lang.String contentType
| Constructor Detail |
|---|
protected AbstractTextCellEditor()
AbstractTextCellEditor.
protected AbstractTextCellEditor(java.lang.String pInitialContentType)
AbstractTextCellEditor.
pInitialContentType - the initial content type.| Method Detail |
|---|
public java.lang.String getContentType()
getContentType in interface ITextCellEditorpublic void setContentType(java.lang.String pContentType)
setContentType in interface ITextCellEditorpContentType - the content typepublic boolean isDirectCellEditor()
isDirectCellEditor in interface ICellEditorisDirectCellEditor in class AbstractStyledCellEditorICellEditorHandler.protected char getEchoChar()
maskPassword(String).
maskPassword(String).setEchoChar(char),
maskPassword(String)protected java.lang.String maskPassword(java.lang.String pPassword)
pPassword - the string to mask.
null or empty.getEchoChar(),
setEchoChar(char)protected void setEchoChar(char pEchoChar)
maskPassword(String).
pEchoChar - the password mask which is used by
maskPassword(String).getEchoChar(),
maskPassword(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||