|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIComponent
the interface making a class a JETERS-UI-component.
for details about user interface components and other JETERS concepts see *++LINK CONCEPTS (#UI components) TARGET:komp.Seite++*
Method Summary | |
---|---|
java.lang.String |
confirmChanges(java.lang.String label,
java.lang.String oldVersion,
java.lang.String newVersion,
java.lang.String descriptionOfChanges)
allows the user to accept/decline changes made by a replacer component (i.e. an implementation of ReplacerComponent ). |
NamedDataSet |
request(UIRequest... requests)
way for other components to communicate with the user via the UI |
Method Detail |
---|
java.lang.String confirmChanges(java.lang.String label, java.lang.String oldVersion, java.lang.String newVersion, java.lang.String descriptionOfChanges)
ReplacerComponent
).
UIComponents should at least offer the possibility of choosing between the old and the new version of the text.
Additionally, they can allow manual editing.
label
- a kind of "name" (filename, article title, ...). This parameter can be "", but not null.oldVersion
- the text before the replacer's actions. This parameter can be "", but not null.newVersion
- the text after the replacer's actions. This parameter can be "", but not null.descriptionOfChanges
- an explanation of the differences between oldVersion and newVersion
provided by the replacer component. This parameter can be "", but not null.
NamedDataSet request(UIRequest... requests)
requests
- array of UIRequest
-objects (can use vararg-syntax).
Neither the array nor the array's entries may be null.
NamedDataSet
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |