/** * Returns the background color of this LienzoPanel. * Will return null if no color was set, in which case it's probably "white", * unless it was changed via CSS rules. * * @return String */ public String getBackgroundColor() { return getElement().getStyle().getBackgroundColor(); }
/** * Returns the background color of this LienzoPanel. * Will return null if no color was set, in which case it's probably "white", * unless it was changed via CSS rules. * * @return String */ public String getBackgroundColor() { return getElement().getStyle().getBackgroundColor(); }
/** * Returns the background color of this LienzoPanel. * Will return null if no color was set, in which case it's probably "white", * unless it was changed via CSS rules. * * @return String */ public String getBackgroundColor() { return getElement().getStyle().getBackgroundColor(); }
/** * Returns the background color of this LienzoPanel. * Will return null if no color was set, in which case it's probably "white", * unless it was changed via CSS rules. * * @return String */ public String getBackgroundColor() { return getElement().getStyle().getBackgroundColor(); }
/** * Returns the background color of this LienzoPanel. * Will return null if no color was set, in which case it's probably "white", * unless it was changed via CSS rules. * * @return String */ public String getBackgroundColor() { return getElement().getStyle().getBackgroundColor(); }
/*************************************** * Returns the background color of this component. * * @return The background color */ public int getBackgroundColor() { String sColor = getWidget().getElement().getStyle().getBackgroundColor(); return sColor != null ? Color.valueOf(sColor) : 0; }
public static String getProcessNameRowSelected( DataGrid<ProcessSummary> myProcessDefListGrid ) { String processDefName = null; for ( int i = 0; i < myProcessDefListGrid.getRowCount(); i++ ) { if ( myProcessDefListGrid.getRowElement( i ).getCells().getItem( 0 ).getStyle().getBackgroundColor().equals( BG_ROW_SELECTED ) ) { processDefName = myProcessDefListGrid.getRowElement( i ).getCells().getItem( 0 ).getInnerText(); break; } } return processDefName; }
public static String getProcessInstanceVersionRowSelected( DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid ) { String processDefVersion = null; for ( int i = 0; i < myProcessInstanceListGrid.getRowCount(); i++ ) { if ( myProcessInstanceListGrid.getRowElement( i ).getCells().getItem( 3 ).getStyle().getBackgroundColor().equals( BG_ROW_SELECTED ) ) { processDefVersion = myProcessInstanceListGrid.getRowElement( i ).getCells().getItem( 3 ).getInnerText(); break; } } return processDefVersion; }
public static String getProcessVersionRowSelected( DataGrid<ProcessSummary> myProcessDefListGrid ) { String processDefVersion = null; for ( int i = 0; i < myProcessDefListGrid.getRowCount(); i++ ) { if ( myProcessDefListGrid.getRowElement( i ).getCells().getItem( 1 ).getStyle().getBackgroundColor().equals( BG_ROW_SELECTED ) ) { processDefVersion = myProcessDefListGrid.getRowElement( i ).getCells().getItem( 1 ).getInnerText(); break; } } return processDefVersion; }
public static String getProcessInstanceNameRowSelected( DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid ) { String processDefName = null; for ( int i = 0; i < myProcessInstanceListGrid.getRowCount(); i++ ) { if ( myProcessInstanceListGrid.getRowElement( i ).getCells().getItem( 1 ).getStyle().getBackgroundColor().equals( BG_ROW_SELECTED ) ) { processDefName = myProcessInstanceListGrid.getRowElement( i ).getCells().getItem( 1 ).getInnerText(); break; } } return processDefName; }
public static String getProcessInstanceStartDateRowSelected( DataGrid<ProcessInstanceSummary> myProcessInstanceListGrid ) { String processStartDate = null; for ( int i = 0; i < myProcessInstanceListGrid.getRowCount(); i++ ) { if ( myProcessInstanceListGrid.getRowElement( i ).getCells().getItem( 5 ).getStyle().getBackgroundColor().equals( BG_ROW_SELECTED ) ) { processStartDate = myProcessInstanceListGrid.getRowElement( i ).getCells().getItem( 5 ).getInnerText(); break; } } return processStartDate; }