litesoft
@ 948
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / client / foundation / widget / table / datatableadapter / BrowserTableResizeSupport.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
package com.temp.client.foundation.widget.table.datatableadapter; import org.litesoft.logger.*; import com.google.gwt.dom.client.*; public class BrowserTableResizeSupport { public static final Logger LOGGER = LoggerFactory.getLogger( BrowserTableResizeSupport.class ); protected BrowserTableResizeSupport( String which ) { LOGGER.info.log( which ); } public BrowserTableResizeSupport() { this( "!IE" ); } public int getColumnWidthInPixels( int borderOverhead, Element headerCell ) { return headerCell.getOffsetWidth(); } public int adjustColumnWidthInPixelsForBorder( int borderOverhead, int resizedWidth ) { return resizedWidth; } } |