com.yworks.yfiles.server.graphml.flexio.compat
Class Font

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.compat.Font

public class Font
extends java.lang.Object

Compatibility class for the yFiles FLEX GraphML format.

This class represents a Font


Constructor Summary
Font()
           
 
Method Summary
 java.lang.String getFamily()
          Returns the font family name.
 int getPoints()
          Returns the font's point size.
 boolean isBold()
          Returns whether the font is bold.
 boolean isItalic()
          Returns whether the font is italic.
 boolean isUnderline()
          Returns whether the font is underlined.
 void setBold(boolean bold)
          Sets whether the font is bold.
 void setFamily(java.lang.String family)
          Sets the font family name.
 void setItalic(boolean italic)
          Sets whether the font is italic.
 void setPoints(int points)
          Sets the font's point size.
 void setUnderline(boolean underline)
          Sets whether the font is underlined.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Font

public Font()
Method Detail

getFamily

public java.lang.String getFamily()
Returns the font family name.


setFamily

public void setFamily(java.lang.String family)
Sets the font family name.


getPoints

public int getPoints()
Returns the font's point size.


setPoints

public void setPoints(int points)
Sets the font's point size.


isBold

public boolean isBold()
Returns whether the font is bold.


setBold

public void setBold(boolean bold)
Sets whether the font is bold.


isItalic

public boolean isItalic()
Returns whether the font is italic.


setItalic

public void setItalic(boolean italic)
Sets whether the font is italic.


isUnderline

public boolean isUnderline()
Returns whether the font is underlined.


setUnderline

public void setUnderline(boolean underline)
Sets whether the font is underlined.



Copyright © 2000-2013 yWorks GmbH. All rights reserved