|
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
ƯÁ¤ÀÇ Å¸ÀÔÀÇ ÅØ½ºÆ® ¹®¼¿¡ ´ëÇØ¼ ÀûÀýÇÑ ¿¡µðÅͷμ ±â´ÉÇϱâ À§Çؼ, ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®¿¡ ÇÊ¿äÇÑ ¼¼Æ®ÀÔ´Ï´Ù. ÀÌ ±¸ÇöÀº ÅØ½ºÆ®¸¦ ¼½Ä ÷ºÎ ÅØ½ºÆ®·Î¼ ó¸®ÇØ, ¼½Ä ÷ºÎ ÅØ½ºÆ®¸¦ ÆíÁýÇϱâ À§ÇÑ ¾×¼ÇÀÇ ÃÖ¼Ò ¼¼Æ®¸¦ Á¦°øÇÏ´Â µðÆúÆ®ÀÇ ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
static class |
StyledEditorKit.AlignmentAction
´Ü¶ôÀÇ ¹èÄ¡ ¹æ¹ýÀ» ¼³Á¤ÇÏ´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.BoldAction
º¼µå ¼Ó¼ºÀ» ¹Ù²Ù´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.FontFamilyAction
°ü·ÃÇÏ´Â JEditorPane ÀÇ ÆùÆ® ÆÐ¹Ð¸®¸¦ ¼³Á¤ÇÏ´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.FontSizeAction
°ü·ÃÇÏ´Â JEditorPane ÀÇ font size¸¦ ¼³Á¤ÇÏ´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.ForegroundAction
foreground Ä®¶ó¸¦ ¼³Á¤ÇÏ´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.ItalicAction
ÀÌÅŸ¯ ¼Ó¼ºÀ» ¹Ù²Ù´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.StyledTextAction
ÀνºÅç µÈ StyledEditorKit (¶Ç´Â ¼ºê Ŭ·¡½º)¿¡ ÀÇÇØ JEditorPane ·Î ¹æ¾Æ¼è µÈ´Ù°í º¸¿©Áö´Â ¾×¼ÇÀÔ´Ï´Ù. |
static class |
StyledEditorKit.UnderlineAction
¹ØÁÙ ¼Ó¼ºÀ» ¹Ù²Ù´Â ¾×¼ÇÀÔ´Ï´Ù. |
Ŭ·¡½º javax.swing.text. DefaultEditorKit À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
DefaultEditorKit.BeepAction , DefaultEditorKit.CopyAction , DefaultEditorKit.CutAction , DefaultEditorKit.DefaultKeyTypedAction , DefaultEditorKit.InsertBreakAction , DefaultEditorKit.InsertContentAction , DefaultEditorKit.InsertTabAction , DefaultEditorKit.PasteAction |
ÇʵåÀÇ °³¿ä |
»ý¼ºÀÚÀÇ °³¿ä | |
StyledEditorKit ()
¼½Ä ÷ºÎ ¹®¼·Î »ç¿ëÇÏ´Â »õ·Î¿î EditorKit ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
Object |
clone ()
ÆíÁý ŶÀÇ Ä«ÇǸ¦ ÀÛ¼ºÇÕ´Ï´Ù. |
Document |
createDefaultDocument ()
ÀÌ Å¸ÀÔÀÇ ¿¡µðÅÍ¿¡ ÀûÀýÇϰí ÀÖ´Â ¹ÌÃʱâÈ ÅØ½ºÆ® ½ºÅ丮Áö ¸ðµ¨À» ÀÛ¼ºÇÕ´Ï´Ù. |
protected void |
createInputAttributes (Element element,
MutableAttributeSet set)
element ÀÇ AttributeSet ³»ÀÇ Å°¿Í °ªÀÇ Æä¾î¸¦ set ¿¡ Ä«ÇÇÇÕ´Ï´Ù. |
void |
deinstall (JEditorPane c)
ŶÀÌ JEditorPane ·ÎºÎÅÍ »èÁ¦µÇ°í ÀÖÀ» ¶§ ºÒ·Á °©´Ï´Ù. |
Action [] |
getActions ()
¿¡µðÅÍÀÇ Ä¿¸àµå ¸®½ºÆ®¸¦ ²¨³À´Ï´Ù. |
Element |
getCharacterAttributeRun ()
caret¿¡ ´ëÀÀÇÏ´Â ÇöÀçÀÇ Ä³¸¯ÅÍ ¼Ó¼ºÀ» ³ªÅ¸³»´Â ¿ä¼Ò¸¦ ²¨³À´Ï´Ù. |
MutableAttributeSet |
getInputAttributes ()
±¸È¹ÀÇ ÀÔ·Â ¼Ó¼ºÀ» µ¹·ÁÁÝ´Ï´Ù. |
ViewFactory |
getViewFactory ()
ÀÌ Å¶À¸·Î ÀÛ¼ºµÇ´Â ¸ðµ¨ÀÇ ºä¸¦ ÀÛ¼ºÇϴµ¥ ÀûÇÕÇÑ ÆÑÅ丮¸¦ ²¨³À´Ï´Ù. |
void |
install (JEditorPane c)
ŶÀÌ JEditorPane ¿¡ ÀνºÅç µÇ°í ÀÖÀ» ¶§ ºÒ·Á °©´Ï´Ù. |
Ŭ·¡½º javax.swing.text. DefaultEditorKit ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
createCaret , getContentType , read , read , write , write |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public StyledEditorKit()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public MutableAttributeSet getInputAttributes()
DefaultEditorKit
³»ÀÇ getInputAttributes
public Element getCharacterAttributeRun()
public Action [] getActions()
DefaultEditorKit
³»ÀÇ getActions
public Document createDefaultDocument()
DefaultEditorKit
³»ÀÇ createDefaultDocument
public void install(JEditorPane c)
EditorKit
³»ÀÇ install
c
- JEditorPanepublic void deinstall(JEditorPane c)
EditorKit
³»ÀÇ deinstall
c
- JEditorPanepublic ViewFactory getViewFactory()
DefaultEditorKit
³»ÀÇ getViewFactory
public Object clone()
EditorKit
³»ÀÇ clone
protected void createInputAttributes(Element element, MutableAttributeSet set)
element
ÀÇ AttributeSet ³»ÀÇ Å°¿Í °ªÀÇ Æä¾î¸¦ set
¿¡ Ä«ÇÇÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ÄÄÆÛ³ÍÆ®, ¾ÆÀÌÄÜ, ¿ä¼Ò¸íÀÇ °¢ ¼Ó¼ºÀº Ä«ÇÇÇÏÁö ¾Ê½À´Ï´Ù. ¼ºê Ŭ·¡½º¿¡¼´Â ¾î´À ¼Ó¼ºÀ» Ä«ÇÇÇØ ¾î´À ¼Ó¼ºÀ» Ä«ÇÇÇÏÁö ¾Ê´Â°¡¸¦ º¯°æÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ´Ù¸¸, ÃÖÃÊ·Î set
³»ÀÇ ¸ðµç ¼Ó¼ºÀ» ¹Ýµå½Ã »èÁ¦ÇØ ÁÖ¼¼¿ä.
ÀÌ ¸Þ¼Òµå´Â caret°¡ ´Ù¸¥ À§Ä¡·Î À̵¿ÇÒ ¶§¸¶´Ù ºÒ·Á °©´Ï´Ù.
|
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.