|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
public class StyledEditorKit
ƯÁ¤ÀÇ Å¸ÀÔÀÇ ÅØ½ºÆ® ¹®¼¿¡ ´ëÇØ¼ ÀûÀýÇÑ ¿¡µðÅͷμ ±â´ÉÇϱâ À§Çؼ ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®¿¡ ÇÊ¿äÇÑ ¼¼Æ®ÀÔ´Ï´Ù. ÀÌ ±¸ÇöÀº ÅØ½ºÆ®¸¦ ¼½Ä ÷ºÎ ÅØ½ºÆ®·Î¼ ó¸®ÇØ, ¼½Ä ÷ºÎ ÅØ½ºÆ®¸¦ ÆíÁýÇϱâ À§ÇÑ ¾×¼ÇÀÇ ÃÖ¼Ò ¼¼Æ®¸¦ Á¦°øÇÏ´Â µðÆúÆ®ÀÇ ±¸ÇöÀ» Á¦°øÇÕ´Ï´Ù.
Áßø(Nested) Ŭ·¡½º °³¿ä | |
---|---|
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 ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
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()
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
Cloneable
protected void createInputAttributes(Element element, MutableAttributeSet set)
element
AttributeSet ³»ÀÇ Å°¿Í °ªÀÇ Æä¾î¸¦ set
¿¡ Ä«ÇÇÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå´Â ÄÄÆÛ³ÍÆ®,ÀڽľÆÀÌÄÜ, ¿ä¼Ò¸íÀÇ °¢ ¼Ó¼ºÀº Ä«ÇÇÇÏÁö ¾Ê½À´Ï´Ù. ¼ºê Ŭ·¡½º¿¡¼´Â ¾î´À ¼Ó¼ºÀ» º¹»çÇØ
¾î´À ¼Ó¼ºÀ» Ä«ÇÇÇÏÁö ¾Ê´Â°¡¸¦ º¯°æÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ´Ù¸¸, ÃÖÃÊ·Î set
³»ÀÇ ¸ðµç ¼Ó¼ºÀ» ¹Ýµå½Ã »èÁ¦ÇØ ÁÖ¼¼¿ä. ÀÌ ¸Þ¼µå´Â caret°¡ ´Ù¸¥ À§Ä¡·Î À̵¿ÇÒ ¶§¸¶´Ù È£ÃâÇÕ´Ï´Ù.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.