| org.netbeans.editor.PrintContainer
PrintContainer | public interface PrintContainer (Code) | | Container for printed text. The parts of text attributed by font, fore and
back color are added to it for the whole printed area.
author: Miloslav Metelka version: 1.00 |
Method Summary | |
public void | add(char[] chars, Font font, Color foreColor, Color backColor) Add the attributed characters to the container. | public void | eol() End of line was found. | public boolean | initEmptyLines() true if the container needs to init empty line with at least onecharacter. |
add | public void add(char[] chars, Font font, Color foreColor, Color backColor)(Code) | | Add the attributed characters to the container.
Parameters: chars - characters being added. Parameters: font - font of the added characters Parameters: foreColor - foreground color of the added characters Parameters: backColor - background color of the added characters |
eol | public void eol()(Code) | | End of line was found.
|
initEmptyLines | public boolean initEmptyLines()(Code) | | true if the container needs to init empty line with at least onecharacter. Printing then adds one space to each empty line. Falsemeans that the container is able to accept lines with nocharacters. |
|
|