draggable window
[nikiroo-utils.git] / README.md
CommitLineData
7d4115a5
KL
1Jexer - Java Text User Interface library
2========================================
3
4This library is currently in design, but when finished it is intended
5to implement a text-based windowing system loosely reminiscient of
6Borland's [Turbo Vision](http://en.wikipedia.org/wiki/Turbo_Vision)
7library. For those wishing to use the actual C++ Turbo Vision
8library, see [Sergio Sigala's updated
9version](http://tvision.sourceforge.net/) that runs on many more
10platforms.
11
12
13License
14-------
15
16This library is licensed LGPL ("GNU Lesser General Public License")
17version 3 or greater. See the file LICENSE for the full license text,
18which includes both the GPL v3 and the LGPL supplemental terms.
19
20
21Usage
22-----
23
24The library is currently under initial development, usage patterns are
25still being worked on. Generally the goal will be to build
26applications somewhat as follows:
27
28```Java
29import jexer.*;
30
31public class MyApplication extends TApplication {
32
33 public MyApplication() {
05dbb28d 34 super();
7d4115a5 35
05dbb28d
KL
36 // Create an editor window that has support for
37 // copy/paste, search text, arrow keys, horizontal
38 // and vertical scrollbar, etc.
39 addEditor();
7d4115a5 40
05dbb28d
KL
41 // Create standard menus for File and Window
42 addFileMenu();
43 addWindowMenu();
7d4115a5
KL
44 }
45
46 public static void main(String [] args) {
05dbb28d
KL
47 MyApplication app = new MyApplication();
48 app.run();
7d4115a5
KL
49 }
50}
51```
52
53
54Roadmap
55-------
56
57This is a work in progress. Many tasks remain before calling this
58version 1.0:
59
600.0.1:
61
7b5261bc 62- Get a movable window on screen
9edb442b
KL
63 - TWidget
64 - TWindow
7b5261bc 65 - TLabel
7d4115a5
KL
66
670.0.2:
68
7d4115a5 69- Port remaining d-tui functionality over
7b5261bc 70 - All widgets except modal (e.g. messagebox/fileopen)
7d4115a5
KL
71
720.0.3:
73
7b5261bc
KL
74- Get modal messagebox running without fibers (use two reader threads
75 with syncronization, don't bother with coroutines)
9edb442b
KL
76- TEditor, fixup keyboard movement
77
780.0.4:
79
7d4115a5
KL
80- ECMATerminal
81 - Mouse 1006 mode parsing
7d4115a5
KL
82- Bugs
83 - TDirectoryList cannot be navigated only with keyboard
84 - TTreeView cannot be navigated only with keyboard
85 - RangeViolation after dragging scrollbar up/down
86
87Wishlist features (2.0):
88
89- TTerminal
90 - Handle resize events (pass to child process)
91 - xterm mouse handling
92- TWindow
93 - "Smart placement" for new windows
94- Screen
95 - Allow complex characters in putCharXY() and detect them in putStrXY().
96- TComboBox
97- TListBox
98- TSpinner
99- TCalendar widget
100- TColorPicker widget
101- Drag and drop
102 - TEditor
103 - TField
104 - TText
105 - TTerminal
106 - TComboBox
107- AWTBackend