|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.guvnor.client.widgets.drools.wizards.assets.decisiontable.WidthCalculator<V>
public class WidthCalculator<V>
A utility class to calculate the width of a Cell
| Constructor Summary | |
|---|---|
WidthCalculator(com.google.gwt.cell.client.Cell<V> cell)
Constructor |
|
| Method Summary | |
|---|---|
int |
getMaximumElementWidth(List<? extends V> values)
Get the widest Cell from a list of content |
void |
setMinimumWidth(int minWidth)
Set the minimum width |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidthCalculator(com.google.gwt.cell.client.Cell<V> cell)
cell - The Cell used to render content| Method Detail |
|---|
public void setMinimumWidth(int minWidth)
minWidth - public int getMaximumElementWidth(List<? extends V> values)
values -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||