|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.text.HtmlTags
Utiltity class for creating html tags.
| Field Summary | |
static java.lang.String |
_B
The following constants define a bunch of available html tags. |
static java.lang.String |
_BLOCKQUOTE
The following constants define a bunch of available html tags. |
static java.lang.String |
_BODY
The following constants define a bunch of available html tags. |
static java.lang.String |
_FONT
The following constants define a bunch of available html tags. |
static java.lang.String |
_HEAD
The following constants define a bunch of available html tags. |
static java.lang.String |
_HEADER1
The following constants define a bunch of available html tags. |
static java.lang.String |
_HTML
The following constants define a bunch of available html tags. |
static java.lang.String |
_I
The following constants define a bunch of available html tags. |
static java.lang.String |
_P
The following constants define a bunch of available html tags. |
static java.lang.String |
_TITLE
The following constants define a bunch of available html tags. |
static java.lang.String |
B
The following constants define a bunch of available html tags. |
static java.lang.String |
BLOCKQUOTE
The following constants define a bunch of available html tags. |
static java.lang.String |
BODY
The following constants define a bunch of available html tags. |
static java.lang.String |
FONT
The following constants define a bunch of available html tags. |
static java.lang.String |
FONTSIZE
The following constants define a bunch of available html tags. |
static java.lang.String |
HEAD
The following constants define a bunch of available html tags. |
static java.lang.String |
HEADER1
The following constants define a bunch of available html tags. |
static java.lang.String |
HTML
The following constants define a bunch of available html tags. |
static java.lang.String |
I
The following constants define a bunch of available html tags. |
static java.lang.String |
P
The following constants define a bunch of available html tags. |
static java.lang.String |
PALIGN_CENTER
The following constants define a bunch of available html tags. |
static java.lang.String |
PALIGN_JUSTIFY
The following constants define a bunch of available html tags. |
static java.lang.String |
PALIGN_LEFT
The following constants define a bunch of available html tags. |
static java.lang.String |
PALIGN_RIGHT
The following constants define a bunch of available html tags. |
static java.lang.String |
TITLE
The following constants define a bunch of available html tags. |
| Method Summary | |
static boolean |
compareFormat(FontFormat fontLeft,
FontFormat fontRight)
Method compareFormat compares two FontFormats by their canonical description and returns true if they are equal, otherwise false. |
static java.lang.String |
getFontTag(java.lang.String family,
int size)
Returns a complete font tag based on given family name and size. |
static java.lang.String |
getParagraphTag(java.lang.String alignment)
Returns the Paragraph tag with the given alignment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String HTML
public static final java.lang.String _HTML
public static final java.lang.String HEAD
public static final java.lang.String _HEAD
public static final java.lang.String TITLE
public static final java.lang.String _TITLE
public static final java.lang.String BODY
public static final java.lang.String _BODY
public static final java.lang.String P
public static final java.lang.String _P
public static final java.lang.String BLOCKQUOTE
public static final java.lang.String _BLOCKQUOTE
public static final java.lang.String B
public static final java.lang.String _B
public static final java.lang.String I
public static final java.lang.String _I
public static final java.lang.String FONT
public static final java.lang.String _FONT
public static final java.lang.String FONTSIZE
public static final java.lang.String HEADER1
public static final java.lang.String _HEADER1
public static final java.lang.String PALIGN_LEFT
public static final java.lang.String PALIGN_CENTER
public static final java.lang.String PALIGN_RIGHT
public static final java.lang.String PALIGN_JUSTIFY
| Method Detail |
public static final java.lang.String getFontTag(java.lang.String family,
int size)
family - the font family as Stringsize - the size of the font
public static final java.lang.String getParagraphTag(java.lang.String alignment)
alignment - the Paragraph alignment as string.
public static final boolean compareFormat(FontFormat fontLeft,
FontFormat fontRight)
fontLeft - first FormatfontRight - second Format
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||