changeset 28:ad194aedeaab tn5250

adding tn5250 files, native android logging
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Jun 2014 12:38:59 -0700
parents b29b39f386a4
children 017eeed8332c
files src/org/tn5250j/framework/Tn5250jEvent.java src/org/tn5250j/framework/Tn5250jKeyEvents.java
diffstat 2 files changed, 0 insertions(+), 98 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tn5250j/framework/Tn5250jEvent.java	Tue Jun 03 12:29:12 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-/**Copyright (C) 2004 Seagull Software
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation; either
-* version 2.1 of the License, or (at your option) any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this library; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*
-*@author bvansomeren (bvansomeren@seagull.nl)
-*/
-package org.tn5250j.framework;
-
-//import org.tn5250j.Screen5250;
-import org.tn5250j.framework.tn5250.Screen5250;
-import org.tn5250j.framework.tn5250.ScreenFields;
-//import org.tn5250j.ScreenFields;
-
-public class Tn5250jEvent {
-
-	private Screen5250 screen;
-	private char[] data;
-	private ScreenFields fields;
-
-	public Tn5250jEvent() {
-		screen = null;
-	}
-
-	public Tn5250jEvent(Screen5250 newscreen) {
-		screen = newscreen;
-//		Object[] original = (Object[])screen.getCharacters();
-//		data = new ScreenChar[original.length];
-//		System.arraycopy(original, 0, data, 0, original.length);
-
-      // changed by Kenneth - This should be replaced with a call to
-      //   getPlane method of screen object when they are implemented.  These
-      //   new methods will also do the array copy.
-		char[] original = screen.getCharacters();
-		data = new char[original.length];
-		System.arraycopy(original, 0, data, 0, original.length);
-		this.fields = newscreen.getScreenFields();
-	}
-
-	public char[] getData() {
-		return data;
-	}
-
-	public Screen5250 getScreen() {
-		return screen;
-	}
-
-	public ScreenFields getFields() {
-		return this.fields;
-	}
-}
--- a/src/org/tn5250j/framework/Tn5250jKeyEvents.java	Tue Jun 03 12:29:12 2014 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-/**Copyright (C) 2004 Seagull Software
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation; either
-* version 2.1 of the License, or (at your option) any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this library; if not, write to the Free Software
-* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*
-*@author bvansomeren (bvansomeren@seagull.nl)
-*/
-package org.tn5250j.framework;
-
-//import org.tn5250j.Screen5250;
-import org.tn5250j.framework.tn5250.Screen5250;
-
-public class Tn5250jKeyEvents extends Tn5250jEvent {
-	private String keystrokes;
-
-	public Tn5250jKeyEvents(Screen5250 screen, String strokes) {
-		super(screen);
-		this.keystrokes = strokes;
-	}
-
-	public String getKeystrokes() {
-		return this.keystrokes;
-	}
-
-}