Mercurial > 510Connectbot
diff src/org/tn5250j/event/ScreenOIAListener.java @ 6:1b9e27659ef7 tn5250
adding tn5250 files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2014 13:10:44 -0700 |
parents | |
children | 77ac18bc1b2f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/tn5250j/event/ScreenOIAListener.java Thu May 22 13:10:44 2014 -0700 @@ -0,0 +1,45 @@ +/** + * + * <p>Title: ScreenOIAListener</p> + * <p>Description: Main interface to draw the graphical image of the screen</p> + * <p>Copyright: Copyright (c) 2000 - 2002</p> + * <p> + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + * </p> + * @author Kenneth J. Pouncey + * @version 0.5 + */ + +package org.tn5250j.event; + +import org.tn5250j.framework.tn5250.ScreenOIA; + +public interface ScreenOIAListener { + + public static final int OIA_CHANGED_INSERT_MODE = 0; + public static final int OIA_CHANGED_KEYS_BUFFERED = 1; + public static final int OIA_CHANGED_KEYBOARD_LOCKED = 2; + public static final int OIA_CHANGED_MESSAGELIGHT = 3; + public static final int OIA_CHANGED_SCRIPT = 4; + public static final int OIA_CHANGED_BELL = 5; + public static final int OIA_CHANGED_CLEAR_SCREEN = 6; + public static final int OIA_CHANGED_INPUTINHIBITED = 7; + public static final int OIA_CHANGED_CURSOR = 8; + + + public void onOIAChanged(ScreenOIA oia, int change); + +}