All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.markup.html.P

java.lang.Object
   |
   +----vnet.markup.Element
           |
           +----vnet.markup.html.P

public class P
extends Element
An HTML paragraph.


Variable Index

 o NAME
The element's name.

Constructor Index

 o P()
Constructs a new, empty paragraph.
 o P(String)
Constructs a new paragraph with the given text.

Method Index

 o addText(char[])
Adds text to the Paragraph.
 o addText(char[], int, int)
Adds text to the Paragraph from a subarray of a character array.
 o addText(String)
Adds text to the Paragraph.

Variables

 o NAME
 public static final String NAME
The element's name.

Constructors

 o P
 public P()
Constructs a new, empty paragraph.

 o P
 public P(String text)
Constructs a new paragraph with the given text.

Parameters:
text - text to be added to the paragraph

Methods

 o addText
 public void addText(String text)
Adds text to the Paragraph.

Parameters:
text - the String to be added.
 o addText
 public void addText(char text[])
Adds text to the Paragraph.

Parameters:
text - the character array to be added.
 o addText
 public void addText(char text[],
                     int offset,
                     int count)
Adds text to the Paragraph from a subarray of a character array.

Parameters:
text - the source character array.
offset - the initial offset
count - the length

All Packages  Class Hierarchy  This Package  Previous  Next  Index