|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object
|
+--javax.swing.text.EditorKit
|
+--javax.swing.text.DefaultEditorKit
|
+--javax.swing.text.StyledEditorKit
|
+--javax.swing.text.rtf.RTFEditorKit
RTF ÆíÁý ±â´ÉÀÇ µðÆúÆ®ÀÇ ±¸ÇöÀÔ´Ï´Ù. RTF ¼Æ÷Æ®´Â Swing ÆÀ¿¡ ÀÇÇØ ÀÛ¼ºµÈ °ÍÀÌ ¾Æ´Õ´Ï´Ù. Àå·¡, RTF ¼Æ÷Æ®¿¡ ´ëÀÀÇÒ ¼ö ÀÖ°Ô ÇØ ³ª°¥ ¿¹Á¤ÀÔ´Ï´Ù.
| ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä |
| Ŭ·¡½º javax.swing.text. StyledEditorKit À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
StyledEditorKit.AlignmentAction , StyledEditorKit.BoldAction , StyledEditorKit.FontFamilyAction , StyledEditorKit.FontSizeAction , StyledEditorKit.ForegroundAction , StyledEditorKit.ItalicAction , StyledEditorKit.StyledTextAction , StyledEditorKit.UnderlineAction |
| Ŭ·¡½º javax.swing.text. DefaultEditorKit À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
DefaultEditorKit.BeepAction , DefaultEditorKit.CopyAction , DefaultEditorKit.CutAction , DefaultEditorKit.DefaultKeyTypedAction , DefaultEditorKit.InsertBreakAction , DefaultEditorKit.InsertContentAction , DefaultEditorKit.InsertTabAction , DefaultEditorKit.PasteAction |
| ÇʵåÀÇ °³¿ä |
| »ý¼ºÀÚÀÇ °³¿ä | |
RTFEditorKit ()
RTFEditorKit ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
String |
getContentType ()
ÀÌ Å¶ÀÌ ¼Æ÷Æ®ÇÏ´Â MIME ŸÀÔÀÇ µ¥ÀÌÅ͸¦ µ¹·ÁÁÝ´Ï´Ù. |
void |
read (InputStream in,
Document doc,
int pos)
ÀÌ Å¸ÀÔÀÇ ÄÁÅÙÃ÷ Çڵ鷯¿¡ ÀûÇÕÇÑ ¼½ÄÀÎ °ÍÀÌ ¿ä±¸µÇ´Â ½ºÆ®¸²¿¡, ÄÁÅÙÃ÷¸¦ »ðÀÔÇÕ´Ï´Ù. |
void |
read (Reader in,
Document doc,
int pos)
ÁöÁ¤µÈ ½ºÆ®¸²À¸·ÎºÎÅÍ ÄÁÅÙÃ÷¸¦ »ðÀÔÇÕ´Ï´Ù. |
void |
write (OutputStream out,
Document doc,
int pos,
int len)
ÀÌ Å¸ÀÔÀÇ ÄÁÅÙÃ÷ Çڵ鷯¿¡ ÀûÇÕÇÑ ¼½ÄÀÎ °ÍÀÌ ¿ä±¸µÇ´Â ½ºÆ®¸²¿¡, ¹®¼ÀÇ ÄÁÅÙÃ÷¸¦ ÀûÇÕÇÑ Çü½Ä¿¡¼ ½ºÆ®¸²¿¡ »ðÀÔÇÕ´Ï´Ù. |
void |
write (Writer out,
Document doc,
int pos,
int len)
¹®¼ÀÇ ÄÁÅÙÃ÷¸¦ plaintext·Î¼ ½ºÆ®¸²¿¡ ±âÀÔÇÕ´Ï´Ù. |
| Ŭ·¡½º javax.swing.text. StyledEditorKit ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , createDefaultDocument , createInputAttributes , deinstall , getActions , getCharacterAttributeRun , getInputAttributes , getViewFactory , install |
| Ŭ·¡½º javax.swing.text. DefaultEditorKit ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
createCaret |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
| »ý¼ºÀÚÀÇ »ó¼¼ |
public RTFEditorKit()
| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public String getContentType()
text/rtf ŸÀÔÀ» ¼Æ÷Æ®ÇÕ´Ï´Ù.
DefaultEditorKit ³»ÀÇ getContentType
public void read(InputStream in,
Document doc,
int pos)
throws IOException ,
BadLocationException
DefaultEditorKit ³»ÀÇ read in - read¿øÀÇ ½ºÆ®¸²doc - »ðÀÔópos - ÄÁÅÙÃ÷¸¦ ¹èÄ¡ÇÏ´Â ¹®¼³»ÀÇ À§Ä¡
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos °¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
public void write(OutputStream out,
Document doc,
int pos,
int len)
throws IOException ,
BadLocationException
DefaultEditorKit ³»ÀÇ write out - ±âÀÔóÀÇ ½ºÆ®¸²doc - ±âÀÔ¿øpos - ÄÁÅÙÃ÷¸¦ ÃëµæÇÏ´Â ¹®¼³»ÀÇ À§Ä¡len - ½á³»´Â ¾ç
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos °¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
public void read(Reader in,
Document doc,
int pos)
throws IOException ,
BadLocationException
DefaultEditorKit ³»ÀÇ read in - read¿øÀÇ ½ºÆ®¸²doc - »ðÀÔópos - ÄÁÅÙÃ÷¸¦ ¹èÄ¡ÇÏ´Â ¹®¼³»ÀÇ À§Ä¡
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos °¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
public void write(Writer out,
Document doc,
int pos,
int len)
throws IOException ,
BadLocationException
DefaultEditorKit ³»ÀÇ write out - ±âÀÔóÀÇ ½ºÆ®¸²doc - ±âÀÔ¿øpos - ÄÁÅÙÃ÷¸¦ ÃëµæÇÏ´Â ¹®¼³»ÀÇ À§Ä¡len - ½á³»´Â ¾ç
IOException - ÀÔÃâ·Â ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
BadLocationException - pos °¡ ¹®¼³»ÀÇ ¹«È¿ÀÎ À§Ä¡¸¦ ³ªÅ¸³»´Â °æ¿ì
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.