org.nakedobjects.plugins.dnd.viewer.builder
Class LabelledFieldLayout

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.builder.AbstractBuilderDecorator
      extended by org.nakedobjects.plugins.dnd.viewer.builder.LabelledFieldLayout
All Implemented Interfaces:
ViewBuilder

public class LabelledFieldLayout
extends AbstractBuilderDecorator


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.builder.AbstractBuilderDecorator
wrappedBuilder
 
Constructor Summary
LabelledFieldLayout(ViewBuilder design)
           
 
Method Summary
 Size getRequiredSize(View view)
           
 boolean isOpen()
          Indicates whether this view is expanded, or iconized.
 void layout(View view, Size maximumSize)
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.builder.AbstractBuilderDecorator
build, createCompositeView, createViewAxis, decorateSubview, getReference, isReplaceable, isSubView, setReference, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelledFieldLayout

public LabelledFieldLayout(ViewBuilder design)
Method Detail

getRequiredSize

public Size getRequiredSize(View view)
Specified by:
getRequiredSize in interface ViewBuilder
Overrides:
getRequiredSize in class AbstractBuilderDecorator

isOpen

public boolean isOpen()
Description copied from interface: ViewBuilder
Indicates whether this view is expanded, or iconized.

Specified by:
isOpen in interface ViewBuilder
Overrides:
isOpen in class AbstractBuilderDecorator
Returns:
true if it is showing the object's details; false if it is showing the object only.

layout

public void layout(View view,
                   Size maximumSize)
Specified by:
layout in interface ViewBuilder
Overrides:
layout in class AbstractBuilderDecorator


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