001package org.gwtbootstrap3.client.ui.base; 002 003import java.util.List; 004 005import com.google.gwt.user.client.ui.Widget; 006 007/* 008 * #%L 009 * GwtBootstrap3 010 * %% 011 * Copyright (C) 2013 GwtBootstrap3 012 * %% 013 * Licensed under the Apache License, Version 2.0 (the "License"); 014 * you may not use this file except in compliance with the License. 015 * You may obtain a copy of the License at 016 * 017 * http://www.apache.org/licenses/LICENSE-2.0 018 * 019 * Unless required by applicable law or agreed to in writing, software 020 * distributed under the License is distributed on an "AS IS" BASIS, 021 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 022 * See the License for the specific language governing permissions and 023 * limitations under the License. 024 * #L% 025 */ 026 027/** 028 * @author Sven Jacobs 029 */ 030public interface HasDataTarget { 031 032 void setDataTargetWidget(Widget widget); 033 034 void setDataTargetWidgets(List<Widget> widget); 035 036 /** 037 * Sets the data target for the widget 038 * 039 * @param dataTarget data target string 040 */ 041 void setDataTarget(String dataTarget); 042 043 /** 044 * Gets the data target of the widget 045 * 046 * @return data target 047 */ 048 String getDataTarget(); 049}