001 package org.gwtbootstrap3.extras.slider.client.ui.base.event;
002
003 import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
004 import com.google.gwt.event.logical.shared.ValueChangeEvent;
005
006 /*
007 * #%L
008 * GwtBootstrap3
009 * %%
010 * Copyright (C) 2013 - 2015 GwtBootstrap3
011 * %%
012 * Licensed under the Apache License, Version 2.0 (the "License");
013 * you may not use this file except in compliance with the License.
014 * You may obtain a copy of the License at
015 *
016 * http://www.apache.org/licenses/LICENSE-2.0
017 *
018 * Unless required by applicable law or agreed to in writing, software
019 * distributed under the License is distributed on an "AS IS" BASIS,
020 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
021 * See the License for the specific language governing permissions and
022 * limitations under the License.
023 * #L%
024 */
025
026 /**
027 * Convenience interface used to implement all slide handlers at once.
028 *
029 * @param <T> slider value type
030 */
031 public interface HasAllSlideHandlers<T> extends HasSlideHandlers<T>,
032 HasSlideStartHandlers<T>, HasSlideStopHandlers<T>, HasValueChangeHandlers<T>,
033 HasSlideEnabledHandlers, HasSlideDisabledHandlers {
034
035 /**
036 * The {@link SlideEvent} name
037 */
038 static final String SLIDE_EVENT = "slide";
039
040 /**
041 * The {@link SlideStartEvent} name
042 */
043 static final String SLIDE_START_EVENT = "slideStart";
044
045 /**
046 * The {@link SlideStopEvent} name
047 */
048 static final String SLIDE_STOP_EVENT = "slideStop";
049
050 /**
051 * The {@link ValueChangeEvent} name
052 */
053 static final String SLIDE_CHANGE_EVENT = "change";
054
055 /**
056 * The {@link SlideEnabledEvent} name
057 */
058 static final String SLIDE_ENABLED_EVENT = "slideEnabled";
059
060 /**
061 * The {@link SlideDisabledEvent} name
062 */
063 static final String SLIDE_DISABLED_EVENT = "slideDisabled";
064
065 }