|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRowEditorDriver
An interface for extensions that control the look and feel of a row editor
on a form. Implementations of this interface can be declared using the
org.topbraidcomposer.editors.forms.rowEditorDrivers extension
point. For example, the editors for SWRL and SPARQL queries are implemented
this way.
Note that the sub-interface IStylingRowEditorDriver can be used to implement
syntax highlighting (e.g. done in the SPARQL editor in TBC).
| Method Summary | |
|---|---|
com.hp.hpl.jena.rdf.model.RDFNode |
createObject(java.lang.String text,
com.hp.hpl.jena.rdf.model.Statement s)
Creates a new object from a given user input, to replace a given statement. |
java.lang.String |
getError(java.lang.String text,
com.hp.hpl.jena.rdf.model.Statement s)
Checks if a given user input is valid, and returns an error message if not. |
boolean |
isResponsibleForDisplay(com.hp.hpl.jena.rdf.model.Statement s)
Checks if this driver assumes responsibility for a given Statement. |
boolean |
isResponsibleForEditing(java.lang.String text,
com.hp.hpl.jena.rdf.model.Statement s)
Checks if this driver assumes responsibility for control editing and error checking a given text and Statement combination. |
| Method Detail |
|---|
com.hp.hpl.jena.rdf.model.RDFNode createObject(java.lang.String text,
com.hp.hpl.jena.rdf.model.Statement s)
text - the user inputs - the existing Statement
java.lang.String getError(java.lang.String text,
com.hp.hpl.jena.rdf.model.Statement s)
text - the text to verifys - the existing Statement that is being edited (may have null object)
boolean isResponsibleForDisplay(com.hp.hpl.jena.rdf.model.Statement s)
s - the Statement (may have null object)
boolean isResponsibleForEditing(java.lang.String text,
com.hp.hpl.jena.rdf.model.Statement s)
text - the current text entered by the users - the old Statement (may have a null object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||