    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

##

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

##

GenericResourceEditor()

##

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

##

ATTR_TARGET

     protected static int ATTR_TARGET

  Attribute index - Our target resource.

target_attributes

     protected Attribute target_attributes[]

  The attributes defined by the class of our target.

##

GenericResourceEditor

     public GenericResourceEditor()

##

getTarget

     public Resource getTarget()

  Get the target resource we are editing.

dumpHeader

     public void dumpHeader(HtmlGenerator into)

  Dump some title in the header.

  Overrides:
    dumpHeader in class FormResource

defineCards

     protected void defineCards()

  Define the cards for our target. We define only the attribute card here.

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