org.nakedobjects.plugins.dnd.viewer.basic
Class RootIconSpecification

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.basic.IconSpecification
      extended by org.nakedobjects.plugins.dnd.viewer.basic.RootIconSpecification
All Implemented Interfaces:
ViewSpecification

public class RootIconSpecification
extends IconSpecification


Constructor Summary
RootIconSpecification()
           
 
Method Summary
 boolean canDisplay(Content content, ViewRequirement requirement)
          Determines if the view created to this specification can display the specified type.
 View createView(Content content, ViewAxis axis)
          Create a new view to this specification for the specified context, and using the specified axis if specified (which can be null).
 boolean isReplaceable()
          Indicates whether this view can be replaced with another view (for the same value or reference).
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.basic.IconSpecification
decorateSubview, getName, isAligned, isOpen, isSubView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootIconSpecification

public RootIconSpecification()
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
Overrides:
canDisplay in class IconSpecification

createView

public View createView(Content content,
                       ViewAxis axis)
Description copied from interface: ViewSpecification
Create a new view to this specification for the specified context, and using the specified axis if specified (which can be null).

Specified by:
createView in interface ViewSpecification
Overrides:
createView in class IconSpecification

isReplaceable

public boolean isReplaceable()
Description copied from interface: ViewSpecification
Indicates whether this view can be replaced with another view (for the same value or reference).

Specified by:
isReplaceable in interface ViewSpecification
Overrides:
isReplaceable in class IconSpecification
Returns:
true if it can be replaced by another view; false if it can't be replaces


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