Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jcurses.event.* (14)jcurses.system.* (3)jcurses.tests.* (2)jcurses.util.* (6)
jcurses.widgets.* (29)

Package Samples:

jcurses.event
jcurses.system
jcurses.tests
jcurses.util
jcurses.widgets

Classes:

CharColor: Instances of this class are used by painting to set color attributes of painted chars. Both black-white mode and color mode attributes can ( and must be) be declared. For the color mode, colors of the background an the foreground can be declared, for the background mode can be declared, whether painted chars are output normal, reverse or in string font (bold). possible values for colors: BLACK BLUE CYAN GREEN NAGENTA RED YELLOW WHITE possible values for black-white mode attributes (these attributes are also available for some color displays): BOLD NORMAL REVERSE
Protocol: This class implements the debugging for jcurses applications. Developing a jcurses application you can't use System.out.println calls, because the console is used for painting. Instead of this ypu have to use system or debug methods of this class. These made nothing, if the system property "jcurses.protocol.filename" isn't defined, if these is defined, log messages are written to the file, whose name is defined in this property. There are two standard debug channels SYSTEM and for system and debug methods respective. You can define your own channels. To activate a channel the method activateChannnel ...
Widget: This class is superclass for all jcurses widgets. For implementing a ne widget you must derive it. An jcurses widget is already used within a window. Its task ist to help it's WidgetContainer to layout itself, giving needed informations, to paint itself and to handle input. Handling input is needed only, if the widget has is an input widget ( examples are text input widget, list widget) and has currently focus, that is is selected by user to handle input. This selectig ocurrs by typing a special key (currenty 'tab') to switch between input widgets. All widgets are ordered in a hierarchy. An widget ...
Window: This class is a jcurses implementation of an text based window. An window under jcurses is, differnt from other GUI libraries, not a widget, this contains a panel ( a the called root panel ), that contains all widgets. A window can, but doesn't must, have a border and a title. All windows under jcurses are managed in a stack, the topmost visible window window on the stack gets all input chars for handling, this is so called focus window. If an window are created, it gets automatically to the top of the stack and leaves the until an other window is created or explicitly brought to the top.
BorderLayoutManager: This class is a layout manager that works like Swing's BorderLayout. Up to 5 widgets can be added to this layout at once, in the following positions: NORTH, SOUTH, WEST, EAST, and CENTER. Components in the outer positions are set to their preferred size, and the component in the CENTER is allocated the remaining screen area.
PopUpMenu: This class implements a popup menu window. Such windows can be used for example to implemene menu bars ( currently not cantained in the library ). A popup menu window gives a user the possibility to select and ivoke an item from a list and is than closed. Separator items can be used as by MenuList described.
Toolkit: This class is the 'work factory' of the jcurses library. It contains methods for primitive input and output operations and is only interface to platform dependend libraries. An developer must not usually call methods of this class, these are used implementing widgets and in jcurses core.
ValueChangedListenerManager: This class implements a listener manager to manage jcurses.event.ValueChangedEvent instances and listener on these. Only possible type of handled events is jcurses.event.ValueChangedEvent , of managed listeners id jcurses.event.ValueChangedListener
WindowListenerManager: This class implements a listener manager to manage jcurses.event.ValueChangedEvent instances and listener on these. Only possible type of handled events is jcurses.event.ValueChangedEvent , of managed listeners id jcurses.event.ValueChangedListener
IScrollable: This interface is to be implemented by widgets, that use ScrollbarPainter to paint vertical or horizontal (or both ) scrollbars. Througth this interface the widget gives to the ScrollbarPainter needed data to paint or refresh scrollbars;
ActionListenerManager: This class implements a listener manager to manage jcurses.event.ActionEvent instances and listener on these. Only possible type of handled events is jcurses.event.ActionEvent , of managed listeners id jcurses.event.ActionListener
GridLayoutManager: This class is a layout manager that works like as the DefaultLayoutManager with an difference: the painting rectangle is shared in many grid cells and the constraints are stated not in real coodinates on the painting rectangle, but in 'grid-coordinates'
ItemListenerManager: This class implements a listener manager to manage jcurses.event.ItemEvent instances and listener on these. Only possible type of handled events is jcurses.event.ItemEvent , of managed listeners id jcurses.event.ItemListener
Button: This class implements a buttton-widget. Such button has a label and is 'clicked' by user typing a special character (default 'enter'). If it is 'clicked', it generates an ActionEvent , that is delegetated to registered listeners.
DefaultLayoutManager: This is a default layout manager. The constraints state for each widget to layout a coordinates of the rectangle, within that the widget is placed and the alignment of the widget, if its preferred size is smaller as the rectangle's size-
InputChar: The instances of this class represent characters or key codes, that are input by an user. An instance of the class contains einther a ascii character or one of in the class declared constants for function keys and control keys.
ListenerManager: This class is the basic class for listener manager. Listener manager are used in widgets classes to manage listeners on widgets's events. This can be also implemented without an listener manager, but these make it easier.
Panel: This class implements a panel container for widgets. A panel is a rectangle with a specified color to place on it other widgets. Each window has a panel called root panel that serves as root for the widget hierarchy.
Message: This is a class to create and show user defined messages. Such message is a dialog with an user defined title, containing an user defined text and a button to close the window with an user defined label.
ScrollbarUtils: This class is used be widgets to painting scrollbars. There isn't a scrollbar widget in the library, instead of this, instead of this widget's that has scrollbars as part, use this class for painting.
PopUpList: This class implements a popup list. Such list has always one of the items selected and gives the possibility to change this selection ( througth an popup menu that is shown, if the user typed 'enter')
ValueChangedEvent: Instances of this class are generated by widgets, that manage a value, an example is the textfield widget. Such events are generated, if an user has modified the value assosiated with the widget.
Rectangle: This is a class to represent an screen rectangle. To implement this class was needed, because java.awt.rectangle works with double's, this is by a text based terminal senseless.
CheckBox: This class implements a checkbox widget. This checkboxes state is modified by typing a special char (default 'space'). You can register listeners by this widget to track state changes.
Paging: A utility class to handle paging in components. The class get the 'page size' and the size as constructor argument and calculates page numbers, start and end indexes etc...

Home | Contact Us | Privacy Policy | Terms of Service