|
Drools Workbench - Guided Decision Table Editor - Client 6.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.workbench.screens.guided.dtable.client.wizard.pages.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 |
getElementWidth(V value)
Get the width of a single item |
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 contentMethod Detail |
---|
public void setMinimumWidth(int minWidth)
minWidth
- public int getMaximumElementWidth(List<? extends V> values)
values
-
public int getElementWidth(V value)
value
-
|
Drools Workbench - Guided Decision Table Editor - Client 6.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |