net.sf.mpxj.mpp
Class FontBase

java.lang.Object
  extended by net.sf.mpxj.mpp.FontBase

public class FontBase
extends Object

The standard font definitions used by MS Project are split into two parts, the base fonr (i.e. the name and the size) and the styles applied to that font. This class represents the base font information.


Constructor Summary
FontBase(Integer index, String name, int size)
          Constructor.
 
Method Summary
 Integer getIndex()
          Retrieve the index number associated with this base font.
 String getName()
          Retrieve the font name.
 int getSize()
          Retrieve the font size.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FontBase

public FontBase(Integer index,
                String name,
                int size)
Constructor.

Parameters:
index - index number for this font
name - font name
size - font size
Method Detail

getName

public String getName()
Retrieve the font name.

Returns:
font name

getSize

public int getSize()
Retrieve the font size.

Returns:
font size

getIndex

public Integer getIndex()
Retrieve the index number associated with this base font.

Returns:
index number

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.