javax.swing.text.rtf
Class RTFReader.ColortblDestination

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

class RTFReader.ColortblDestination
extends Object
implements RTFReader.Destination

Reads the colortbl group. Upon end-of-group, the RTFReader's color table is set to an array containing the read colors.


Field Summary
(package private)  int blue
           
(package private)  int green
           
(package private)  Vector proTemTable
           
(package private)  int red
           
 
Constructor Summary
RTFReader.ColortblDestination()
           
 
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

red

int red

green

int green

blue

int blue

proTemTable

Vector proTemTable
Constructor Detail

RTFReader.ColortblDestination

public RTFReader.ColortblDestination()
Method Detail

handleText

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

close

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

handleKeyword

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

handleKeyword

public boolean handleKeyword(String keyword)
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

handleBinaryBlob

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