PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/org/mt4j/components/interfaces/IclickableButton.java

http://mt4j.googlecode.com/
Java | 49 lines | 7 code | 7 blank | 35 comment | 0 complexity | cf1d2ddeecdb1a7bf9c734c6ab7f417d MD5 | raw file
 1/***********************************************************************
 2 * mt4j Copyright (c) 2008 - 2009, C.Ruff, Fraunhofer-Gesellschaft All rights reserved.
 3 *  
 4 *   This program is free software: you can redistribute it and/or modify
 5 *   it under the terms of the GNU General Public License as published by
 6 *   the Free Software Foundation, either version 3 of the License, or
 7 *   (at your option) any later version.
 8 *
 9 *   This program is distributed in the hope that it will be useful,
10 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *   GNU General Public License for more details.
13 *
14 *   You should have received a copy of the GNU General Public License
15 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 *
17 ***********************************************************************/
18package org.mt4j.components.interfaces;
19
20import org.mt4j.input.inputProcessors.componentProcessors.tapProcessor.TapEvent;
21
22/**
23 * The Interface IclickableButton.
24 */
25public interface IclickableButton {
26	
27	/**
28	 * Fire action performed.
29	 * 
30	 * @param ce the ce
31	 */
32	public void fireActionPerformed(TapEvent ce);
33	
34	
35	/**
36	 * Sets the selected.
37	 * 
38	 * @param selected the new selected
39	 */
40	public void setSelected(boolean selected);
41	
42	/**
43	 * Checks if is selected.
44	 * 
45	 * @return true, if is selected
46	 */
47	public boolean isSelected();
48
49}