|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.unibe.iam.scg.archie.ui.widgets.TextWidget.SmartField
protected class TextWidget.SmartField
A SmartField has a control (e.g. a text field) a decoration and optional a quick-fix menu. It is able to validate itself.
Field Summary | |
---|---|
protected org.eclipse.jface.fieldassist.IControlContentAdapter |
contentAdapter
|
protected org.eclipse.jface.fieldassist.FieldDecoration |
fieldDecoration
|
protected org.eclipse.swt.widgets.Menu |
quickFixMenu
|
Constructor Summary | |
---|---|
TextWidget.SmartField()
Constructs a SmartField with a TextContentAdapter |
Method Summary | |
---|---|
java.lang.String |
getContents()
|
protected java.lang.String |
getDecorationMessage(int type)
|
protected java.lang.String |
getErrorMessage()
|
org.eclipse.jface.fieldassist.FieldDecoration |
getFieldDecoration()
|
protected java.lang.String |
getQuickfixMessage()
|
protected java.lang.String |
getValidMessage()
|
protected java.lang.String |
getWarningMessage()
|
boolean |
hasQuickFix()
No quick-fix by default. |
boolean |
isValid()
Is valid if not empty by default. |
boolean |
isWarning()
Is never in warning state by default. |
void |
setContents(java.lang.String contents)
|
void |
setFieldDecoration(org.eclipse.jface.fieldassist.FieldDecoration fieldDecoration)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.eclipse.jface.fieldassist.IControlContentAdapter contentAdapter
protected org.eclipse.jface.fieldassist.FieldDecoration fieldDecoration
protected org.eclipse.swt.widgets.Menu quickFixMenu
Constructor Detail |
---|
public TextWidget.SmartField()
TextContentAdapter
Method Detail |
---|
public boolean isValid()
public boolean isWarning()
public boolean hasQuickFix()
public java.lang.String getContents()
public void setContents(java.lang.String contents)
contents
- String Content to add to field.public org.eclipse.jface.fieldassist.FieldDecoration getFieldDecoration()
public void setFieldDecoration(org.eclipse.jface.fieldassist.FieldDecoration fieldDecoration)
protected java.lang.String getDecorationMessage(int type)
protected java.lang.String getErrorMessage()
protected java.lang.String getQuickfixMessage()
protected java.lang.String getWarningMessage()
protected java.lang.String getValidMessage()
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |