JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.gui.web
Interface HTMLEditor

All Superinterfaces:
HTMLViewer
All Known Implementing Classes:
AttachmentEditor, BooleanEditor, DateEditor, DateHourEditor, IndexSelector, IndicesSelector, ObjectChooser, PasswordFieldEditor, PrimitiveFieldEditor, TextEditor, URLEditor

public interface HTMLEditor
extends HTMLViewer

This interface defines an editor used by the WebDisplay.

See Also:
HTMLViewer

Method Summary
 void commit()
          Commit the change made on the field by calling the setter method.
 boolean readValue(Object parameter)
          Convert a parameter value (String or FileParameter) of an HTTP request parameter to an object.
 void setAttribute(String name, String value)
          Sets an HTML attribute on the element
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLViewer
genHTML, setStyleSheet
 

Method Detail

readValue

public boolean readValue(Object parameter)
Convert a parameter value (String or FileParameter) of an HTTP request parameter to an object.


commit

public void commit()
Commit the change made on the field by calling the setter method.


setAttribute

public void setAttribute(String name,
                         String value)
Sets an HTML attribute on the element

Parameters:
name - the attribute's name
value - the attribute's value

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli