|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.ecs.Element | +--org.apache.ecs.ElementAttributes | +--org.apache.ecs.SinglePartElement | +--org.apache.ecs.BaseFont
This class creates a <BASEFONT> object.
Fields inherited from class org.apache.ecs.Element |
attribute_filter,
case_type,
codeset,
element,
end_element,
end_modifier,
end_modifier_defined,
filter,
filter_attribute_state,
filter_state,
NO_ATTRIBUTE_VALUE,
start_modifier,
start_modifier_defined,
VERSION |
Constructor Summary | |
BaseFont()
Basic Constructor. |
|
BaseFont(int size)
Deprecated. |
|
BaseFont(int size,
java.lang.String face)
Deprecated. |
|
BaseFont(java.lang.String face)
Deprecated. |
|
BaseFont(java.lang.String color,
int size)
Deprecated. |
|
BaseFont(java.lang.String face,
java.lang.String color)
Deprecated. |
|
BaseFont(java.lang.String face,
java.lang.String color,
int size)
Deprecated. |
Method Summary | |
(package private) void |
Private initializer. |
BaseFont |
setColor(java.lang.String color)
Deprecated. |
BaseFont |
setFace(java.lang.String face)
Deprecated. |
BaseFont |
setSize(int size)
Deprecated. |
BaseFont |
setSize(java.lang.String size)
Deprecated. |
Methods inherited from class org.apache.ecs.SinglePartElement |
output,
output |
Methods inherited from class org.apache.ecs.ElementAttributes |
setClass,
setDir,
setID,
setLang,
setStyle,
setTitle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Constructor Detail |
public BaseFont()
public BaseFont(java.lang.String face)
face
- create new BaseFont object with this face.public BaseFont(java.lang.String face, java.lang.String color)
face
- color
- Create a new BaseFont object with the face abd color already set. Convience colors are defined in HtmlColor interface.public BaseFont(java.lang.String face, java.lang.String color, int size)
face
- color
- size
- Create a new BaseFont object with the face,color and size already set. Convience colors are defined in HtmlColor interface.public BaseFont(int size)
size
- Create a new BaseFont object with the size already set.public BaseFont(int size, java.lang.String face)
size
- face
- Create a new BaseFont object with the size and face already set.public BaseFont(java.lang.String color, int size)
color
- size
- Create a new BaseFont object with the size and color already set.Method Detail |
void()
public BaseFont setFace(java.lang.String face)
face
- sets the FACE="" attribute.public BaseFont setColor(java.lang.String color)
color
- sets the COLOR="" attribute. Convience colors are defined in the HtmlColors interface.public BaseFont setSize(int size)
size
- sets the SIZE="" attribute.public BaseFont setSize(java.lang.String size)
size
- sets the SIZE="" attribute.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |