|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.grahamedgecombe.jterminal.TerminalCell
public class TerminalCell
Represents a single terminal cell which contains a character, background color and foreground color.
| Constructor Summary | |
|---|---|
TerminalCell(char character,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor)
Creates a terminal cell with the specified character, background color and foreground color. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getBackgroundColor()
Gets the background color. |
char |
getCharacter()
Gets the character. |
java.awt.Color |
getForegroundColor()
Gets the foreground color. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TerminalCell(char character,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor)
character - The character.backgroundColor - The background color.foregroundColor - The foreground color.
java.lang.NullPointerException - if the background or foreground color(s)
are null.| Method Detail |
|---|
public char getCharacter()
public java.awt.Color getBackgroundColor()
public java.awt.Color getForegroundColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||