jBPM Console NG - Process Runtime Client 6.2.1-SNAPSHOT

org.jbpm.console.ng.pr.client.util
Class DataGridUtils

java.lang.Object
  extended by org.jbpm.console.ng.pr.client.util.DataGridUtils

public class DataGridUtils
extends Object


Field Summary
static int CHAR_SIZE_IN_PIXELS
           
static String newProcessDefName
           
static String newProcessDefVersion
           
static String newProcessInstanceDefName
           
static String newProcessInstanceDefVersion
           
static Long newProcessInstanceId
           
static Date newProcessInstanceStartDate
           
static int pageSize
           
 
Constructor Summary
DataGridUtils()
           
 
Method Summary
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 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 String getProcessInstanceNameRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid)
           
static String getProcessInstanceStartDateRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid)
           
static String getProcessInstanceVersionRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid)
           
static String getProcessNameRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessSummary> myProcessDefListGrid)
           
static String getProcessVersionRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessSummary> myProcessDefListGrid)
           
static void paintInstanceRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid, Long id)
           
static void paintRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessSummary> myProcessDefListGrid, String nameProcessDef, String versionProcessDef)
           
static void redrawVisibleRange(com.google.gwt.user.cellview.client.AbstractCellTable table)
           
static void setTooltip(com.github.gwtbootstrap.client.ui.DataGrid<ProcessVariableSummary> varListGrid, String idCurrentRow, int column, String newValue, String oldValue)
           
static String trimToColumnWidth(com.google.gwt.user.cellview.client.AbstractCellTable table, com.google.gwt.user.cellview.client.Column column, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newProcessDefName

public static String newProcessDefName

newProcessDefVersion

public static String newProcessDefVersion

newProcessInstanceId

public static Long newProcessInstanceId

newProcessInstanceDefName

public static String newProcessInstanceDefName

newProcessInstanceDefVersion

public static String newProcessInstanceDefVersion

newProcessInstanceStartDate

public static Date newProcessInstanceStartDate

pageSize

public static int pageSize

CHAR_SIZE_IN_PIXELS

public static int CHAR_SIZE_IN_PIXELS
Constructor Detail

DataGridUtils

public DataGridUtils()
Method Detail

paintRowSelected

public static void paintRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessSummary> myProcessDefListGrid,
                                    String nameProcessDef,
                                    String versionProcessDef)

paintInstanceRowSelected

public static void paintInstanceRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid,
                                            Long id)

getProcessNameRowSelected

public static String getProcessNameRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessSummary> myProcessDefListGrid)

getProcessVersionRowSelected

public static String getProcessVersionRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessSummary> myProcessDefListGrid)

getProcessInstanceNameRowSelected

public static String getProcessInstanceNameRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid)

getProcessInstanceVersionRowSelected

public static String getProcessInstanceVersionRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid)

getProcessInstanceStartDateRowSelected

public static String getProcessInstanceStartDateRowSelected(com.github.gwtbootstrap.client.ui.DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid)

setTooltip

public static void setTooltip(com.github.gwtbootstrap.client.ui.DataGrid<ProcessVariableSummary> varListGrid,
                              String idCurrentRow,
                              int column,
                              String newValue,
                              String oldValue)

trimToColumnWidth

public static String trimToColumnWidth(com.google.gwt.user.cellview.client.AbstractCellTable table,
                                       com.google.gwt.user.cellview.client.Column column,
                                       String value)

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()

jBPM Console NG - Process Runtime Client 6.2.1-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.