FreeHEP API
Version current

org.freehep.graphicsio.swf
Class DefineFontInfo

java.lang.Object
  extended byorg.freehep.util.io.Tag
      extended byorg.freehep.graphicsio.swf.SWFTag
          extended byorg.freehep.graphicsio.swf.DefinitionTag
              extended byorg.freehep.graphicsio.swf.DefineFontInfo
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
DefineFontInfo2

public class DefineFontInfo
extends DefinitionTag

DefineFontInfo TAG.

Version:
$Id: DefineFontInfo.java,v 1.4 2003/04/25 23:12:51 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
DefineFontInfo.java

Field Summary
protected  boolean ansi
           
protected  boolean bold
           
protected  int[] codes
           
protected  int fontID
           
protected  boolean italic
           
protected  String name
           
protected  boolean shiftJIS
           
protected  boolean wideCodes
           
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Fields inherited from interface org.freehep.graphicsio.swf.SWFConstants
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
 
Constructor Summary
  DefineFontInfo()
           
protected DefineFontInfo(int code, int version)
           
  DefineFontInfo(int fontID, String name, boolean shiftJIS, boolean ansi, boolean italic, boolean bold, boolean wideCodes, int[] codes)
           
 
Method Summary
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
 String toString()
           
 void write(int tagID, SWFOutputStream swf)
           
 
Methods inherited from class org.freehep.graphicsio.swf.DefinitionTag
getTagType
 
Methods inherited from class org.freehep.graphicsio.swf.SWFTag
read, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fontID

protected int fontID

name

protected String name

shiftJIS

protected boolean shiftJIS

ansi

protected boolean ansi

italic

protected boolean italic

bold

protected boolean bold

wideCodes

protected boolean wideCodes

codes

protected int[] codes
Constructor Detail

DefineFontInfo

public DefineFontInfo(int fontID,
                      String name,
                      boolean shiftJIS,
                      boolean ansi,
                      boolean italic,
                      boolean bold,
                      boolean wideCodes,
                      int[] codes)

DefineFontInfo

public DefineFontInfo()

DefineFontInfo

protected DefineFontInfo(int code,
                         int version)
Method Detail

read

public SWFTag read(int tagID,
                   SWFInputStream swf,
                   int len)
            throws IOException
Specified by:
read in class SWFTag
Throws:
IOException

write

public void write(int tagID,
                  SWFOutputStream swf)
           throws IOException
Overrides:
write in class SWFTag
Throws:
IOException

toString

public String toString()
Overrides:
toString in class DefinitionTag

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.