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.
-
NAME
- The element's name.
-
P()
- Constructs a new, empty paragraph.
-
P(String)
- Constructs a new paragraph with the given text.
-
addText(char[])
- Adds text to the Paragraph.
-
addText(char[], int, int)
- Adds text to the Paragraph from a subarray of a character array.
-
addText(String)
- Adds text to the Paragraph.
NAME
public static final String NAME
- The element's name.
P
public P()
- Constructs a new, empty paragraph.
P
public P(String text)
- Constructs a new paragraph with the given text.
- Parameters:
- text - text to be added to the paragraph
addText
public void addText(String text)
- Adds text to the Paragraph.
- Parameters:
- text - the String to be added.
addText
public void addText(char text[])
- Adds text to the Paragraph.
- Parameters:
- text - the character array to be added.
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