org.nakedobjects.plugins.dnd.viewer.list
Class GridSpecification

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
      extended by org.nakedobjects.plugins.dnd.viewer.list.GridSpecification
All Implemented Interfaces:
CompositeViewSpecification, SubviewSpec, ViewSpecification

public class GridSpecification
extends AbstractCompositeViewSpecification
implements SubviewSpec


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

Constructor Detail

GridSpecification

public GridSpecification()
Method Detail

getName

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

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

createSubview

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

decorateView

protected View decorateView(View view)
Overrides:
decorateView in class AbstractCompositeViewSpecification

decorateSubview

public View decorateSubview(View subview)
Specified by:
decorateSubview in interface SubviewSpec
Overrides:
decorateSubview in class AbstractCompositeViewSpecification


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