A B C D E F G H I J L M N P R S T U V W X Y _

A

AbstractWindow - class jcurzez.AbstractWindow.
AbstractWindow is the base class of Area and Screen.
AbstractWindow(AbstractWindow, Cursor, boolean, boolean) - Constructor for class jcurzez.AbstractWindow
Constructs a new window with specified parent, rectangle and cursor.
and(Attribute) - Method in class jcurzez.Attribute
Creates a new Attribute that combines a and this.
andNot(Attribute) - Method in class jcurzez.Attribute
Create a new attribute that has attribute a off.
Area - class jcurzez.Area.
An area.
Area(AbstractWindow, int, int, int, int, boolean, boolean) - Constructor for class jcurzez.Area
Constructs a new wndow with specified parent, coordinates, and properties.
Area(AbstractWindow, Rectangle, boolean, boolean) - Constructor for class jcurzez.Area
Constructs a new Area with a parent, specified bounds and properties.
Area(int, int, int, int, boolean, boolean) - Constructor for class jcurzez.Area
Contructs a new area with specified bounds and properties for linewrap and scroll.
Area(Rectangle) - Constructor for class jcurzez.Area
Creates a new Area using specified Rectangle.
Area(Rectangle, boolean, boolean) - Constructor for class jcurzez.Area
Creates a new Area with specified bounds and properties.
attribute - Variable in class jcurzez.Pen
Attribute for this Pen.
attribute - Variable in class jcurzez.Cell
Attribute of the cell.
Attribute - class jcurzez.Attribute.
A Jcurzez attribute (bold, underline, and so on).
Attribute(byte) - Constructor for class jcurzez.Attribute
Creates a new attribute, having name name.
attributeToEscapeSequence(Attribute) - Method in class jcurzez.peer.ansi.PeerScreen
Computes the representation of the attribute a, and appends this representation to PeerScreen.text.

B

background - Variable in class jcurzez.Pen
Background color for this Pen.
background - Variable in class jcurzez.Cell
Background color of this cell.
BackgroundColor - class jcurzez.BackgroundColor.
A background color.
BackgroundColor(String) - Constructor for class jcurzez.BackgroundColor
Creates a background color with specified name.
backspace() - Method in class jcurzez.AbstractWindow
What to do when a '\b' is AbstractWindow.printChar(int)'ed or AbstractWindow.insertChar(int)'ed.
beep() - Method in class jcurzez.Area
Emits a beep.
beep() - Method in class jcurzez.Screen
Delegates call to Screen.peer.
beep() - Method in class jcurzez.AbstractWindow
Emits a beep.
beep() - Method in class jcurzez.peer.NullScreenPeer
 
beep() - Method in interface jcurzez.peer.ScreenPeer
Emits an audio beep.
beep() - Method in class jcurzez.peer.ansi.PeerScreen
 
beep() - Method in class jcurzez.peer.curses.PeerScreen
 
beep() - Method in class jcurzez.peer.win.PeerScreen
 
BG - Static variable in class jcurzez.test.Colors
 
BLACK - Static variable in class jcurzez.ForegroundColor
The foreground color black.
BLACK - Static variable in class jcurzez.BackgroundColor
The background color black.
BLACK - Static variable in class jcurzez.peer.win.PeerScreen
 
blankCell - Variable in class jcurzez.FillingPen
The blank cell.
BLINK - Static variable in class jcurzez.Attribute
BLINK attribute.
blue - Variable in class jcurzez.peer.curses.CursesColor
Blue component of this CursesColor.
BLUE - Static variable in class jcurzez.ForegroundColor
The foreground color blue.
BLUE - Static variable in class jcurzez.BackgroundColor
The background color blue.
BLUE - Static variable in class jcurzez.peer.win.PeerScreen
 
BOLD - Static variable in class jcurzez.Attribute
BOLD attribute.
bottom - Variable in class jcurzez.Rectangle
bottom coordinate of this rectangle.
Box - class jcurzez.test.Box.
Displays a mini box.
Box() - Constructor for class jcurzez.test.Box
 
BoxDrawing - class jcurzez.BoxDrawing.
This class contains all box drawing characters, according to Unicode Standard, version 3.0.
BoxDrawing() - Constructor for class jcurzez.BoxDrawing
 
buffer - Variable in class jcurzez.AbstractWindow
The buffer we use to perform all operations.
bufferLock - Variable in class jcurzez.AbstractWindow
The lock on the buffer.

C

cat - Static variable in class jcurzez.AbstractWindow
log4j category.
Cell - class jcurzez.Cell.
A Cell contains a character and its decoration.
Cell(Cell) - Constructor for class jcurzez.Cell
Copy constructor.
Cell(int, Attribute, BackgroundColor, ForegroundColor) - Constructor for class jcurzez.Cell
Creates a new cell with specified decoration and specified character.
Cell(int, Attribute, BackgroundColor, ForegroundColor, boolean) - Constructor for class jcurzez.Cell
Creates a new cell.
character - Variable in class jcurzez.Cell
The character to display.
checkAllCoordinates(int, int, int, int) - Method in class jcurzez.AbstractWindow
Checks coordinates for both AbstractWindow.copyCellsAt(int, int, int, int) and AbstractWindow.getCellsAt(int, int, int, int).
clear() - Method in class jcurzez.AbstractWindow
Clears the current window.
clearToBottom() - Method in class jcurzez.AbstractWindow
Clears the content of the window, from current position to the end of the screen, using the filling pen for filling new cells.
clearToEndOfLine() - Method in class jcurzez.AbstractWindow
Clears the content of the line, starting from current position, using the filling pen for new cells.
close() - Method in class jcurzez.io.JcurzezOutputStream
This method does nothing.
Color - class jcurzez.Color.
A Jcurzez color, different from java.awt.Color.
Color(String) - Constructor for class jcurzez.Color
Creates a new Color with specified name.
Colors - class jcurzez.test.Colors.
Tests colors.
Colors() - Constructor for class jcurzez.test.Colors
 
columns - Variable in class jcurzez.peer.NullScreenPeer
Columns of the previous peer.
columns - Variable in class jcurzez.peer.ansi.PeerScreen
Number of columns the screen has.
copyCellsAt(int, int, int, int) - Method in class jcurzez.AbstractWindow
Retrieves the rectangle of cells starting at (x,y).
copyFrom(int, Attribute, BackgroundColor, ForegroundColor) - Method in class jcurzez.Cell
Copies into this cell given attributes.
copyInto(Cell) - Method in class jcurzez.Cell
Copies this to destinationCell.
CursesColor - class jcurzez.peer.curses.CursesColor.
A curses color.
CursesColor(short, short, short, short) - Constructor for class jcurzez.peer.curses.CursesColor
Creates a new color with specified intensified values, using RGB color system.
cursor - Variable in class jcurzez.AbstractWindow
Cursor attached to this window (the one for drawing new characters).
Cursor - class jcurzez.Cursor.
Every window has a cursor.
Cursor(Rectangle, int, int) - Constructor for class jcurzez.Cursor
Constructs a new cursor for specified rectangle, with initial position (initialX, initialY).
CYAN - Static variable in class jcurzez.ForegroundColor
The foreground color cyan.
CYAN - Static variable in class jcurzez.BackgroundColor
The background color cyan.
CYAN - Static variable in class jcurzez.peer.win.PeerScreen
 

D

d - Variable in class jcurzez.test.ThreadSafety.ClockThread
 
deleteChar() - Method in class jcurzez.AbstractWindow
Deletes char at current position.
deleteLine() - Method in class jcurzez.AbstractWindow
Deletes the current line.
df - Static variable in class jcurzez.test.ThreadSafety
To display the date like I want.
DIM - Static variable in class jcurzez.Attribute
DIM attribute.
DOUBLE_DOWN_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_DOWN_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_DOWN_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_UP_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_UP_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_UP_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_VERTICAL_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_VERTICAL_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
DOUBLE_VERTICAL_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_DOUBLE_AND_HORIZONTAL_SINGLE - Static variable in class jcurzez.BoxDrawing
 
DOWN_DOUBLE_AND_LEFT_SINGLE - Static variable in class jcurzez.BoxDrawing
 
DOWN_DOUBLE_AND_RIGHT_SINGLE - Static variable in class jcurzez.BoxDrawing
 
DOWN_HEAVY_AND_HORIZONTAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_HEAVY_AND_LEFT_LIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_HEAVY_AND_LEFT_UP_LIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_HEAVY_AND_RIGHT_LIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_HEAVY_AND_RIGHT_UP_LIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_HEAVY_AND_UP_HORIZONTAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
DOWN_LIGHT_AND_HORIZONTAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
DOWN_LIGHT_AND_LEFT_HEAVY - Static variable in class jcurzez.BoxDrawing
 
DOWN_LIGHT_AND_LEFT_UP_HEAVY - Static variable in class jcurzez.BoxDrawing
 
DOWN_LIGHT_AND_RIGHT_HEAVY - Static variable in class jcurzez.BoxDrawing
 
DOWN_LIGHT_AND_RIGHT_UP_HEAVY - Static variable in class jcurzez.BoxDrawing
 
DOWN_LIGHT_AND_UP_HORIZONTAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
DOWN_SINGLE_AND_HORIZONTAL_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
DOWN_SINGLE_AND_LEFT_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
DOWN_SINGLE_AND_RIGHT_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
drawingPen - Variable in class jcurzez.Rectangle
pen used to draw new cells in this rectangle.

E

end() - Static method in class jcurzez.Screen
This method is invoked by shutdown hook, or explicitly to stop using Jcurzez.
end() - Method in class jcurzez.peer.NullScreenPeer
 
end() - Method in interface jcurzez.peer.ScreenPeer
Performs all shutdown tasks before the screen is destroyed.
end() - Method in class jcurzez.peer.ansi.PeerScreen
Does nothing.
end() - Method in class jcurzez.peer.curses.PeerScreen
 
end() - Method in class jcurzez.peer.win.PeerScreen
 
endCalled - Static variable in class jcurzez.Screen
Indicates whether Screen.end() was already called.
equals(Object) - Method in class jcurzez.Pen
Checks whether this is equal to o.
equals(Object) - Method in class jcurzez.Color
Tests equality.
equals(Object) - Method in class jcurzez.Attribute
Tests equality of this with o.
equals(Object) - Method in class jcurzez.AbstractWindow
Tests equality of this with o.

F

FG - Static variable in class jcurzez.test.Colors
 
fillingPen - Variable in class jcurzez.Rectangle
pen used to fill in this rectangle.
FillingPen - class jcurzez.FillingPen.
FillingPen class has a cell attached, which represents the blank cell.
FillingPen() - Constructor for class jcurzez.FillingPen
Creates a new FillingPen.
FillingPen(int, ForegroundColor, BackgroundColor, Attribute) - Constructor for class jcurzez.FillingPen
Creates a new FillingPen with specified attributes.
FillingPen(Pen) - Constructor for class jcurzez.FillingPen
Creates a new FillingPen, with specified pen.
flush() - Method in class jcurzez.io.JcurzezOutputStream
Flushes the output stream, i.e. empty internal buffer.
foreground - Variable in class jcurzez.Pen
Foreground color for this Pen.
foreground - Variable in class jcurzez.Cell
Foreground color of this cell.
ForegroundColor - class jcurzez.ForegroundColor.
A foreground color.
ForegroundColor(String) - Constructor for class jcurzez.ForegroundColor
Creates a foreground color with specified name.

G

getAttribute() - Method in class jcurzez.Pen
Retrieves the attribute of this pen.
getBackgroundColor() - Method in class jcurzez.Pen
Retrieves the background color.
getBlue() - Method in class jcurzez.peer.curses.CursesColor
Returns the blue component of this CursesColor.
getBottom() - Method in class jcurzez.Rectangle
Returns the bottom coordinate.
getCellsAt(int, int, int, int) - Method in class jcurzez.AbstractWindow
Retrieves the rectangle of cells starting at (x,y).
getColumns() - Method in class jcurzez.peer.NullScreenPeer
 
getColumns() - Method in interface jcurzez.peer.ScreenPeer
Retrieves the number of columns the screen has.
getColumns() - Method in class jcurzez.peer.ansi.PeerScreen
Relies on the jcurzez.term.columns property, or defaults to 80 if this property is not set.
getColumns() - Method in class jcurzez.peer.curses.PeerScreen
 
getColumns() - Method in class jcurzez.peer.win.PeerScreen
 
getCursor() - Method in class jcurzez.AbstractWindow
Returns the cursor attached to this.
getCursorVisibility() - Method in class jcurzez.Cursor
Retrieves the cursor visibility.
getDrawingPen() - Method in class jcurzez.Rectangle
Returns the drawing pen of this rectangle.
getFillingPen() - Method in class jcurzez.Rectangle
Returns the filling pen.
getFirstX() - Method in class jcurzez.peer.NullScreenPeer
 
getFirstX() - Method in interface jcurzez.peer.ScreenPeer
Retrieves the x coordinate by the time the screen object is created.
getFirstX() - Method in class jcurzez.peer.ansi.PeerScreen
 
getFirstX() - Method in class jcurzez.peer.curses.PeerScreen
 
getFirstX() - Method in class jcurzez.peer.win.PeerScreen
 
getFirstY() - Method in class jcurzez.peer.NullScreenPeer
 
getFirstY() - Method in interface jcurzez.peer.ScreenPeer
Retrieves the y coordinate by the time the screen object is created.
getFirstY() - Method in class jcurzez.peer.ansi.PeerScreen
 
getFirstY() - Method in class jcurzez.peer.curses.PeerScreen
 
getFirstY() - Method in class jcurzez.peer.win.PeerScreen
 
getForegroundColor() - Method in class jcurzez.Pen
Retrieves the foreground color.
getGreen() - Method in class jcurzez.peer.curses.CursesColor
Returns the green component of this CursesColor.
getHeight() - Method in class jcurzez.Rectangle
Returns the height of the rectangle.
getId() - Method in class jcurzez.AbstractWindow
Returns the id of this window.
getIndex() - Method in class jcurzez.peer.curses.CursesColor
Returns the index of the color.
getLeft() - Method in class jcurzez.Rectangle
Returns the left coordinate.
getLines() - Method in class jcurzez.peer.NullScreenPeer
 
getLines() - Method in interface jcurzez.peer.ScreenPeer
Retrieves the number of lines the screen has.
getLines() - Method in class jcurzez.peer.ansi.PeerScreen
 
getLines() - Method in class jcurzez.peer.curses.PeerScreen
 
getLines() - Method in class jcurzez.peer.win.PeerScreen
 
getParent() - Method in class jcurzez.AbstractWindow
Returns the parent window of this.
getPeerPackageName() - Static method in class jcurzez.Screen
To achieve screen creation, the Screen static initializer uses the jcurzez.term.type property.
getRealColor() - Method in class jcurzez.Color
Returns the real color.
getRectangle() - Method in class jcurzez.AbstractWindow
Returns the rectangle contained within this.
getRed() - Method in class jcurzez.peer.curses.CursesColor
Returns the red component of this CursesColor.
getRight() - Method in class jcurzez.Rectangle
Returns the right coordinate.
getScreen() - Static method in class jcurzez.Screen
Retrieves the one and only screen.
getTabulationSize() - Static method in class jcurzez.AbstractWindow
Returns the size of the tabulation.
getTop() - Method in class jcurzez.Rectangle
Returns the top coordinate.
getValue() - Method in class jcurzez.Attribute
Returns the value describing this.
getWidth() - Method in class jcurzez.Rectangle
Returns the width of the rectangle.
getX() - Method in class jcurzez.Cursor
Retrieves the current X coordinate of the cursor.
getY() - Method in class jcurzez.Cursor
Retrieves the current Y coordinate of the cursor.
gotoXY(int, int) - Method in class jcurzez.Area
Invokes parent's gotoXY method.
gotoXY(int, int) - Method in class jcurzez.Screen
Delegates call to Screen.peer.
gotoXY(int, int) - Method in class jcurzez.AbstractWindow
Moves the cursor on the physical screen to position (x, y).
gotoXY(int, int) - Method in class jcurzez.peer.NullScreenPeer
Does nothing.
gotoXY(int, int) - Method in interface jcurzez.peer.ScreenPeer
Moves the cursor on the physical screen at specified position.
gotoXY(int, int) - Method in class jcurzez.peer.ansi.PeerScreen
 
gotoXY(int, int) - Method in class jcurzez.peer.curses.PeerScreen
 
gotoXY(int, int) - Method in class jcurzez.peer.win.PeerScreen
 
green - Variable in class jcurzez.peer.curses.CursesColor
Green component of this CursesColor.
GREEN - Static variable in class jcurzez.ForegroundColor
The foreground color green.
GREEN - Static variable in class jcurzez.BackgroundColor
The background color green.
GREEN - Static variable in class jcurzez.peer.win.PeerScreen
 

H

hasAttribute(Attribute) - Method in class jcurzez.Attribute
Checks whether this has attribute a.
hasChanged - Variable in class jcurzez.Cell
Indicates if the cell has changed.
hasColors - Variable in class jcurzez.peer.curses.PeerScreen
 
hashCode() - Method in class jcurzez.Attribute
Returns the hashcode of this attribute.
hashCode() - Method in class jcurzez.AbstractWindow
Returns the hash code of this.
hasLinesWrapped() - Method in class jcurzez.AbstractWindow
Returns true if lines are wrapped.
hasSameDecoration(Cell) - Method in class jcurzez.Cell
Returns true if this and cell have the same decoration.
HEAVY_DOUBLE_DASH_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_DOUBLE_DASH_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_DOWN - Static variable in class jcurzez.BoxDrawing
 
HEAVY_DOWN_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_DOWN_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_DOWN_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_LEFT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_LEFT_AND_LIGHT_RIGHT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_QUADRUPLE_DASH_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_QUADRUPLE_DASH_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_RIGHT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_TRIPLE_DASH_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_TRIPLE_DASH_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_UP - Static variable in class jcurzez.BoxDrawing
 
HEAVY_UP_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_UP_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_UP_AND_LIGHT_DOWN - Static variable in class jcurzez.BoxDrawing
 
HEAVY_UP_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_VERTICAL_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
HEAVY_VERTICAL_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
HEAVY_VERTICAL_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
height - Static variable in class jcurzez.test.ThreadSafety
Height of the screen.

I

id - Variable in class jcurzez.AbstractWindow
Number of this window.
IllegalColorStateException - exception jcurzez.IllegalColorStateException.
This exception is thrown when Color.setRealColor is called more than once, or when it is never called.
IllegalColorStateException() - Constructor for class jcurzez.IllegalColorStateException
Empty constructor.
IllegalColorStateException(String) - Constructor for class jcurzez.IllegalColorStateException
Construct an IllegalColorStateException with the specified message.
InconsistentCoordinateException - exception jcurzez.InconsistentCoordinateException.
This exception is thrown when Cursor.setX(int) (or Cursor.setY(int)) is called with a wrong value.
InconsistentCoordinateException() - Constructor for class jcurzez.InconsistentCoordinateException
Empty constructor.
InconsistentCoordinateException(String) - Constructor for class jcurzez.InconsistentCoordinateException
Construct an InconsistentCoordinateException with the specified message.
increaseX() - Method in class jcurzez.AbstractWindow
Moves the cursor one character right.
increaseY() - Method in class jcurzez.AbstractWindow
Moves the cursor one character down.
index - Variable in class jcurzez.peer.curses.CursesColor
Index of the color for curses.
INITSCR_ERR - Static variable in class jcurzez.peer.curses.PeerScreen
 
INITSCR_OK - Static variable in class jcurzez.peer.curses.PeerScreen
 
insertChar(int) - Method in class jcurzez.AbstractWindow
Inserts a character at current cursor position, with the filling pen.
insertLine() - Method in class jcurzez.AbstractWindow
Inserts a blank line at current position, with default pen.
insertString(String) - Method in class jcurzez.AbstractWindow
Inserts specified text text at current position, using the filling pen.
internalPutChar(int, ForegroundColor, BackgroundColor, Attribute) - Method in class jcurzez.AbstractWindow
Puts c with given decoration at current position in AbstractWindow.buffer.
INVISIBLE - Static variable in class jcurzez.Cursor
Cursor is not visible.

J

jcurzez - package jcurzez
Provides the classes necessary to create a text based Java application with colors, attributes and windows.
jcurzez.io - package jcurzez.io
Provides a class that hacks System.out and System.err so that all printed characters use the underlying peer component.
jcurzez.peer - package jcurzez.peer
Provides peer interfaces.
jcurzez.peer.ansi - package jcurzez.peer.ansi
 
jcurzez.peer.curses - package jcurzez.peer.curses
 
jcurzez.peer.win - package jcurzez.peer.win
 
jcurzez.test - package jcurzez.test
 
JcurzezOutputStream - class jcurzez.io.JcurzezOutputStream.
This class is a hack to replace System.out (and System.err) so that all printed chars use Jcurzez.
JcurzezOutputStream(Screen) - Constructor for class jcurzez.io.JcurzezOutputStream
Does actually nothing.

L

left - Variable in class jcurzez.Rectangle
left coordinate of this rectangle.
LEFT_DOWN_HEAVY_AND_RIGHT_UP_LIGHT - Static variable in class jcurzez.BoxDrawing
 
LEFT_HEAVY_AND_RIGHT_DOWN_LIGHT - Static variable in class jcurzez.BoxDrawing
 
LEFT_HEAVY_AND_RIGHT_UP_LIGHT - Static variable in class jcurzez.BoxDrawing
 
LEFT_HEAVY_AND_RIGHT_VERTICAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
LEFT_LIGHT_AND_RIGHT_DOWN_HEAVY - Static variable in class jcurzez.BoxDrawing
 
LEFT_LIGHT_AND_RIGHT_UP_HEAVY - Static variable in class jcurzez.BoxDrawing
 
LEFT_LIGHT_AND_RIGHT_VERTICAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
LEFT_UP_HEAVY_AND_RIGHT_DOWN_LIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_ARC_DOWN_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_ARC_DOWN_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_ARC_UP_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_ARC_UP_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DIAGONAL_CROSS - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DIAGONAL_UPPER_LEFT_TO_LOWER_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DIAGONAL_UPPER_RIGHT_TO_LOWER_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DOUBLE_DASH_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DOUBLE_DASH_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DOWN - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DOWN_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DOWN_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_DOWN_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_LEFT_AND_HEAVY_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_QUADRUPLE_DASH_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_QUADRUPLE_DASH_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_TRIPLE_DASH_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_TRIPLE_DASH_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_UP - Static variable in class jcurzez.BoxDrawing
 
LIGHT_UP_AND_HEAVY_DOWN - Static variable in class jcurzez.BoxDrawing
 
LIGHT_UP_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_UP_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_UP_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_VERTICAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_VERTICAL_AND_HORIZONTAL - Static variable in class jcurzez.BoxDrawing
 
LIGHT_VERTICAL_AND_LEFT - Static variable in class jcurzez.BoxDrawing
 
LIGHT_VERTICAL_AND_RIGHT - Static variable in class jcurzez.BoxDrawing
 
lines - Variable in class jcurzez.peer.NullScreenPeer
Lines of the previous peer.
lines - Variable in class jcurzez.peer.ansi.PeerScreen
Number of lines the screen has.
linewrap - Variable in class jcurzez.AbstractWindow
Indicates if lines are wrapped.

M

MAGENTA - Static variable in class jcurzez.ForegroundColor
The foreground color magenta.
MAGENTA - Static variable in class jcurzez.BackgroundColor
The background color magenta.
MAGENTA - Static variable in class jcurzez.peer.win.PeerScreen
 
main(String[]) - Static method in class jcurzez.test.PrintOnStdStreams
 
main(String[]) - Static method in class jcurzez.test.Box
 
main(String[]) - Static method in class jcurzez.test.Colors
 
main(String[]) - Static method in class jcurzez.test.Termination
The entry point.
main(String[]) - Static method in class jcurzez.test.ThreadSafety
Test thread safety by having multiple threads write on the screen.
main(String[]) - Static method in class jcurzez.test.ScreenMain
Runs the Test program using the Screen object.

N

name - Variable in class jcurzez.Color
Name of this color.
nextId - Static variable in class jcurzez.AbstractWindow
Counter for next available window number.
NO_COLORS - Static variable in class jcurzez.peer.curses.PeerScreen
 
NORMAL - Static variable in class jcurzez.Cursor
Cursor is visible.
NORMAL - Static variable in class jcurzez.Attribute
NORMAL attribute.
NULL_CELL - Static variable in class jcurzez.Cell
Singleton null cell object.
NullScreenPeer - class jcurzez.peer.NullScreenPeer.
This class is needed because when the Jcurses's shutdown hook is called, there may be other threads that are still using Screen.
NullScreenPeer(int, int) - Constructor for class jcurzez.peer.NullScreenPeer
Creates a new .

P

parent - Variable in class jcurzez.AbstractWindow
Parent window.
peer - Static variable in class jcurzez.Screen
The peer implementation.
peerLock - Static variable in class jcurzez.Screen
The lock on the peer.
PeerScreen - class jcurzez.peer.ansi.PeerScreen.
This is the ansi implementation of jcurzez.
PeerScreen - class jcurzez.peer.curses.PeerScreen.
The curses implementation of Jcurzez.
PeerScreen - class jcurzez.peer.win.PeerScreen.
The win implementation of jcurzez.
PeerScreen() - Constructor for class jcurzez.peer.ansi.PeerScreen
Constructs a new ANSI PeerScreen.
PeerScreen() - Constructor for class jcurzez.peer.curses.PeerScreen
 
PeerScreen() - Constructor for class jcurzez.peer.win.PeerScreen
 
Pen - class jcurzez.Pen.
A Pen contains three attributes: a foreground color a background color an attribute
Pen() - Constructor for class jcurzez.Pen
Creates a new pen with defaults values for foreground color, background color and attribute.
Pen(ForegroundColor, BackgroundColor, Attribute) - Constructor for class jcurzez.Pen
Creates a new pen with specified foreground, background and attribute.
previousCell - Variable in class jcurzez.peer.ansi.PeerScreen
To optimize, we keep the last cell.
previousErr - Static variable in class jcurzez.Screen
Previous object for stderr.
previousOut - Static variable in class jcurzez.Screen
Previous object for stdout.
previousX - Variable in class jcurzez.peer.ansi.PeerScreen
To optimize cursor motion, we store previous cursor position.
previousY - Variable in class jcurzez.peer.ansi.PeerScreen
To optimize cursor motion, we store previous cursor position.
printCell(int, int, Cell) - Method in class jcurzez.Area
Invokes parent's printCell method.
printCell(int, int, Cell) - Method in class jcurzez.Screen
Delegates call to Screen.peer.
printCell(int, int, Cell) - Method in class jcurzez.AbstractWindow
Prints a cell on the physical screen at absolute position (x, y).
printCell(int, int, Cell) - Method in class jcurzez.peer.NullScreenPeer
Does nothing.
printCell(int, int, Cell) - Method in interface jcurzez.peer.ScreenPeer
Prints the cell cell on the physical screen at specified position.
printCell(int, int, Cell) - Method in class jcurzez.peer.ansi.PeerScreen
 
printCell(int, int, Cell) - Method in class jcurzez.peer.curses.PeerScreen
 
printCell(int, int, Cell) - Method in class jcurzez.peer.win.PeerScreen
 
printChar(int) - Method in class jcurzez.AbstractWindow
Prints specified character c at current position, using the drawing pen.
PrintOnStdStreams - class jcurzez.test.PrintOnStdStreams.
Tests that System.out and System.err still work as they should.
PrintOnStdStreams() - Constructor for class jcurzez.test.PrintOnStdStreams
 
printString(String) - Method in class jcurzez.AbstractWindow
Prints specified String text at current position, using the drawing pen.

R

realColor - Variable in class jcurzez.Color
The real color object.
rectangle - Variable in class jcurzez.Cursor
The rectangle this cursor is attached to.
Rectangle - class jcurzez.Rectangle.
A rectangle is defined by its bounds (Rectangle.top, Rectangle.left, Rectangle.right, Rectangle.bottom) a background pen, and a drawing pen.
Rectangle(int, int, int, int) - Constructor for class jcurzez.Rectangle
Creates a new Rectangle with the specified bounds, and a default pen for drawing and filling.
Rectangle(int, int, int, int, Pen) - Constructor for class jcurzez.Rectangle
Creates a new Rectangle with the specified bounds, specified pen fo filling, and a default pen for drawing.
Rectangle(int, int, int, int, Pen, Pen) - Constructor for class jcurzez.Rectangle
Creates a new Rectangle with the specified bounds, and specified background color.
red - Variable in class jcurzez.peer.curses.CursesColor
Red component of this CursesColor.
RED - Static variable in class jcurzez.ForegroundColor
The foreground color red.
RED - Static variable in class jcurzez.BackgroundColor
The background color red.
RED - Static variable in class jcurzez.peer.win.PeerScreen
 
refresh() - Method in class jcurzez.AbstractWindow
Redraws the window.
removeExtraChars(String) - Method in class jcurzez.AbstractWindow
Remove extra chars from text.
REVERSE - Static variable in class jcurzez.Attribute
REVERSE attribute.
right - Variable in class jcurzez.Rectangle
right coordinate of this rectangle.
RIGHT_DOWN_HEAVY_AND_LEFT_UP_LIGHT - Static variable in class jcurzez.BoxDrawing
 
RIGHT_HEAVY_AND_LEFT_DOWN_LIGHT - Static variable in class jcurzez.BoxDrawing
 
RIGHT_HEAVY_AND_LEFT_UP_LIGHT - Static variable in class jcurzez.BoxDrawing
 
RIGHT_HEAVY_AND_LEFT_VERTICAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
RIGHT_LIGHT_AND_LEFT_DOWN_HEAVY - Static variable in class jcurzez.BoxDrawing
 
RIGHT_LIGHT_AND_LEFT_UP_HEAVY - Static variable in class jcurzez.BoxDrawing
 
RIGHT_LIGHT_AND_LEFT_VERTICAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
RIGHT_UP_HEAVY_AND_LEFT_DOWN_LIGHT - Static variable in class jcurzez.BoxDrawing
 
run() - Method in class jcurzez.Screen.CursesHook
 
run() - Method in class jcurzez.test.ThreadSafety.ClockThread
 

S

screen - Variable in class jcurzez.io.JcurzezOutputStream
The screen where to send characters.
screen - Static variable in class jcurzez.test.ThreadSafety
The screen.
Screen - class jcurzez.Screen.
This class inherits features from AbstractWindow, and internally uses a peer component so that it is a concrete class.
SCREEN - Static variable in class jcurzez.Screen
The one and only screen.
Screen.CursesHook - class jcurzez.Screen.CursesHook.
 
Screen.CursesHook() - Constructor for class jcurzez.Screen.CursesHook
 
Screen() - Constructor for class jcurzez.Screen
Constructs a new Screen.
screenLinewrap - Static variable in class jcurzez.Screen
true if the screen has the linewrap feature.
ScreenMain - class jcurzez.test.ScreenMain.
Tests the screen object.
ScreenMain() - Constructor for class jcurzez.test.ScreenMain
 
ScreenPeer - interface jcurzez.peer.ScreenPeer.
This interface consists in few methods that a peer class must implement to provide jcurzez a Screen.
screenScroll - Static variable in class jcurzez.Screen
true if the screen has the scroll feature.
scroll - Variable in class jcurzez.AbstractWindow
Would the window automatically scroll if needed ?
setAttribute(Attribute) - Method in class jcurzez.Pen
Changes the attribute.
setAttribute(Attribute) - Method in class jcurzez.FillingPen
Modifies FillingPen.blankCell.
setBackgroundColor(BackgroundColor) - Method in class jcurzez.Pen
Changes the background color.
setBackgroundColor(BackgroundColor) - Method in class jcurzez.FillingPen
Modifies FillingPen.blankCell.
setCursorVisibility(int) - Method in class jcurzez.Screen
Delegates call to Screen.peer.
setCursorVisibility(int) - Method in class jcurzez.Cursor
Changes cursor visibility.
setCursorVisibility(int) - Method in class jcurzez.peer.NullScreenPeer
 
setCursorVisibility(int) - Method in interface jcurzez.peer.ScreenPeer
Changes the way cursor is displayed.
setCursorVisibility(int) - Method in class jcurzez.peer.ansi.PeerScreen
Does nothing for the ansi implementation.
setCursorVisibility(int) - Method in class jcurzez.peer.curses.PeerScreen
 
setCursorVisibility(int) - Method in class jcurzez.peer.win.PeerScreen
 
setForegroundColor(ForegroundColor) - Method in class jcurzez.Pen
Changes the foreground color.
setForegroundColor(ForegroundColor) - Method in class jcurzez.FillingPen
Modifies FillingPen.blankCell.
setRealColor(Object) - Method in class jcurzez.Color
Modifies the real color.
setX(int) - Method in class jcurzez.Cursor
Changes the current X coordinate of the cursor.
setXY(int, int) - Method in class jcurzez.Cursor
Changes both the current X and current Y coordinates of the cursor.
setY(int) - Method in class jcurzez.Cursor
Changes the current Y coordinate of the cursor.
STANDOUT - Static variable in class jcurzez.Attribute
STANDOUT attribute.
START_COLOR_ERR - Static variable in class jcurzez.peer.curses.PeerScreen
 

T

t1 - Variable in class jcurzez.test.ThreadSafety.ClockThread
 
tabSize - Static variable in class jcurzez.AbstractWindow
Tabulation size: defaults to 8.
Termination - class jcurzez.test.Termination.
This is a simple forever loop that allows testing of the shutdown hook.
Termination() - Constructor for class jcurzez.test.Termination
 
Test - class jcurzez.test.Test.
This class is a generic test for peer implementations.
Test(AbstractWindow, long) - Constructor for class jcurzez.test.Test
 
text - Variable in class jcurzez.peer.ansi.PeerScreen
Current representation of the content of the screen.
threads - Static variable in class jcurzez.test.ThreadSafety
The thread group that owns all the threads this test will create.
ThreadSafety - class jcurzez.test.ThreadSafety.
A little test program to test Jcurzez thread safety.
ThreadSafety.ClockThread - class jcurzez.test.ThreadSafety.ClockThread.
Writes time at position x, y
ThreadSafety.ClockThread(int, int) - Constructor for class jcurzez.test.ThreadSafety.ClockThread
 
ThreadSafety() - Constructor for class jcurzez.test.ThreadSafety
 
top - Variable in class jcurzez.Rectangle
top coordinate of this rectangle.
toString() - Method in class jcurzez.Rectangle
Returns a representation of this.
toString() - Method in class jcurzez.Pen
Returns a string representation of this.
toString() - Method in class jcurzez.Color
Returns the name of this color.
toString() - Method in class jcurzez.Cell
Returns a string representation of this, in the following form: [ foregorund on background, attribute ].
toString() - Method in class jcurzez.Attribute
Returns a string representation of this, in the form [ bold underline ].
toString() - Method in class jcurzez.AbstractWindow
Returns a string representation of this.
toString() - Method in class jcurzez.peer.curses.CursesColor
Returns a string representation of this CursesColor, i.e. the intensity of red, green and blue.
touch() - Method in class jcurzez.AbstractWindow
Marks all characters as changed so that the next call to AbstractWindow.refresh() will have the whole window redisplayed.

U

UNDERLINE - Static variable in class jcurzez.Attribute
UNDERLINE attribute.
UP_DOUBLE_AND_HORIZONTAL_SINGLE - Static variable in class jcurzez.BoxDrawing
 
UP_DOUBLE_AND_LEFT_SINGLE - Static variable in class jcurzez.BoxDrawing
 
UP_DOUBLE_AND_RIGHT_SINGLE - Static variable in class jcurzez.BoxDrawing
 
UP_HEAVY_AND_DOWN_HORIZONTAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
UP_HEAVY_AND_HORIZONTAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
UP_HEAVY_AND_LEFT_DOWN_LIGHT - Static variable in class jcurzez.BoxDrawing
 
UP_HEAVY_AND_LEFT_LIGHT - Static variable in class jcurzez.BoxDrawing
 
UP_HEAVY_AND_RIGHT_DOWN_LIGHT - Static variable in class jcurzez.BoxDrawing
 
UP_HEAVY_AND_RIGHT_LIGHT - Static variable in class jcurzez.BoxDrawing
 
UP_LIGHT_AND_DOWN_HORIZONTAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
UP_LIGHT_AND_HORIZONTAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
UP_LIGHT_AND_LEFT_DOWN_HEAVY - Static variable in class jcurzez.BoxDrawing
 
UP_LIGHT_AND_LEFT_HEAVY - Static variable in class jcurzez.BoxDrawing
 
UP_LIGHT_AND_RIGHT_DOWN_HEAVY - Static variable in class jcurzez.BoxDrawing
 
UP_LIGHT_AND_RIGHT_HEAVY - Static variable in class jcurzez.BoxDrawing
 
UP_SINGLE_AND_HORIZONTAL_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
UP_SINGLE_AND_LEFT_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
UP_SINGLE_AND_RIGHT_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
update() - Method in class jcurzez.Area
Updates the area.
update() - Method in class jcurzez.Screen
Delegates call to Screen.peer.
update() - Method in class jcurzez.AbstractWindow
Updates the physical screen.
update() - Method in class jcurzez.peer.NullScreenPeer
Does nothing.
update() - Method in interface jcurzez.peer.ScreenPeer
Updates the physical screen.
update() - Method in class jcurzez.peer.ansi.PeerScreen
 
update() - Method in class jcurzez.peer.curses.PeerScreen
 
update() - Method in class jcurzez.peer.win.PeerScreen
 

V

value - Variable in class jcurzez.Attribute
The value of the attribute.
VERTICAL_DOUBLE_AND_HORIZONTAL_SINGLE - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_DOUBLE_AND_LEFT_SINGLE - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_DOUBLE_AND_RIGHT_SINGLE - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_HEAVY_AND_HORIZONTAL_LIGHT - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_HEAVY_AND_LEFT_LIGHT_ - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_HEAVY_AND_RIGHT_LIGHT_ - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_LIGHT_AND_HORIZONTAL_HEAVY - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_LIGHT_AND_LEFT_HEAVY - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_LIGHT_AND_RIGHT_HEAVY_ - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_SINGLE_AND_HORIZONTAL_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_SINGLE_AND_LEFT_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
VERTICAL_SINGLE_AND_RIGHT_DOUBLE - Static variable in class jcurzez.BoxDrawing
 
VERY_VISIBLE - Static variable in class jcurzez.Cursor
Cursor is very visible.
visibility - Variable in class jcurzez.Cursor
visibility of the cursor.

W

WHITE - Static variable in class jcurzez.ForegroundColor
The foreground color white.
WHITE - Static variable in class jcurzez.BackgroundColor
The background color white.
WHITE - Static variable in class jcurzez.peer.win.PeerScreen
 
width - Static variable in class jcurzez.test.ThreadSafety
Width of the screen.
wouldScroll() - Method in class jcurzez.AbstractWindow
Returns true if the window would scroll if needed.
write(int) - Method in class jcurzez.io.JcurzezOutputStream
Write specified character at current position.

X

x - Variable in class jcurzez.Cursor
x coordinate of the cursor.
x - Variable in class jcurzez.test.ThreadSafety.ClockThread
 

Y

y - Variable in class jcurzez.Cursor
y coordinate of the cursor.
y - Variable in class jcurzez.test.ThreadSafety.ClockThread
 
YELLOW - Static variable in class jcurzez.ForegroundColor
The foreground color yellow.
YELLOW - Static variable in class jcurzez.BackgroundColor
The background color yellow.
YELLOW - Static variable in class jcurzez.peer.win.PeerScreen
 

_

_beep() - Static method in class jcurzez.peer.curses.PeerScreen
 
_beep() - Static method in class jcurzez.peer.win.PeerScreen
 
_begin() - Static method in class jcurzez.peer.curses.PeerScreen
 
_begin() - Static method in class jcurzez.peer.win.PeerScreen
 
_clear() - Method in class jcurzez.AbstractWindow
Clears the current window.
_clearToEndOfLine() - Method in class jcurzez.AbstractWindow
Clears the content of the line, starting from current position, using the filling pen for new cells.
_deleteChar() - Method in class jcurzez.AbstractWindow
Deletes char at current position.
_deleteLine() - Method in class jcurzez.AbstractWindow
Deletes the current line.
_end() - Static method in class jcurzez.peer.curses.PeerScreen
 
_end() - Static method in class jcurzez.peer.win.PeerScreen
 
_getColumns() - Static method in class jcurzez.peer.curses.PeerScreen
 
_getColumns() - Static method in class jcurzez.peer.win.PeerScreen
 
_getFirstX() - Static method in class jcurzez.peer.win.PeerScreen
 
_getFirstY() - Static method in class jcurzez.peer.win.PeerScreen
 
_getLines() - Static method in class jcurzez.peer.curses.PeerScreen
 
_getLines() - Static method in class jcurzez.peer.win.PeerScreen
 
_gotoXY(int, int) - Static method in class jcurzez.peer.curses.PeerScreen
 
_gotoXY(int, int) - Static method in class jcurzez.peer.win.PeerScreen
 
_insertChar(int) - Method in class jcurzez.AbstractWindow
Inserts a character at current cursor position, with the filling pen.
_insertLine() - Method in class jcurzez.AbstractWindow
Inserts a blank line at current position, with default pen.
_printCell(int, int, int, short, byte) - Static method in class jcurzez.peer.win.PeerScreen
 
_printCell(int, int, short, short, byte, int) - Static method in class jcurzez.peer.curses.PeerScreen
 
_printChar(int) - Method in class jcurzez.AbstractWindow
Prints specified character c at current position, using the drawing pen.
_setCursorVisibility(int) - Static method in class jcurzez.peer.curses.PeerScreen
 
_setCursorVisibility(int) - Static method in class jcurzez.peer.win.PeerScreen
 
_update() - Static method in class jcurzez.peer.curses.PeerScreen
 
_update() - Static method in class jcurzez.peer.win.PeerScreen
 

A B C D E F G H I J L M N P R S T U V W X Y _

Send me an email