JavaTM 2 Platform
Standard Ed. 5.0

javax.swing.plaf.multi
Ŭ·¡½º MultiProgressBarUI

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.swing.plaf.ComponentUI 
      »óÀ§¸¦ È®Àå javax.swing.plaf.ProgressBarUI 
          »óÀ§¸¦ È®Àå javax.swing.plaf.multi.MultiProgressBarUI

public class MultiProgressBarUI
extends ProgressBarUI

ProgressBarUI °áÇÕ¿¡ »ç¿ëÇÏ´Â ´ÙÁß UI ÀÔ´Ï´Ù.

ÀÌ ÆÄÀÏÀº AutoMulti¿¡ ÀÇÇØ ÀÚµ¿ »ý¼ºµÈ °ÍÀÔ´Ï´Ù.


ÇÊµå °³¿ä
protected  Vector uis
          ½ÇÁ¦ÀÇ UI°¡ Æ÷ÇԵǰí ÀÖ´Â º¤ÅÍÀÔ´Ï´Ù.
 
»ý¼ºÀÚ °³¿ä
MultiProgressBarUI ()
           
 
¸Þ¼­µå °³¿ä
 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
 

ÇʵåÀÇ »ó¼¼

uis

protected Vector  uis
½ÇÁ¦ÀÇ UI°¡ Æ÷ÇԵǰí ÀÖ´Â º¤ÅÍÀÔ´Ï´Ù. ÀÌ°ÍÀº, createUI È£Ãâ¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾îgetUIs ¸Þ¼­µå¸¦ È£ÃâÇÏ´Â °ÍÀ¸·Î ÃëµæÇÒ ¼ö ÀÖ½À´Ï´Ù. ÃÖÃÊÀÇ ¿ä¼Ò´Â µðÆúÆ®ÀÇ Look & Feel ·ÎºÎÅÍ ¾òÀ» ¼ö ÀÖ´ø ½ÇÁ¦ÀÇ UI ÀÎ °ÍÀÌ º¸ÁõµË´Ï´Ù.

»ý¼ºÀÚ »ó¼¼

MultiProgressBarUI

public MultiProgressBarUI()
¸Þ¼­µåÀÇ »ó¼¼

getUIs

public ComponentUI [] getUIs()
ÀÌ ´ÙÁß UI¿¡ °ü·ÃµÈ UI ¸®½ºÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. ÄÄÆÛ³ÍÆ®ÀÇ ´ÙÁß UI¸¦ ÀνÄÇÏ´Â ¾îÇø®ÄÉÀ̼ÇÀº ÀÌ·¯ÇÑ UI¸¦ ó¸®ÇÒ ¼ö ÀÖ°Ô µË´Ï´Ù.


contains

public boolean contains(JComponent  a,
                        int b,
                        int c)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î contains ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ contains
ÆĶó¹ÌÅÍ:
a - x, y À§°ªÀÌ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
b - Á¡ÀÇ x ÁÂÇ¥
c - Á¡ÀÇ y ÁÂÇ¥
¹Ýȯ°ª:
ÃÖÃÊÀÇ UI ·ÎºÎÅÍ ÃëµæµÇ´Â °ª. ÃÖÃÊÀÇ UI ¶õ µðÆúÆ®ÀÇ LookAndFeel·Î ºÎÅÍ ÃëµæµÇ´Â UI
°ü·Ã Ç׸ñ:
JComponent.contains(int, int), Component.contains(int, int)

update

public void update(Graphics  a,
                   JComponent  b)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î update ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ update
ÆĶó¹ÌÅÍ:
a - ÆäÀÎÆ® ´ë»óÀÇ Graphics ÄÁÅؽºÆ®
b - ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent), JComponent.paintComponent(java.awt.Graphics)

createUI

public static ComponentUI  createUI(JComponent  a)
º¸Á¶ LookAndFeel ¾î¶² °ÍÀΰ¡°¡ ÀÌ UI¸¦ Áö¿øÇÏ´ÂÀÎ °æ¿ì´Â ´ÙÁß UI ÀνºÅϽº¸¦ ¸®ÅÏÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â µðÆúÆ® LookAndFeel·Î ºÎÅÍ ÃëµæµÈ UI °´Ã¼¸¸À» ¸®ÅÏÇÕ´Ï´Ù.


installUI

public void installUI(JComponent  a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î installUI ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ installUI
ÆĶó¹ÌÅÍ:
a - UI À§¾çÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®
°ü·Ã Ç׸ñ:
ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

uninstallUI

public void uninstallUI(JComponent  a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î uninstallUI ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ uninstallUI
ÆĶó¹ÌÅÍ:
a - ÀÌ UI À§¾çÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
ComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()

paint

public void paint(Graphics  a,
                  JComponent  b)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î paint ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ paint
ÆĶó¹ÌÅÍ:
a - ÆäÀÎÆ® ´ë»óÀÇ Graphics ÄÁÅؽºÆ®
b - ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

getPreferredSize

public Dimension  getPreferredSize(JComponent  a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getPreferredSize ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getPreferredSize
ÆĶó¹ÌÅÍ:
a - ÀûÀýÇÑ »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
ÃÖÃÊÀÇ UI ·ÎºÎÅÍ ÃëµæµÇ´Â °ª. ÃÖÃÊÀÇ UI ¶õ µðÆúÆ®ÀÇ LookAndFeel·Î ºÎÅÍ ÃëµæµÇ´Â UI
°ü·Ã Ç׸ñ:
JComponent.getPreferredSize(), LayoutManager.preferredLayoutSize(java.awt.Container)

getMinimumSize

public Dimension  getMinimumSize(JComponent  a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getMinimumSize ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getMinimumSize
ÆĶó¹ÌÅÍ:
a - ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
ÃÖÃÊÀÇ UI ·ÎºÎÅÍ ÃëµæµÇ´Â °ª. ÃÖÃÊÀÇ UI ¶õ µðÆúÆ®ÀÇ LookAndFeel·Î ºÎÅÍ ÃëµæµÇ´Â UI
°ü·Ã Ç׸ñ:
JComponent.getMinimumSize(), LayoutManager.minimumLayoutSize(java.awt.Container), ComponentUI.getPreferredSize(javax.swing.JComponent)

getMaximumSize

public Dimension  getMaximumSize(JComponent  a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getMaximumSize ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getMaximumSize
ÆĶó¹ÌÅÍ:
a - ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
ÃÖÃÊÀÇ UI ·ÎºÎÅÍ ÃëµæµÇ´Â °ª. ÃÖÃÊÀÇ UI ¶õ µðÆúÆ®ÀÇ LookAndFeel·Î ºÎÅÍ ÃëµæµÇ´Â UI
°ü·Ã Ç׸ñ:
JComponent.getMaximumSize(), LayoutManager2.maximumLayoutSize(java.awt.Container)

getAccessibleChildrenCount

public int getAccessibleChildrenCount(JComponent  a)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getAccessibleChildrenCount ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getAccessibleChildrenCount
¹Ýȯ°ª:
ÃÖÃÊÀÇ UI ·ÎºÎÅÍ ÃëµæµÇ´Â °ª. ÃÖÃÊÀÇ UI ¶õ µðÆúÆ®ÀÇ LookAndFeel·Î ºÎÅÍ ÃëµæµÇ´Â UI
°ü·Ã Ç׸ñ:
ComponentUI.getAccessibleChild(javax.swing.JComponent, int)

getAccessibleChild

public Accessible  getAccessibleChild(JComponent  a,
                                     int b)
ÀÌ °´Ã¼°¡ Ãë±ÞÇÏ´Â °¢ UI ·Î getAccessibleChild ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getAccessibleChild
b - Á¦·Î·ÎºÎÅÍ ½ÃÀ۵ǴÂÀÚ½Ä ÀÇ À妽º
¹Ýȯ°ª:
ÃÖÃÊÀÇ UI ·ÎºÎÅÍ ÃëµæµÇ´Â °ª. ÃÖÃÊÀÇ UI ¶õ µðÆúÆ®ÀÇ LookAndFeel·Î ºÎÅÍ ÃëµæµÇ´Â UI
°ü·Ã Ç׸ñ:
ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent)

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.