org.netbeans.modules.editor.lib/3 3.23.0 19

org.netbeans.editor
Interface PrintContainer


public interface PrintContainer

Container for printed text. The parts of text attributed by font, fore and back color are added to it for the whole printed area.


Method Summary
 void add(char[] chars, Font font, Color foreColor, Color backColor)
          Add the attributed characters to the container.
 void eol()
          End of line was found.
 boolean initEmptyLines()
           
 

Method Detail

add

void add(char[] chars,
         Font font,
         Color foreColor,
         Color backColor)
Add the attributed characters to the container.

Parameters:
chars - characters being added.
font - font of the added characters
foreColor - foreground color of the added characters
backColor - background color of the added characters

eol

void eol()
End of line was found.


initEmptyLines

boolean initEmptyLines()
Returns:
true if the container needs to init empty line with at least one character. Printing then adds one space to each empty line. False means that the container is able to accept lines with no characters.

org.netbeans.modules.editor.lib/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.