001package org.gwtbootstrap3.extras.select.client.ui.event; 002 003import com.google.gwt.event.logical.shared.HasValueChangeHandlers; 004 005/* 006 * #%L 007 * GwtBootstrap3 008 * %% 009 * Copyright (C) 2013 - 2016 GwtBootstrap3 010 * %% 011 * Licensed under the Apache License, Version 2.0 (the "License"); 012 * you may not use this file except in compliance with the License. 013 * You may obtain a copy of the License at 014 * 015 * http://www.apache.org/licenses/LICENSE-2.0 016 * 017 * Unless required by applicable law or agreed to in writing, software 018 * distributed under the License is distributed on an "AS IS" BASIS, 019 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 020 * See the License for the specific language governing permissions and 021 * limitations under the License. 022 * #L% 023 */ 024 025/** 026 * Convenience interface used to implement all select handlers at once. 027 * 028 * @param <T> select value type 029 */ 030public interface HasAllSelectHandlers<T> extends HasLoadedHandlers, HasValueChangeHandlers<T>, 031 HasShowHandlers, HasShownHandlers, HasHideHandlers, HasHiddenHandlers, 032 HasRenderedHandlers, HasRefreshedHandlers { 033 034 /** 035 * The {@link LoadedEvent} name 036 */ 037 static final String LOADED_EVENT = "loaded.bs.select"; 038 039 /** 040 * The {@link ChangedEvent} name 041 */ 042 static final String CHANGED_EVENT = "changed.bs.select"; 043 044 /** 045 * The {@link ShowEvent} name 046 */ 047 static final String SHOW_EVENT = "show.bs.select"; 048 049 /** 050 * The {@link ShownEvent} name 051 */ 052 static final String SHOWN_EVENT = "shown.bs.select"; 053 054 /** 055 * The {@link HideEvent} name 056 */ 057 static final String HIDE_EVENT = "hide.bs.select"; 058 059 /** 060 * The {@link HiddenEvent} name 061 */ 062 static final String HIDDEN_EVENT = "hidden.bs.select"; 063 064 /** 065 * The {@link RenderedEvent} name 066 */ 067 static final String RENDERED_EVENT = "rendered.bs.select"; 068 069 /** 070 * The {@link RefreshedEvent} name 071 */ 072 static final String REFRESHED_EVENT = "refreshed.bs.select"; 073 074}