001package org.gwtbootstrap3.extras.summernote.client.event; 002 003/* 004 * #%L 005 * GwtBootstrap3 006 * %% 007 * Copyright (C) 2015 GwtBootstrap3 008 * %% 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 * #L% 021 */ 022 023/** 024 * Convenience interface used to implement all summernote handlers at once. 025 * 026 * @author Xiaodong Sun 027 */ 028public interface HasAllSummernoteHandlers extends HasSummernoteInitHandlers, 029 HasSummernoteEnterHandlers, HasSummernoteFocusHandlers, HasSummernoteBlurHandlers, 030 HasSummernoteKeyUpHandlers, HasSummernoteKeyDownHandlers, HasSummernotePasteHandlers, 031 HasSummernoteImageUploadHandlers, HasSummernoteChangeHandlers { 032 033 static final String SUMMERNOTE_PREFIX = "summernote."; 034 035 /** 036 * The {@link SummernoteInitEvent} name 037 */ 038 static final String SUMMERNOTE_INIT_EVENT = SUMMERNOTE_PREFIX + "init"; 039 040 /** 041 * The {@link SummernoteEnterEvent} name 042 */ 043 static final String SUMMERNOTE_ENTER_EVENT = SUMMERNOTE_PREFIX + "enter"; 044 045 /** 046 * The {@link SummernoteFocusEvent} name 047 */ 048 static final String SUMMERNOTE_FOCUS_EVENT = SUMMERNOTE_PREFIX + "focus"; 049 050 /** 051 * The {@link SummernoteBlurEvent} name 052 */ 053 static final String SUMMERNOTE_BLUR_EVENT = SUMMERNOTE_PREFIX + "blur"; 054 055 /** 056 * The {@link SummernoteKeyUpEvent} name 057 */ 058 static final String SUMMERNOTE_KEYUP_EVENT = SUMMERNOTE_PREFIX + "keyup"; 059 060 /** 061 * The {@link SummernoteKeyDownEvent} name 062 */ 063 static final String SUMMERNOTE_KEYDOWN_EVENT = SUMMERNOTE_PREFIX + "keydown"; 064 065 /** 066 * The {@link SummernotePasteEvent} name 067 */ 068 static final String SUMMERNOTE_PASTE_EVENT = SUMMERNOTE_PREFIX + "paste"; 069 070 /** 071 * The {@link SummernoteImageUploadEvent} name 072 */ 073 static final String SUMMERNOTE_IMAGE_UPLOAD_EVENT = SUMMERNOTE_PREFIX + "image.upload"; 074 075 /** 076 * The {@link SummernoteChangeEvent} name 077 */ 078 static final String SUMMERNOTE_CHANGE_EVENT = SUMMERNOTE_PREFIX + "change"; 079 080}