rdonkin 01/06/03 02:45:11
Modified: src/java/org/apache/ecs/wml P.java
Log:
Added align type constructor
Revision Changes Path
1.2 +13 -0 jakarta-ecs/src/java/org/apache/ecs/wml/P.java
Index: P.java
===================================================================
RCS file: /home/cvs/jakarta-ecs/src/java/org/apache/ecs/wml/P.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- P.java 2000/02/16 18:12:11 1.1
+++ P.java 2001/06/03 09:45:11 1.2
@@ -73,6 +73,19 @@
// setBeginEndModifier('/');
}
+
+ /**
+ Constructor sets the alignType attribute.
+ Use the set* methods to set the other values
+ of the attributes.
+ @param alignType the align="" attribute
+ */
+ public P(Alignment alignType)
+ {
+ this();
+ setAlignment(alignType);
+ }
+
/**
Use the set* methods to set the values
of the attributes.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]