Пример #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));
 }