|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.plaf.synth.SynthContext
public class SynthContext
Region
¿¡ °üÇÑ ÄÁÅØ½ºÆ®
Á¸ÀÇ Á¤º¸¸¦ Æ÷ÇÔÇÑ ºÒº¯ÀÇ ÀϽà °´Ã¼ÀÔ´Ï´Ù. SynthContext
ÀÌ °Ç³×¹ÞÀº ¸Þ¼µå°¡ ºÒ·Á°¡
°í ÀÖ´Â µ¿¾È¸¸, SynthContext
ÀÌ À¯È¿¶ó°í º¸¿©Áý´Ï´Ù. Áï, »ç¿ëÀÚ¿¡ °Ô °Ç³×Áø SynthContext
¸¦ ij½¬¿¡ ³ÖÁö ¾Ê¾Æµµ, À¯È¿ÇÑ »óŰ¡ °è¼ÓµÇ´Â °ÍÀ̶ó°í »ý°¢ÇØ ÁÖ¼¼¿ä.
»ý¼ºÀÚ °³¿ä | |
---|---|
SynthContext (JComponent component,
Region region,
SynthStyle style,
int state)
ÁöÁ¤µÈ °ªÀ» »ç¿ëÇØ SynthContext¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
JComponent |
getComponent ()
ÀÌ ¿µ¿ªÀ» Æ÷ÇÔÇÑ ¼ö¿ëÃø ÄÄÆÛ³ÍÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getComponentState ()
SynthConstants ·Î
Á¤ÀÇµÈ °ªÀÇ ºñÆ® ¸¶½ºÅ©ÀÎ, À§Á¦Æ® »óŸ¦ ¸®ÅÏÇÕ´Ï´Ù. |
Region |
getRegion ()
ÀÌ »óŸ¦ ½Äº°ÇÏ´Â Region¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
SynthStyle |
getStyle ()
ÀÌ Region¿¡ °ü·ÃµÈ ½ºÅ¸ÀÏÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public SynthContext(JComponent component, Region region, SynthStyle style, int state)
component
- JComponentregion
- JComponent
ºÎºÐÀ» ½Äº°ÇÏ´Âstyle
- ÄÄÆÛ³ÍÆ®¿¡ °ü·ÃµÈ
½ºÅ¸ÀÏstate
- SynthConstants ·Î Á¤ÀÇµÈ ÄÄÆÛ³ÍÆ® »óÅÂ
NullPointerException
- ÄÄÆÛ³ÍÆ®, ¿µ¿ª, ¶Ç´Â ½ºÅ¸ÀÏÀÌ nullÀÎ °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public JComponent getComponent()
public Region getRegion()
public SynthStyle getStyle()
public int getComponentState()
SynthConstants
·Î
Á¤ÀÇµÈ °ªÀÇ ºñÆ® ¸¶½ºÅ©ÀÎ, À§Á¦Æ® »óŸ¦ ¸®ÅÏÇÕ´Ï´Ù. ¿µ¿ªÀº Àû¾îµµ ENABLED
, MOUSE_OVER
, PRESSED
, ¶Ç´Â DISABLED
¾î´À ÂÊÀΰ¡¿¡ µË´Ï´Ù.
SynthConstants
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.