JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.gui.web
Class URLEditor

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.web.AbstractView
        |
        +--org.objectweb.jac.aspects.gui.web.AbstractFieldEditor
              |
              +--org.objectweb.jac.aspects.gui.web.URLEditor
All Implemented Interfaces:
FieldEditor, FieldUpdate, FieldView, HTMLEditor, HTMLViewer, View, ViewIdentity

public class URLEditor
extends AbstractFieldEditor
implements FieldEditor, HTMLEditor

This is a special value editor that allows the user to nicely edit an URL.


Field Summary
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractFieldEditor
field, isEmbedded, setter, substance, value
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
column, context, description, height, isCellViewer, label, parentView, row, table, width
 
Constructor Summary
URLEditor(Object substance, FieldItem field)
          Constructs a new URL editor.
 
Method Summary
protected  boolean doReadValue(Object parameter)
           
 void genHTML(PrintWriter out)
          Generate the HTML code for the editor.
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractFieldEditor
close, commit, fieldUpdated, getField, getValue, isEnabled, onSetFocus, readValue, setAutoUpdate, setEmbedded, setEnabled, setField, setSubstance, setValue
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
equals, eventURL, eventURL, genBody, genPage, genStyleSheets, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, hashCode, iconElement, iconElement, isClosed, isDescendantOf, isInForm, printAttributes, setAttribute, setColumn, setContext, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jac.aspects.gui.FieldEditor
commit, getValue, isEnabled, onSetFocus, setEmbedded, setEnabled
 
Methods inherited from interface org.objectweb.jac.aspects.gui.FieldView
getField, setAutoUpdate, setField, setSubstance, setValue
 
Methods inherited from interface org.objectweb.jac.aspects.gui.View
close, getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParentView, setStyle, setViewBorder, setWidth, validate
 
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity
getParameters, getType, setParameters, setType
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLEditor
commit, readValue, setAttribute
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLViewer
setStyleSheet
 

Constructor Detail

URLEditor

public URLEditor(Object substance,
                 FieldItem field)
Constructs a new URL editor.

Method Detail

genHTML

public void genHTML(PrintWriter out)
Description copied from interface: HTMLViewer
Generate the HTML code for the editor.

Specified by:
genHTML in interface HTMLViewer
Parameters:
out - the writer where to write the HTML code.

doReadValue

protected boolean doReadValue(Object parameter)
Specified by:
doReadValue in class AbstractFieldEditor

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli