예제 #1
0
 /** Returns the value */
 public String getStyle() {
   if (face != null) {
     return face.getStyle();
   }
   return null;
 }
예제 #2
0
 /** Returns a string representation of the object. */
 public String toString() {
   if (face != null) {
     return face.toString();
   }
   return "";
 }
예제 #3
0
 /**
  * Compares two properties for equality.
  *
  * @param value The other property.
  */
 public boolean equals(CssProperty property) {
   return (property instanceof CssBorderTopStyle
       && face.equals(((CssBorderTopStyle) property).face));
 }