org.nakedobjects.plugins.dnd.viewer.list
Class HistogramSpecification
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.builder.AbstractCompositeViewSpecification
org.nakedobjects.plugins.dnd.viewer.list.HistogramSpecification
- All Implemented Interfaces:
- CompositeViewSpecification, SubviewSpec, ViewSpecification
public class HistogramSpecification
- extends AbstractCompositeViewSpecification
- implements SubviewSpec
|
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. |
View |
createSubview(Content content,
ViewAxis axis,
int sequence)
|
java.lang.String |
getName()
|
boolean |
isAligned()
Return true if the generated views are to have their sizes adjusted so they are consistent with
surrounding views. |
boolean |
isOpen()
Indicates whether views to this specification are open - displaying the attributes of the content
object - or are closed - display only the title of the content object. |
boolean |
isReplaceable()
Indicates whether this view can be replaced with another view (for the same value or reference). |
boolean |
isSubView()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HistogramSpecification
public HistogramSpecification()
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 sequence)
- Specified by:
createSubview in interface SubviewSpec
axis
protected ViewAxis axis(Content content)
- Overrides:
axis in class AbstractCompositeViewSpecification
getName
public java.lang.String getName()
- Specified by:
getName in interface ViewSpecification
isAligned
public boolean isAligned()
- Description copied from interface:
ViewSpecification
- Return true if the generated views are to have their sizes adjusted so they are consistent with
surrounding views.
- Specified by:
isAligned in interface ViewSpecification- Overrides:
isAligned in class AbstractCompositeViewSpecification
isOpen
public boolean isOpen()
- Description copied from interface:
ViewSpecification
- Indicates whether views to this specification are open - displaying the attributes of the content
object - or are closed - display only the title of the content object.
- Specified by:
isOpen in interface ViewSpecification- Overrides:
isOpen in class AbstractCompositeViewSpecification
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 AbstractCompositeViewSpecification
- Returns:
- true if it can be replaced by another view; false if it can't be replaces
isSubView
public boolean isSubView()
- Specified by:
isSubView in interface ViewSpecification- Overrides:
isSubView in class AbstractCompositeViewSpecification
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.