|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollPaneUI
javax.swing.plaf.multi.MultiScrollPaneUI
public class MultiScrollPaneUI
ScrollPaneUI
°áÇÕ¿¡ »ç¿ëÇÏ´Â ´ÙÁß UI ÀÔ´Ï´Ù.
ÀÌ ÆÄÀÏÀº AutoMulti¿¡ ÀÇÇØ ÀÚµ¿ »ý¼ºµÈ °ÍÀÔ´Ï´Ù.
ÇÊµå °³¿ä | |
---|---|
protected Vector |
uis
½ÇÁ¦ÀÇ UI°¡ Æ÷ÇԵǰí ÀÖ´Â º¤ÅÍÀÔ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
MultiScrollPaneUI ()
|
¸Þ¼µå °³¿ä | |
---|---|
boolean |
contains (JComponent a,
int b,
int c)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î contains ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
static ComponentUI |
createUI (JComponent a)
º¸Á¶ LookAndFeel
¾î¶² °ÍÀΰ¡°¡ ÀÌ UI¸¦ Áö¿øÇÏ´ÂÀÎ °æ¿ì´Â ´ÙÁß UI ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Accessible |
getAccessibleChild (JComponent a,
int b)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getAccessibleChild ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
int |
getAccessibleChildrenCount (JComponent a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getAccessibleChildrenCount ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
Dimension |
getMaximumSize (JComponent a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getMaximumSize ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
Dimension |
getMinimumSize (JComponent a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getMinimumSize ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
Dimension |
getPreferredSize (JComponent a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getPreferredSize ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
ComponentUI [] |
getUIs ()
ÀÌ ´ÙÁß UI¿¡ °ü·ÃµÈ UI ¸®½ºÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
void |
installUI (JComponent a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î installUI ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
paint (Graphics a,
JComponent b)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î paint ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
uninstallUI (JComponent a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î uninstallUI ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
void |
update (Graphics a,
JComponent b)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î update ¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
protected Vector uis
createUI
È£Ãâ¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾îgetUIs
¸Þ¼µå¸¦ È£ÃâÇÏ´Â °ÍÀ¸·Î ÃëµæÇÒ ¼ö ÀÖ½À´Ï´Ù. ÃÖÃÊÀÇ ¿ä¼Ò´Â µðÆúÆ®ÀÇ Look & Feel ·ÎºÎÅÍ ¾òÀ» ¼ö ÀÖ´ø ½ÇÁ¦ÀÇ UI ÀÎ °ÍÀÌ º¸ÁõµË´Ï´Ù.
»ý¼ºÀÚ »ó¼¼ |
---|
public MultiScrollPaneUI()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public ComponentUI [] getUIs()
public boolean contains(JComponent a, int b, int c)
contains
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ contains
a
- x, y
À§°ªÀÌ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Âb
- Á¡ÀÇ x ÁÂÇ¥c
- Á¡ÀÇ y ÁÂÇ¥
LookAndFeel
·Î
ºÎÅÍ ÃëµæµÇ´Â UIJComponent.contains(int, int)
,
Component.contains(int, int)
public void update(Graphics a, JComponent b)
update
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ update
a
- ÆäÀÎÆ® ´ë»óÀÇ Graphics
ÄÁÅØ½ºÆ®
b
- ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
,
JComponent.paintComponent(java.awt.Graphics)
public static ComponentUI createUI(JComponent a)
LookAndFeel
¾î¶² °ÍÀΰ¡°¡ ÀÌ UI¸¦ Áö¿øÇÏ´ÂÀÎ °æ¿ì´Â ´ÙÁß UI ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â µðÆúÆ® LookAndFeel
·Î
ºÎÅÍ ÃëµæµÈ UI °´Ã¼¸¸À» ¸®ÅÏÇÕ´Ï´Ù.
public void installUI(JComponent a)
installUI
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ installUI
a
- UI À§¾çÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(JComponent a)
uninstallUI
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ uninstallUI
a
- ÀÌ UI À§¾çÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
public void paint(Graphics a, JComponent b)
paint
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ paint
a
- ÆäÀÎÆ® ´ë»óÀÇ Graphics
ÄÁÅØ½ºÆ®
b
- ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´ÂComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
public Dimension getPreferredSize(JComponent a)
getPreferredSize
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getPreferredSize
a
- ÀûÀýÇÑ »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
LookAndFeel
·Î
ºÎÅÍ ÃëµæµÇ´Â UIJComponent.getPreferredSize()
,
LayoutManager.preferredLayoutSize(java.awt.Container)
public Dimension getMinimumSize(JComponent a)
getMinimumSize
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getMinimumSize
a
- ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
LookAndFeel
·Î
ºÎÅÍ ÃëµæµÇ´Â UIJComponent.getMinimumSize()
,
LayoutManager.minimumLayoutSize(java.awt.Container)
,
ComponentUI.getPreferredSize(javax.swing.JComponent)
public Dimension getMaximumSize(JComponent a)
getMaximumSize
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getMaximumSize
a
- ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
LookAndFeel
·Î
ºÎÅÍ ÃëµæµÇ´Â UIJComponent.getMaximumSize()
,
LayoutManager2.maximumLayoutSize(java.awt.Container)
public int getAccessibleChildrenCount(JComponent a)
getAccessibleChildrenCount
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getAccessibleChildrenCount
LookAndFeel
·Î
ºÎÅÍ ÃëµæµÇ´Â UIComponentUI.getAccessibleChild(javax.swing.JComponent, int)
public Accessible getAccessibleChild(JComponent a, int b)
getAccessibleChild
¸Þ¼µå¸¦ È£ÃâÇÕ´Ï´Ù.
ComponentUI
³»ÀÇ getAccessibleChild
b
- Á¦·Î·ÎºÎÅÍ ½ÃÀ۵ǴÂÀÚ½Ä
ÀÇ À妽º
LookAndFeel
·Î
ºÎÅÍ ÃëµæµÇ´Â UIComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.