Package de.hsh.graja.util.comment.grid
Class GridCellWidth
- java.lang.Object
-
- de.hsh.graja.util.comment.grid.GridCellWidth
-
- All Implemented Interfaces:
Serializable
public class GridCellWidth extends Object implements Serializable
This enum specifies the shrinking of a cell in aGrid
. An html renderer will translate this to a CSS width style: width:0.1%;white-space:nowrap;- See Also:
Grid
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static GridCellWidth
FIX10PX
static GridCellWidth
FIX20PX
static GridCellWidth
NONE
static GridCellWidth
SHRINK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCssStyle()
static GridCellWidth
percent(int percentage)
-
-
-
Field Detail
-
NONE
public static GridCellWidth NONE
-
SHRINK
public static GridCellWidth SHRINK
-
FIX10PX
public static GridCellWidth FIX10PX
-
FIX20PX
public static GridCellWidth FIX20PX
-
-
Method Detail
-
percent
public static GridCellWidth percent(int percentage)
-
getCssStyle
public String getCssStyle()
-
-