org.jbpm.console.ng.bd.client.util
Class DataGridUtils
java.lang.Object
org.jbpm.console.ng.bd.client.util.DataGridUtils
public class DataGridUtils
- extends Object
|
Method Summary |
static int |
calculateWidth(String value)
|
static com.google.gwt.safehtml.shared.SafeHtml |
createDivEnd()
|
static com.google.gwt.safehtml.shared.SafeHtml |
createDivStart(String title)
|
static com.google.gwt.safehtml.shared.SafeHtml |
createDivStart(String title,
String defaultValue)
|
static int |
fixedCharacterSize(char c)
|
static com.google.gwt.dom.client.Element |
getCharacterMeasuringElement(String name)
|
static int |
getCharWidth(Character c,
boolean useCache)
|
static int |
getColumnWith(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column col)
|
static int |
getColumnWith(com.google.gwt.user.cellview.client.AbstractCellTable table,
int col)
|
static int |
getDistributedColumnWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column col)
|
static void |
redrawVisibleRange(com.google.gwt.user.cellview.client.AbstractCellTable table)
|
static void |
setTooltip(com.github.gwtbootstrap.client.ui.DataGrid<KModuleDeploymentUnitSummary> kmoduleListGrid,
String idCurrentRow,
int column,
String kModuleId)
|
static String |
trimToColumnWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column column,
String value)
|
static String |
trimToColumnWidthUsingFixedCharsWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column column,
String value)
|
static int |
weightedCharacterSize(String text)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageSize
public static final int pageSize
- See Also:
- Constant Field Values
UPPER_CASE_CHAR_SIZE_IN_PIXELS
public static final int UPPER_CASE_CHAR_SIZE_IN_PIXELS
- See Also:
- Constant Field Values
LOWER_CASE_CHAR_SIZE_IN_PIXELS
public static final int LOWER_CASE_CHAR_SIZE_IN_PIXELS
- See Also:
- Constant Field Values
DOT_CHAR_SIZE_IN_PIXELS
public static final int DOT_CHAR_SIZE_IN_PIXELS
- See Also:
- Constant Field Values
DataGridUtils
public DataGridUtils()
setTooltip
public static void setTooltip(com.github.gwtbootstrap.client.ui.DataGrid<KModuleDeploymentUnitSummary> kmoduleListGrid,
String idCurrentRow,
int column,
String kModuleId)
trimToColumnWidthUsingFixedCharsWidth
public static String trimToColumnWidthUsingFixedCharsWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column column,
String value)
trimToColumnWidth
public static String trimToColumnWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column column,
String value)
weightedCharacterSize
public static int weightedCharacterSize(String text)
fixedCharacterSize
public static int fixedCharacterSize(char c)
redrawVisibleRange
public static void redrawVisibleRange(com.google.gwt.user.cellview.client.AbstractCellTable table)
getDistributedColumnWidth
public static int getDistributedColumnWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column col)
getColumnWith
public static int getColumnWith(com.google.gwt.user.cellview.client.AbstractCellTable table,
int col)
getColumnWith
public static int getColumnWith(com.google.gwt.user.cellview.client.AbstractCellTable table,
com.google.gwt.user.cellview.client.Column col)
createDivStart
public static com.google.gwt.safehtml.shared.SafeHtml createDivStart(String title)
createDivStart
public static com.google.gwt.safehtml.shared.SafeHtml createDivStart(String title,
String defaultValue)
createDivEnd
public static com.google.gwt.safehtml.shared.SafeHtml createDivEnd()
getCharacterMeasuringElement
public static com.google.gwt.dom.client.Element getCharacterMeasuringElement(String name)
calculateWidth
public static int calculateWidth(String value)
getCharWidth
public static int getCharWidth(Character c,
boolean useCache)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.