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

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

public class ExpandableListSpecification
extends AbstractListSpecification


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
builder
 
Constructor Summary
ExpandableListSpecification()
           
 
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 decorateView(View subview)
           
 java.lang.String getName()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
axis, createView, decorateSubview, 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
 
Methods inherited from interface org.nakedobjects.plugins.dnd.SubviewSpec
decorateSubview
 

Constructor Detail

ExpandableListSpecification

public ExpandableListSpecification()
Method Detail

getName

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

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
Overrides:
canDisplay in class AbstractListSpecification

createSubview

public View createSubview(Content content,
                          ViewAxis axis,
                          int fieldNumber)

decorateView

public View decorateView(View subview)
Overrides:
decorateView in class AbstractCompositeViewSpecification


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