org.millscript.office.excel.records
Class Font

java.lang.Object
  extended by org.millscript.office.excel.Record
      extended by org.millscript.office.excel.records.Font
All Implemented Interfaces:
org.millscript.commons.alert.AlertDecorator

public class Font
extends Record


Nested Class Summary
static class Font.EscapementType
           
static class Font.FontFamily
           
static class Font.UnderlineType
           
 
Constructor Summary
Font(char height, char opt)
           
 
Method Summary
 boolean charactersAreBold()
           
 boolean charactersAreItalic()
           
 boolean charactersAreStruckOut()
           
 boolean charactersAreUnderlined()
           
 void setCharset(java.nio.charset.Charset set)
           
 void setColourIndex(char index)
           
 void setEscapementType(Font.EscapementType type)
           
 void setFontFamily(Font.FontFamily family)
           
 void setFontName(java.lang.String name)
           
 void setFontWeight(char weight)
           
 void setRecommendReadOnlyWhileLoading(boolean readonly)
           
 void setUnderlineType(Font.UnderlineType type)
           
 void setUserNameOfFileCreator(java.lang.String name)
           
 
Methods inherited from class org.millscript.office.excel.Record
decorate, handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Font

public Font(char height,
            char opt)
Method Detail

charactersAreBold

public boolean charactersAreBold()

charactersAreItalic

public boolean charactersAreItalic()

charactersAreStruckOut

public boolean charactersAreStruckOut()

charactersAreUnderlined

public boolean charactersAreUnderlined()

setCharset

public void setCharset(java.nio.charset.Charset set)
Parameters:
set - The charset to set.

setColourIndex

public void setColourIndex(char index)
Parameters:
index - The colourIndex to set.

setEscapementType

public void setEscapementType(Font.EscapementType type)
Parameters:
type - The escapementType to set.

setFontFamily

public void setFontFamily(Font.FontFamily family)
Parameters:
family - The fontFamily to set.

setFontName

public void setFontName(java.lang.String name)
Parameters:
name - The fontName to set.

setFontWeight

public void setFontWeight(char weight)
Parameters:
weight - The fontWeight to set.

setRecommendReadOnlyWhileLoading

public void setRecommendReadOnlyWhileLoading(boolean readonly)
Parameters:
readonly - The recommendReadOnlyWhileLoading to set.

setUnderlineType

public void setUnderlineType(Font.UnderlineType type)
Parameters:
type - The underlineType to set.

setUserNameOfFileCreator

public void setUserNameOfFileCreator(java.lang.String name)
Parameters:
name - The userNameOfFileCreator to set.


Copyright © 2006-2007 Open World Ltd. All Rights Reserved.