1a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta/*
2a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * Copyright (c) 2009-2010 jMonkeyEngine
3a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * All rights reserved.
4a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *
5a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * Redistribution and use in source and binary forms, with or without
6a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * modification, are permitted provided that the following conditions are
7a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * met:
8a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *
9a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * * Redistributions of source code must retain the above copyright
10a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *   notice, this list of conditions and the following disclaimer.
11a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *
12a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * * Redistributions in binary form must reproduce the above copyright
13a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *   notice, this list of conditions and the following disclaimer in the
14a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *   documentation and/or other materials provided with the distribution.
15a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *
16a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * * Neither the name of 'jMonkeyEngine' nor the names of its contributors
17a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *   may be used to endorse or promote products derived from this software
18a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *   without specific prior written permission.
19a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *
20a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta */
32a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Bartapackage com.jme3.input.controls;
33a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta
34a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta/**
35a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta *
36a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta * @author potterec (aka iwgeric)
37a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta */
38a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Bartapublic interface SoftTextDialogInputListener {
39a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta
40a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta    public static int COMPLETE = 0;
41a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta    public static int CANCEL = 1;
42a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta
43a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta    public void onSoftText(int action, String text);
44a6b44658eb1c55295f132a36233a11aa2bd8f9cfScott Barta}
45