org.nakedobjects.plugins.dnd.viewer.builder
Class AbstractBuilderDecorator
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.builder.AbstractBuilderDecorator
- All Implemented Interfaces:
- ViewBuilder
- Direct Known Subclasses:
- CalendarLayout, ColumnLayout, HistogramLayout, LabelledFieldLayout, StackLayout
public abstract class AbstractBuilderDecorator
- extends java.lang.Object
- implements ViewBuilder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
wrappedBuilder
protected final ViewBuilder wrappedBuilder
AbstractBuilderDecorator
public AbstractBuilderDecorator(ViewBuilder design)
build
public void build(View view)
- Specified by:
build in interface ViewBuilder
createCompositeView
public View createCompositeView(Content content,
CompositeViewSpecification specification,
ViewAxis axis)
- Description copied from interface:
ViewBuilder
- Creates the composite view that this builder will create child views for, ie a table, list or form
- Specified by:
createCompositeView in interface ViewBuilder
createViewAxis
public ViewAxis createViewAxis()
- Specified by:
createViewAxis in interface ViewBuilder
decorateSubview
public View decorateSubview(View subview)
- Specified by:
decorateSubview in interface ViewBuilder
getReference
public ViewBuilder getReference()
- Specified by:
getReference in interface ViewBuilder
getRequiredSize
public Size getRequiredSize(View view)
- Specified by:
getRequiredSize in interface ViewBuilder
isOpen
public boolean isOpen()
- Description copied from interface:
ViewBuilder
- Indicates whether this view is expanded, or iconized.
- Specified by:
isOpen in interface ViewBuilder
- Returns:
- true if it is showing the object's details; false if it is showing the object only.
isReplaceable
public boolean isReplaceable()
- Description copied from interface:
ViewBuilder
- Indicates whether this view can be replaced with another view (for the same value or reference).
- Specified by:
isReplaceable in interface ViewBuilder
- 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 ViewBuilder
layout
public void layout(View view,
Size maximumSize)
- Specified by:
layout in interface ViewBuilder
setReference
public void setReference(ViewBuilder design)
- Specified by:
setReference in interface ViewBuilder
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.