Example #1
0
 /**
  * Returns whether this component is strikethrough. This uses the parent's setting if this
  * component hasn't been set. false is returned if none of the parent chain has been set.
  *
  * @return whether the component is strikethrough
  */
 public boolean isStrikethrough() {
   if (strikethrough == null) {
     return parent != null && parent.isStrikethrough();
   }
   return strikethrough;
 }