1+ /*
2+ * #%L
3+ * GwtMaterial
4+ * %%
5+ * Copyright (C) 2015 - 2017 GwtMaterialDesign
6+ * %%
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ * #L%
19+ */
20+ package gwt .material .design .addins .client .combobox .js ;
21+
22+ import gwt .material .design .jquery .client .api .Functions ;
23+ import jsinterop .annotations .JsOverlay ;
24+ import jsinterop .annotations .JsPackage ;
25+ import jsinterop .annotations .JsProperty ;
26+ import jsinterop .annotations .JsType ;
27+
28+ /**
29+ * Options for combobox component
30+ *
31+ * @author kevzlou7979
32+ */
33+ @ JsType (isNative = true , name = "Object" , namespace = JsPackage .GLOBAL )
34+ public class LanguageOptions {
35+
36+ @ JsProperty
37+ private Functions .FuncRet1 <String > errorLoading ;
38+
39+ @ JsProperty
40+ private Functions .FuncRet1 <String > inputTooLong ;
41+
42+ @ JsProperty
43+ private Functions .FuncRet1 <String > inputTooShort ;
44+
45+ @ JsProperty
46+ private Functions .FuncRet1 <String > loadingMore ;
47+
48+ @ JsProperty
49+ private Functions .FuncRet1 <String > maximumSelected ;
50+
51+ @ JsProperty
52+ private Functions .FuncRet1 <String > noResults ;
53+
54+ @ JsProperty
55+ private Functions .FuncRet1 <String > searching ;
56+
57+ @ JsOverlay
58+ public final Functions .FuncRet1 <String > getErrorLoading () {
59+ return errorLoading ;
60+ }
61+
62+ @ JsOverlay
63+ public final void setErrorLoading (Functions .FuncRet1 <String > errorLoading ) {
64+ this .errorLoading = errorLoading ;
65+ }
66+
67+ @ JsOverlay
68+ public final Functions .FuncRet1 <String > getInputTooLong () {
69+ return inputTooLong ;
70+ }
71+
72+ @ JsOverlay
73+ public final void setInputTooLong (Functions .FuncRet1 <String > inputTooLong ) {
74+ this .inputTooLong = inputTooLong ;
75+ }
76+
77+ @ JsOverlay
78+ public final Functions .FuncRet1 <String > getInputTooShort () {
79+ return inputTooShort ;
80+ }
81+
82+ @ JsOverlay
83+ public final void setInputTooShort (Functions .FuncRet1 <String > inputTooShort ) {
84+ this .inputTooShort = inputTooShort ;
85+ }
86+
87+ @ JsOverlay
88+ public final Functions .FuncRet1 <String > getLoadingMore () {
89+ return loadingMore ;
90+ }
91+
92+ @ JsOverlay
93+ public final void setLoadingMore (Functions .FuncRet1 <String > loadingMore ) {
94+ this .loadingMore = loadingMore ;
95+ }
96+
97+ @ JsOverlay
98+ public final Functions .FuncRet1 <String > getMaximumSelected () {
99+ return maximumSelected ;
100+ }
101+
102+ @ JsOverlay
103+ public final void setMaximumSelected (Functions .FuncRet1 <String > maximumSelected ) {
104+ this .maximumSelected = maximumSelected ;
105+ }
106+
107+ @ JsOverlay
108+ public final Functions .FuncRet1 <String > getNoResults () {
109+ return noResults ;
110+ }
111+
112+ @ JsOverlay
113+ public final void setNoResults (Functions .FuncRet1 <String > noResults ) {
114+ this .noResults = noResults ;
115+ }
116+
117+ @ JsOverlay
118+ public final Functions .FuncRet1 <String > getSearching () {
119+ return searching ;
120+ }
121+
122+ @ JsOverlay
123+ public final void setSearching (Functions .FuncRet1 <String > searching ) {
124+ this .searching = searching ;
125+ }
126+ }
0 commit comments