001/* 002 * #%L 003 * GwtMaterial 004 * %% 005 * Copyright (C) 2015 - 2017 GwtMaterialDesign 006 * %% 007 * Licensed under the Apache License, Version 2.0 (the "License"); 008 * you may not use this file except in compliance with the License. 009 * You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, software 014 * distributed under the License is distributed on an "AS IS" BASIS, 015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 * #L% 019 */ 020package gwt.material.design.addins.client.combobox.js; 021 022import gwt.material.design.jquery.client.api.Functions; 023import jsinterop.annotations.JsOverlay; 024import jsinterop.annotations.JsPackage; 025import jsinterop.annotations.JsProperty; 026import jsinterop.annotations.JsType; 027 028/** 029 * Options for combobox component 030 * 031 * @author kevzlou7979 032 */ 033@JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 034public class LanguageOptions { 035 036 @JsProperty 037 private Functions.FuncRet1<String> errorLoading; 038 039 @JsProperty 040 private Functions.FuncRet1<String> inputTooLong; 041 042 @JsProperty 043 private Functions.FuncRet1<String> inputTooShort; 044 045 @JsProperty 046 private Functions.FuncRet1<String> loadingMore; 047 048 @JsProperty 049 private Functions.FuncRet1<String> maximumSelected; 050 051 @JsProperty 052 private Functions.FuncRet1<String> noResults; 053 054 @JsProperty 055 private Functions.FuncRet1<String> searching; 056 057 @JsOverlay 058 public final Functions.FuncRet1<String> getErrorLoading() { 059 return errorLoading; 060 } 061 062 @JsOverlay 063 public final void setErrorLoading(Functions.FuncRet1<String> errorLoading) { 064 this.errorLoading = errorLoading; 065 } 066 067 @JsOverlay 068 public final Functions.FuncRet1<String> getInputTooLong() { 069 return inputTooLong; 070 } 071 072 @JsOverlay 073 public final void setInputTooLong(Functions.FuncRet1<String> inputTooLong) { 074 this.inputTooLong = inputTooLong; 075 } 076 077 @JsOverlay 078 public final Functions.FuncRet1<String> getInputTooShort() { 079 return inputTooShort; 080 } 081 082 @JsOverlay 083 public final void setInputTooShort(Functions.FuncRet1<String> inputTooShort) { 084 this.inputTooShort = inputTooShort; 085 } 086 087 @JsOverlay 088 public final Functions.FuncRet1<String> getLoadingMore() { 089 return loadingMore; 090 } 091 092 @JsOverlay 093 public final void setLoadingMore(Functions.FuncRet1<String> loadingMore) { 094 this.loadingMore = loadingMore; 095 } 096 097 @JsOverlay 098 public final Functions.FuncRet1<String> getMaximumSelected() { 099 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}