|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License Version * 1.0 (the "License"). You may not use this file except in compliance * with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is Terminal Emulator. * The Initial Developer of the Original Code is Sun Microsystems, Inc.. * Portions created by Sun Microsystems, Inc. are Copyright (C) 2001. * All Rights Reserved. * * Contributor(s): Ivan Soleimanipour. */ /* * "Ops.java" * Ops.java 1.14 01/07/23 * The abstract operations the terminal can perform. */ package org.netbeans.lib.terminalemulator; /** * The mnemonics for the ops are _roughly_ based on termcap entries. */ public interface Ops { public void op_pause(); public void op_char(char c); public void op_carriage_return(); public void op_line_feed(); public void op_back_space(); public void op_tab(); public void op_bel(); public void op_soft_reset(); public void op_full_reset(); public void op_al(int count); // add new blank line public void op_bc(int count); // back cursor/column public void op_cm(int row, int col); // cursor motion public void op_cl(); // clear screen and home cursor public void op_ce(); // clear to end of line public void op_cd(); // clear to end of screen public void op_dc(int count); // delete character public void op_dl(int count); // delete line & scroll everything under it up public void op_do(int count); // down 1 line public void op_ho(); // cursor home (upper left of the screen) public void op_ic(int count); // insert character public void op_nd(int count); // cursor right (non-destructive space) public void op_up(int count); // cursor up public void op_sc(); // save cursor position public void op_rc(); // restore saved cursor position public void op_margin(int from, int to); // set vertical scroll margins public void op_attr(int mode); // set ANSI attributes public void op_set_mode(int mode); public void op_reset_mode(int mode); // These cause data to be sent back: public void op_status_report(int code); // ops mimicing certain DtTerm features public void op_glyph(int glyph, int rendition); // assign glyph // to current row public void op_reverse(boolean reverse); public void op_cursor_visible(boolean cursor); // querying operations public int op_get_width(); public int op_get_column(); // ... cursor is currently located on (0-origin) // ops unique to Term public void op_time(boolean refresh); // dump time into output & // control refreshEnabled prop } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.