Subversion Repository Public Repository

litesoft

Diff Revisions 612 vs 613 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/AbstractScrollTable.java

Diff revisions: vs.
  @@ -770,33 +770,33 @@
770 770 }
771 771 }
772 772
773 - /**
774 - * An {@link ImageBundle} that provides images for {@link AbstractScrollTable}
775 - * .
776 - */
777 - public static interface ScrollTableImages extends ImageBundle
778 - {
779 - /**
780 - * An image used to fill the available width.
781 - *
782 - * @return a prototype of this image
783 - */
784 - AbstractImagePrototype scrollTableFillWidth();
785 -
786 - /**
787 - * An image indicating that a column is sorted in ascending order.
788 - *
789 - * @return a prototype of this image
790 - */
791 - AbstractImagePrototype scrollTableAscending();
792 -
793 - /**
794 - * An image indicating a column is sorted in descending order.
795 - *
796 - * @return a prototype of this image
797 - */
798 - AbstractImagePrototype scrollTableDescending();
799 - }
773 + // /**
774 + // * An {@link ImageBundle} that provides images for {@link AbstractScrollTable}
775 + // * .
776 + // */
777 + // public static interface ScrollTableImages extends ImageBundle
778 + // {
779 + // /**
780 + // * An image used to fill the available width.
781 + // *
782 + // * @return a prototype of this image
783 + // */
784 + // AbstractImagePrototype scrollTableFillWidth();
785 + //
786 + // /**
787 + // * An image indicating that a column is sorted in ascending order.
788 + // *
789 + // * @return a prototype of this image
790 + // */
791 + // AbstractImagePrototype scrollTableAscending();
792 + //
793 + // /**
794 + // * An image indicating a column is sorted in descending order.
795 + // *
796 + // * @return a prototype of this image
797 + // */
798 + // AbstractImagePrototype scrollTableDescending();
799 + // }
800 800
801 801 /**
802 802 * The default style name.
  @@ -948,10 +948,10 @@
948 948 */
949 949 private Element headerWrapper;
950 950
951 - /**
952 - * The images applied to the table.
953 - */
954 - private ScrollTableImages images;
951 + // /**
952 + // * The images applied to the table.
953 + // */
954 + // private ScrollTableImages images;
955 955
956 956 /**
957 957 * The implementation class for this widget.
  @@ -1015,24 +1015,10 @@
1015 1015 * @param dataTable the data table
1016 1016 * @param headerTable the header table
1017 1017 */
1018 - public AbstractScrollTable( FixedWidthGrid dataTable, FixedWidthFlexTable headerTable )
1019 - {
1020 - this( dataTable, headerTable, (ScrollTableImages) GWT.create( ScrollTableImages.class ) );
1021 - }
1022 -
1023 - /**
1024 - * Constructor.
1025 - *
1026 - * @param dataTable the data table
1027 - * @param headerTable the header table
1028 - * @param images the images to use in the table
1029 - */
1030 - public AbstractScrollTable( FixedWidthGrid dataTable, final FixedWidthFlexTable headerTable, ScrollTableImages images )
1018 + public AbstractScrollTable( FixedWidthGrid dataTable, final FixedWidthFlexTable headerTable )
1031 1019 {
1032 - super();
1033 1020 this.dataTable = dataTable;
1034 1021 this.headerTable = headerTable;
1035 - this.images = images;
1036 1022 resizeWorker.setScrollTable( this );
1037 1023
1038 1024 // Prepare the header and data tables
  @@ -1094,7 +1080,7 @@
1094 1080 }
1095 1081 };
1096 1082 fillWidthImage.setTitle( "Shrink/Expand to fill visible area" );
1097 - images.scrollTableFillWidth().applyTo( fillWidthImage );
1083 + // TODO: images.scrollTableFillWidth().applyTo( fillWidthImage );
1098 1084 Element fillWidthImageElem = fillWidthImage.getElement();
1099 1085 DOM.setStyleAttribute( fillWidthImageElem, "cursor", "pointer" );
1100 1086 DOM.setStyleAttribute( fillWidthImageElem, "position", "absolute" );
  @@ -1843,11 +1829,11 @@
1843 1829 tdElem.appendChild( sortedColumnWrapper );
1844 1830 if ( ascending )
1845 1831 {
1846 - sortedColumnWrapper.setInnerHTML( " " + images.scrollTableAscending().getHTML() );
1832 + sortedColumnWrapper.setInnerHTML( " " ); // TODO: + images.scrollTableAscending().getHTML() );
1847 1833 }
1848 1834 else
1849 1835 {
1850 - sortedColumnWrapper.setInnerHTML( " " + images.scrollTableDescending().getHTML() );
1836 + sortedColumnWrapper.setInnerHTML( " " ); // TODO: + images.scrollTableDescending().getHTML() );
1851 1837 }
1852 1838 sortedRowIndex = -1;
1853 1839 sortedCellIndex = -1;