org.nakedobjects.plugins.dnd.viewer.table
Class TypeBasedColumnWidthStrategy
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.table.TypeBasedColumnWidthStrategy
- All Implemented Interfaces:
- ColumnWidthStrategy
public class TypeBasedColumnWidthStrategy
- extends java.lang.Object
- implements ColumnWidthStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeBasedColumnWidthStrategy
public TypeBasedColumnWidthStrategy()
addWidth
public void addWidth(NakedObjectSpecification specification,
int width)
getMaximumWidth
public int getMaximumWidth(int i,
NakedObjectAssociation specification)
- Specified by:
getMaximumWidth in interface ColumnWidthStrategy
getMinimumWidth
public int getMinimumWidth(int i,
NakedObjectAssociation specification)
- Specified by:
getMinimumWidth in interface ColumnWidthStrategy
getPreferredWidth
public int getPreferredWidth(int i,
NakedObjectAssociation specification)
- Specified by:
getPreferredWidth in interface ColumnWidthStrategy
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.