PageRenderTime 47ms CodeModel.GetById 37ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/src/org/mt4j/input/inputProcessors/IInputProcessor.java

http://mt4j.googlecode.com/
Java | 68 lines | 7 code | 12 blank | 49 comment | 0 complexity | 968b2cd6ee38d85c709c3c236fb840c2 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.input.inputProcessors;
19
20import org.mt4j.input.inputData.MTInputEvent;
21
22
23/**
24 * The Interface IInputProcessor.
25 * 
26 * @author Christopher Ruff
27 */
28public interface IInputProcessor {
29	
30//	/**
31//	 * Gets the motion locking priority.
32//	 * 
33//	 * @return the locking priority
34//	 */
35//	public int getLockPriority();
36	
37	
38//	/**
39//	 * Process input evt implementation.
40//	 * 
41//	 * @param inputEvent the input event
42//	 */
43//	abstract public void processInputEvtImpl(MTInputEvent inputEvent);
44	
45	/**
46	 * Process input evt.
47	 * 
48	 * @param inputEvent the input event
49	 */
50	abstract public boolean processInputEvent(MTInputEvent inputEvent);
51	
52	
53	/**
54	 * Checks if is disabled.
55	 * 
56	 * @return true, if is disabled
57	 */
58	public boolean isDisabled();
59
60	/**
61	 * Sets the disabled.
62	 * 
63	 * @param disabled the new disabled
64	 */
65	public void setDisabled(boolean disabled);
66
67
68}