From 9ed99ce21fa749f9a4fadb5b0cf5379a5995410c Mon Sep 17 00:00:00 2001 From: "iwg..ic" Date: Wed, 20 Nov 2013 13:30:51 +0000 Subject: [PATCH] Add placeholder for future showVirtualKeyboard method for platforms implementing TouchInput git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10897 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/android/com/jme3/input/android/AndroidInput.java | 4 ++++ engine/src/core/com/jme3/input/TouchInput.java | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/engine/src/android/com/jme3/input/android/AndroidInput.java b/engine/src/android/com/jme3/input/android/AndroidInput.java index 73ca2d191..1cec2b8d4 100644 --- a/engine/src/android/com/jme3/input/android/AndroidInput.java +++ b/engine/src/android/com/jme3/input/android/AndroidInput.java @@ -679,4 +679,8 @@ public class AndroidInput implements return mouseEventsEnabled; } + public void showVirtualKeyboard(boolean visible) { + throw new UnsupportedOperationException("Not supported yet."); + } + } diff --git a/engine/src/core/com/jme3/input/TouchInput.java b/engine/src/core/com/jme3/input/TouchInput.java index 71c2a7c8b..38803c480 100644 --- a/engine/src/core/com/jme3/input/TouchInput.java +++ b/engine/src/core/com/jme3/input/TouchInput.java @@ -100,4 +100,10 @@ public interface TouchInput extends Input { */ public void setOmitHistoricEvents(boolean dontSendHistory); + /** + * Displays or hides the onscreen soft keyboard + * @param visible + */ + public void showVirtualKeyboard (final boolean visible); + } \ No newline at end of file