Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/SizableAccordionTable.java

Diff revisions: vs.
  @@ -8,68 +8,55 @@
8 8 import com.google.gwt.gen2.table.client.*;
9 9 import com.google.gwt.user.client.ui.HasHorizontalAlignment.*;
10 10
11 - public class SizableAccordionTable<RowType> extends SizeableSimplePanel
12 - {
11 + public class SizableAccordionTable<RowType> extends SizeableSimplePanel {
13 12 private final AccordionTable<RowType> mImpl = new AccordionTable<RowType>();
14 13
15 - public SizableAccordionTable()
16 - {
14 + public SizableAccordionTable() {
17 15 stretchable();
18 16 setWidget( mImpl );
19 17 }
20 18
21 - public void init( TableModel<RowType> pTableModel, TableDefinitionPlus<RowType> pTableDefinition )
22 - {
19 + public void init( TableModel<RowType> pTableModel, TableDefinitionPlus<RowType> pTableDefinition ) {
23 20 mImpl.init( pTableModel, pTableDefinition );
24 21 }
25 22
26 - public void loadData()
27 - {
23 + public void loadData() {
28 24 mImpl.loadData();
29 25 }
30 26
31 - public void rowChanged( RowType pRow )
32 - {
27 + public void rowChanged( RowType pRow ) {
33 28 loadData();
34 29 }
35 30
36 - public DetailRowCallback<RowType> getDetailRowCallback()
37 - {
31 + public DetailRowCallback<RowType> getDetailRowCallback() {
38 32 return mImpl.getDetailRowCallback();
39 33 }
40 34
41 - public void setDetailRowCallback( DetailRowCallback<RowType> pDetailRowCallback )
42 - {
35 + public void setDetailRowCallback( DetailRowCallback<RowType> pDetailRowCallback ) {
43 36 mImpl.setDetailRowCallback( pDetailRowCallback );
44 37 }
45 38
46 - public HandlerRegistration addShowRangeHandler( ShowRangeHandler<Integer> pHandler )
47 - {
39 + public HandlerRegistration addShowRangeHandler( ShowRangeHandler<Integer> pHandler ) {
48 40 return mImpl.addShowRangeHandler( pHandler );
49 41 }
50 42
51 - public RowType getRowValue( int pRow )
52 - {
43 + public RowType getRowValue( int pRow ) {
53 44 return mImpl.getRowValue( pRow );
54 45 }
55 46
56 - public int getVisibleRowCount()
57 - {
47 + public int getVisibleRowCount() {
58 48 return mImpl.getVisibleRowCount();
59 49 }
60 50
61 - public void setFooterAlignment( int pCol, HorizontalAlignmentConstant pAlign )
62 - {
51 + public void setFooterAlignment( int pCol, HorizontalAlignmentConstant pAlign ) {
63 52 mImpl.setFooterAlignment( pCol, pAlign );
64 53 }
65 54
66 - public void setRowCountCallback( TableRowCountCallback pRowCountCallback )
67 - {
55 + public void setRowCountCallback( TableRowCountCallback pRowCountCallback ) {
68 56 mImpl.setRowCountCallback( pRowCountCallback );
69 57 }
70 58
71 - public void renderFooter( String[] pValues )
72 - {
59 + public void renderFooter( String[] pValues ) {
73 60 mImpl.renderFooter( pValues );
74 61 }
75 62 }