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