/**
  * Diagram font name.
  *
  * <p>
  *
  * @return diagram font name.
  */
 public String getFontName() {
   if (fontName == null) {
     if (parent != null) {
       return parent.getFontName();
     } else {
       return "Dialog";
     }
   }
   return fontName;
 }
 /**
  * Diagram font size.
  *
  * <p>
  *
  * @return diagram font size.
  */
 public int getFontSize() {
   if (fontSize == null) {
     if (parent != null) {
       return parent.getFontSize();
     } else {
       return 10;
     }
   }
   return fontSize;
 }
 /** @return Returns the default stereotype view TODO: Enumeration here? */
 public StereotypeStyle getDefaultStereotypeView() {
   if (defaultStereotypeView == null) {
     if (parent != null) {
       return parent.getDefaultStereotypeView();
     } else {
       return StereotypeStyle.TEXTUAL;
     }
   }
   return defaultStereotypeView;
 }
 /** @return Returns the shadow width. */
 public int getDefaultShadowWidth() {
   if (defaultShadowWidth == null) {
     if (parent != null) {
       return parent.getDefaultShadowWidth();
     } else {
       return 0;
     }
   }
   return defaultShadowWidth;
 }
 /**
  * @return Returns <code>true</code> if we show the arrows when both association ends of an
  *     association are navigable.
  */
 public boolean isShowBidirectionalArrows() {
   if (showBidirectionalArrows == null) {
     if (parent != null) {
       return parent.isShowBidirectionalArrows();
     } else {
       return false;
     }
   }
   return showBidirectionalArrows;
 }
 /** @return Returns <code>true</code> if we show bold names. */
 public boolean isShowBoldNames() {
   if (showBoldNames == null) {
     if (parent != null) {
       return parent.isShowBoldNames();
     } else {
       return false;
     }
   }
   return showBoldNames;
 }
 /**
  * Construct a DiagramSettings object which inherits from the given parent settings (e.g. project
  * default diagram settings).
  *
  * @param parentSettings settings to inherit from if default values aren't overridden.
  */
 public DiagramSettings(DiagramSettings parentSettings) {
   super();
   parent = parentSettings;
   if (parentSettings == null) {
     notationSettings = new NotationSettings();
   } else {
     notationSettings = new NotationSettings(parent.getNotationSettings());
   }
   recomputeFonts();
 }
 /**
  * Returns the Bold-Italic diagram font which corresponds to selected parameters.
  *
  * @return bold-italic diagram font
  */
 public Font getFontBoldItalic() {
   if (fontBoldItalic == null) {
     return parent.getFontBoldItalic();
   }
   return fontBoldItalic;
 }
 /**
  * Returns the Bold diagram font which corresponds to selected parameters.
  *
  * @return bold diagram font
  */
 public Font getFontBold() {
   if (fontBold == null) {
     return parent.getFontBold();
   }
   return fontBold;
 }
 /**
  * Returns the Plain diagram font which corresponds to selected parameters.
  *
  * @return plain diagram font
  */
 public Font getFontPlain() {
   if (fontPlain == null) {
     return parent.getFontPlain();
   }
   return fontPlain;
 }