org.crsh.text.ui
Class ColumnLayout
java.lang.Object
org.crsh.text.ui.ColumnLayout
- Direct Known Subclasses:
- ColumnLayout.Weighted
public abstract class ColumnLayout
- extends Object
The columns layout computes the width of the columns in a table.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTL
private static final ColumnLayout RTL
ColumnLayout
public ColumnLayout()
rightToLeft
public static ColumnLayout rightToLeft()
weighted
public static ColumnLayout weighted(int... weights)
throws NullPointerException,
IllegalArgumentException
- Throws:
NullPointerException
IllegalArgumentException
compute
abstract int[] compute(Border border,
int width,
int[] widths,
int[] minWidths)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.