Class PFormat
java.lang.Object
|
+----PFormat
- public class PFormat
- extends Object
The class PFormat is used to store formatting information
of words. The information is stored as boolean.
Formats are: heading (HTML: H1 -H6)
highlight (HTML: italics, bold, underline)
title (HTML: title)
- Author:
- Gregor Panzer
qversion 0.3
-
PFormat()
- The constructor initializes the variables.
-
PFormat(PFormat)
-
-
clearHeading()
- This method should be used if the heading ends.
-
clearHighlight()
- This method should be used if the highlight ends.
-
clearTitle()
- This method should be used if the title ends.
-
isHeading()
- This method returns true if format is heading.
-
isHighlight()
- This method returns true if format is highlight.
-
isTitle()
- This method returns true if format is title.
-
setHeading()
- This method should be used if format is heading.
-
setHighlight()
- This method should be used if format is highlight.
-
setTitle()
- This method should be used if format is title.
-
testausgabe()
-
PFormat
public PFormat()
- The constructor initializes the variables.
PFormat
public PFormat(PFormat format)
isHeading
public boolean isHeading()
- This method returns true if format is heading.
isHighlight
public boolean isHighlight()
- This method returns true if format is highlight.
isTitle
public boolean isTitle()
- This method returns true if format is title.
setHeading
public void setHeading()
- This method should be used if format is heading.
setHighlight
public void setHighlight()
- This method should be used if format is highlight.
setTitle
public void setTitle()
- This method should be used if format is title.
clearHeading
public void clearHeading()
- This method should be used if the heading ends.
clearHighlight
public void clearHighlight()
- This method should be used if the highlight ends.
clearTitle
public void clearTitle()
- This method should be used if the title ends.
testausgabe
public String testausgabe()