All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.formedit.GenericResourceEditor

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.resources.FilteredResource
                                   |
                                   +----w3c.jigsaw.resources.FileResource
                                           |
                                           +----w3c.jigsaw.forms.PostableResource
                                                   |
                                                   +----w3c.jigsaw.forms.FormResource
                                                           |
                                                           +----w3c.jigsaw.formedit.GenericResourceEditor

public class GenericResourceEditor
extends FormResource

Variable Index

 o ATTR_TARGET
Attribute index - Our target resource.
 o target_attributes
The attributes defined by the class of our target.

Constructor Index

 o GenericResourceEditor()

Method Index

 o defineCards()
Define the cards for our target.
 o dumpHeader(HtmlGenerator)
Dump some title in the header.
 o getTarget()
Get the target resource we are editing.
 o initialize(Object[])
intitialize the editor.

Variables

 o ATTR_TARGET
 protected static int ATTR_TARGET
Attribute index - Our target resource.

 o target_attributes
 protected Attribute target_attributes[]
The attributes defined by the class of our target.

Constructors

 o GenericResourceEditor
 public GenericResourceEditor()

Methods

 o getTarget
 public Resource getTarget()
Get the target resource we are editing.

 o dumpHeader
 public void dumpHeader(HtmlGenerator into)
Dump some title in the header.

Overrides:
dumpHeader in class FormResource
 o defineCards
 protected void defineCards()
Define the cards for our target. We define only the attribute card here.

 o initialize
 public void initialize(Object values[])
intitialize the editor.

Parameters:
values - The default attribute values.
Throws: HolderInitException
If unable to init (here, if we don't get provided with a target to edit).
Overrides:
initialize in class FormResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index