org.nakedobjects.plugins.dnd.viewer.view.form
Class AbstractFormSpecification

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
      extended by org.nakedobjects.plugins.dnd.viewer.view.form.AbstractFormSpecification
All Implemented Interfaces:
CompositeViewSpecification, SubviewSpec, ViewSpecification
Direct Known Subclasses:
SummaryFormSpecification, WindowFormSpecification

public abstract class AbstractFormSpecification
extends AbstractCompositeViewSpecification
implements SubviewSpec


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
builder
 
Constructor Summary
AbstractFormSpecification()
           
 
Method Summary
protected  ViewAxis axis(Content content)
           
 boolean canDisplay(Content content, ViewRequirement requirement)
          Determines if the view created to this specification can display the specified type.
protected  int collectionRequirement()
           
 View createSubview(Content content, ViewAxis axis, int sequence)
           
 java.lang.String getName()
           
protected  boolean include(Content content, int sequence)
           
protected  int objectRequirement()
           
protected  int textParseableRequirement()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
createView, decorateSubview, decorateView, getSubviewBuilder, isAligned, isOpen, isReplaceable, isSubView, resolveObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.plugins.dnd.SubviewSpec
decorateSubview
 

Constructor Detail

AbstractFormSpecification

public AbstractFormSpecification()
Method Detail

canDisplay

public boolean canDisplay(Content content,
                          ViewRequirement requirement)
Description copied from interface: ViewSpecification
Determines if the view created to this specification can display the specified type. Returns true if it can.

Specified by:
canDisplay in interface ViewSpecification

getName

public java.lang.String getName()
Specified by:
getName in interface ViewSpecification

axis

protected ViewAxis axis(Content content)
Overrides:
axis in class AbstractCompositeViewSpecification

createSubview

public View createSubview(Content content,
                          ViewAxis axis,
                          int sequence)
Specified by:
createSubview in interface SubviewSpec

include

protected boolean include(Content content,
                          int sequence)

objectRequirement

protected int objectRequirement()

textParseableRequirement

protected int textParseableRequirement()

collectionRequirement

protected int collectionRequirement()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.