File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
src/main/java/gwt/material/design/incubator/client/toggle Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 66
77Gwt Material Design Extra Components for https://github.com/GwtMaterialDesign/gwt-material <br >
88
9- ## Current Version 2.1.1
9+ ## Current Version 2.2
1010``` xml
1111<dependency >
1212 <groupId >com.github.gwtmaterialdesign</groupId >
1313 <artifactId >gwt-material-addins</artifactId >
14- <version >2.1.1 </version >
14+ <version >2.2 </version >
1515</dependency >
1616```
1717
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >gwt-material-parent</artifactId >
77 <groupId >com.github.gwtmaterialdesign</groupId >
8- <version >2.1.1 </version >
8+ <version >2.2-SNAPSHOT </version >
99 </parent >
1010
1111 <artifactId >gwt-material-addins</artifactId >
1212 <packaging >gwt-lib</packaging >
1313
1414 <name >Gwt Material Addins</name >
15- <version >2.1.1 </version >
15+ <version >2.2-SNAPSHOT </version >
1616 <description >Extra Components of GWT Material Framework</description >
1717
1818 <properties >
19- <gwt-material .version>2.1.1 </gwt-material .version>
19+ <gwt-material .version>2.2-SNAPSHOT </gwt-material .version>
2020 </properties >
2121
2222 <scm >
2323 <
connection >scm:git:
[email protected] :GwtMaterialDesign/gwt-material-addins.git</
connection >
2424 <
developerConnection >scm:git:
[email protected] :GwtMaterialDesign/gwt-material-addins.git</
developerConnection >
2525 <url >http://github.com/GwtMaterialDesign/gwt-material-addins</url >
26- <tag >v2.1.1 </tag >
26+ <tag >v2.2-SNAPSHOT </tag >
2727 </scm >
2828
2929 <licenses >
Original file line number Diff line number Diff line change 6060 * @author kevzlou7979
6161 */
6262//@formatter:on
63- public class GroupToggleButton <T > extends AbstractValueWidget <List <T >> implements HasSelectionHandlers <Integer >,
63+ public class GroupToggleButton <T > extends AbstractValueWidget <List <T >> implements HasSelectionHandlers <T >,
6464 HasStatusText {
6565
6666 static {
@@ -196,7 +196,7 @@ public void setMultiple(boolean multiple) {
196196 }
197197
198198 public void fireSelectionEvent (ToggleButton toggleButton ) {
199- SelectionEvent .fire (this , items .indexOf (toggleButton ));
199+ SelectionEvent .fire (this , values . get ( items .indexOf (toggleButton ) ));
200200 }
201201
202202 public ToggleButton get (int index ) {
@@ -242,7 +242,7 @@ public MaterialLabel getErrorLabel() {
242242 }
243243
244244 @ Override
245- public HandlerRegistration addSelectionHandler (SelectionHandler <Integer > selectionHandler ) {
245+ public HandlerRegistration addSelectionHandler (SelectionHandler <T > selectionHandler ) {
246246 return addHandler (selectionHandler , SelectionEvent .getType ());
247247 }
248248
You can’t perform that action at this time.
0 commit comments