javax.swing.text.rtf
Class RTFReader.FonttblDestination

java.lang.Object
  extended byjavax.swing.text.rtf.RTFReader.FonttblDestination
All Implemented Interfaces:
RTFReader.Destination
Enclosing class:
RTFReader

class RTFReader.FonttblDestination
extends Object
implements RTFReader.Destination

Reads the fonttbl group, inserting fonts into the RTFReader's fontTable dictionary.


Field Summary
(package private)  String nextFontFamily
           
(package private)  int nextFontNumber
           
 
Constructor Summary
(package private) RTFReader.FonttblDestination()
           
 
Method Summary
 void begingroup()
           
 void close()
           
 void endgroup(Dictionary oldState)
           
 void handleBinaryBlob(byte[] data)
           
 boolean handleKeyword(String keyword)
           
 boolean handleKeyword(String keyword, int parameter)
           
 void handleText(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextFontNumber

int nextFontNumber

nextFontFamily

String nextFontFamily
Constructor Detail

RTFReader.FonttblDestination

RTFReader.FonttblDestination()
Method Detail

handleBinaryBlob

public void handleBinaryBlob(byte[] data)
Specified by:
handleBinaryBlob in interface RTFReader.Destination

handleText

public void handleText(String text)
Specified by:
handleText in interface RTFReader.Destination

handleKeyword

public boolean handleKeyword(String keyword)
Specified by:
handleKeyword in interface RTFReader.Destination

handleKeyword

public boolean handleKeyword(String keyword,
                             int parameter)
Specified by:
handleKeyword in interface RTFReader.Destination

begingroup

public void begingroup()
Specified by:
begingroup in interface RTFReader.Destination

endgroup

public void endgroup(Dictionary oldState)
Specified by:
endgroup in interface RTFReader.Destination

close

public void close()
Specified by:
close in interface RTFReader.Destination