JavaTM 2
Platform
Std.  Ed.  v1. 4.0

javax.swing.plaf.basic
Ŭ·¡½º BasicComboPopup

java.lang.Object 
  |
  +--java.awt.Component 
        |
        +--java.awt.Container 
              |
              +--javax.swing.JComponent 
                    |
                    +--javax.swing.JPopupMenu 
                          |
                          +--javax.swing.plaf.basic.BasicComboPopup
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
Accessible , ComboPopup , ImageObserver , MenuContainer , MenuElement , Serializable
Á÷°èÀÇ ±âÁ¸ÀÇ ¼­ºê Ŭ·¡½º:
MetalComboBoxUI.MetalComboPopup

public class BasicComboPopup
extends JPopupMenu
implements ComboPopup

ComboPopup ÀÎÅÍÆäÀ̽ºÀÇ ±âº»ÀûÀÎ ±¸ÇöÀÔ´Ï´Ù. ÀÌ Å¬·¡½º´Â comboboxÀÇ pop-up ºÎºÐÀÇ UI ¸¦ Ç¥ÇöÇÕ´Ï´Ù.

¸ðµç À̺¥Æ® 󸮴 createxxxListener() ÀÇ °¢ ¸Þ¼Òµå, ¹× ³»ºÎ Ŭ·¡½º¸¦ »ç¿ëÇØ ÀÛ¼ºµÈ ûÃëÀÚ Å¬·¡½º¿¡ ÀÇÇØ 󸮵˴ϴÙ. ÀÌ Å¬·¡½ºÀÇ µ¿ÀÛÀ» º¯°æÇÏ·Á¸é ,createxxxListener() ÀÇ °¢ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÑ ´ÙÀ½, µ¶ÀÚÀûÀÎ À̺¥Æ® ûÃëÀÚ¸¦ Á¦°øÇÏ´ÂÁö ÀÌ Å¬·¡½º¿¡¼­ Á¦°øµÈ À̺¥Æ® ûÃëÀڷκÎÅÍ ¼­ºê Ŭ·¡½ºÈ­ÇÕ´Ï´Ù.

°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ­ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ¸±¸®½º¿Í ȣȯÀº ¾Æ´Ï°Ô µÉ ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈ­ÀÇ ¼­Æ÷Æ®´Â ´Ü±â ±â¾ïÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. ¹öÁ¯ 1.4 ÀÇ ½ÃÁ¡¿¡¼­´Â JavaBeansTM ÀÇ Àå±â°£ ¿î¿ëÀÇ ¼­Æ÷Æ®´Â ¸ðµÎ java.beans ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. XMLEncoder ¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä.


ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä
 class BasicComboPopup.InvocationKeyHandler
          Java 2 Ç÷§Æû v1. 4 ¿¡¼­´Â ÀÌ Å¬·¡½º´Â ÆóÁöµÇ¾î API ÀÇ ÇÏÀ§ ȣȯ¸¸ÀÇ À§ÇØ(¶§¹®¿¡) Â¥³Ö¾îÁö°í ÀÖ½À´Ï´Ù.
protected  class BasicComboPopup.InvocationMouseHandler
          pop-up menu »óÅ¿¡ ¿µÇâÀ» ÁÖ´Â ¸¶¿ì½º À̺¥Æ®¸¦ ó¸®Çϱâ À§ÇÑ , (±× pop-up menu»ó¿¡¼­´Â¾Æ´Ï°í) combobox»ó¿¡ µî·ÏµÇ´Â ûÃëÀÚÀÔ´Ï´Ù.
protected  class BasicComboPopup.InvocationMouseMotionHandler
          ÀÌ Ã»ÃëÀÚ´Â ¸¶¿ì½ºÀÇ µå·¯±×¸¦ °¨½ÃÇØ, ¸®½ºÆ®»ó¿¡¼­ÀÇ µå·¯±×ÀÌ¸é ¸®½ºÆ®ÀÇ ÇöÀçÀÇ ¼±Åà ¹üÀ§¸¦ °»½ÅÇÕ´Ï´Ù.
protected  class BasicComboPopup.ItemHandler
          ÀÌ Ã»ÃëÀÚ´Â comboboxÀÇ ¼±ÅÃÀÇ º¯°æÀ» °¨½ÃÇÕ´Ï´Ù.
 class BasicComboPopup.ListDataHandler
          ¹öÁ¯ 1.4 ¿¡¼­´Â ÀÌ Å¬·¡½º´Â ÆóÁöµÇ¾î ¾Æ¹«°Íµµ ½Ç½ÃÇÏÁö ¾Ê°í API ÇÏÀ§ ȣȯ¸¸ÀÇ À§ÇØ(¶§¹®¿¡) Â¥³Ö¾îÁö°í ÀÖ½À´Ï´Ù.
protected  class BasicComboPopup.ListMouseHandler
          ÀÌ Ã»ÃëÀÚ´Â ¸®½ºÆ®³»¿¡¼­ ¸¶¿ì½º°¡ ¶¼¾î ³õ¾ÆÁ³À» ¶§¿¡ pop-up¸¦ ¼û±é´Ï´Ù.
protected  class BasicComboPopup.ListMouseMotionHandler
          ÀÌ Ã»ÃëÀÚ´Â ¸®½ºÆ®»ó¿¡¼­ÀÇ ¸¶¿ì½ºÀÇ À̵¿¿¡ ÀÀÇØ, ¼±ÅÃµÈ Ç׸ñÀ» º¯°æÇÕ´Ï´Ù.
protected  class BasicComboPopup.ListSelectionHandler
          Java 2 Ç÷§Æû v1. 4 ¿¡¼­´Â ÀÌ Å¬·¡½º´Â ÆóÁöµÇ¾î ¾Æ¹«°Íµµ ½Ç½ÃÇÏÁö ¾Ê°í API ÇÏÀ§ ȣȯ¸¸ÀÇ À§ÇØ(¶§¹®¿¡) Â¥³Ö¾îÁö°í ÀÖ½À´Ï´Ù.
protected  class BasicComboPopup.PropertyChangeHandler
          ÀÌ Ã»ÃëÀÚ´Â combobox³»¿¡¼­ º¯°æµÈ ¹Ù¿îµå ÇÁ·ÎÆÛƼ¸¦ °¨½ÃÇÕ´Ï´Ù.
 
Ŭ·¡½º javax.swing. JPopupMenu À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º
JPopupMenu.AccessibleJPopupMenu , JPopupMenu.Separator
 
Ŭ·¡½º javax.swing. JComponent À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º
JComponent.AccessibleJComponent
 
Ŭ·¡½º java.awt. Container À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º
Container.AccessibleAWTContainer
 
Ŭ·¡½º java.awt. Component À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º
Component.AccessibleAWTComponent , Component.BltBufferStrategy , Component.FlipBufferStrategy
 
ÇʵåÀÇ °³¿ä
protected  Timer autoscrollTimer
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  JComboBox comboBox
           
protected  boolean hasEntered
           
protected  boolean isAutoScrolling
           
protected  ItemListener itemListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  KeyListener keyListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  JList list
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  ListDataListener listDataListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  MouseListener listMouseListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  MouseMotionListener listMouseMotionListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  ListSelectionListener listSelectionListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  MouseListener mouseListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  MouseMotionListener mouseMotionListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  PropertyChangeListener propertyChangeListener
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected static int SCROLL_DOWN
           
protected static int SCROLL_UP
           
protected  int scrollDirection
           
protected  JScrollPane scroller
          ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù.
protected  boolean valueIsAdjusting
          ¹®¼­·ÎºÎÅÍ »èÁ¦ ³¡³­ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 4 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.
 
Ŭ·¡½º javax.swing. JComponent ¿¡¼­ »ó¼Ó¹ÞÀº Çʵå
accessibleContext , listenerList , TOOL_TIP_TEXT_KEY , ui , UNDEFINED_CONDITION , WHEN_ANCESTOR_OF_FOCUSED_COMPONENT , WHEN_FOCUSED , WHEN_IN_FOCUSED_WINDOW
 
Ŭ·¡½º java.awt. Component ¿¡¼­ »ó¼Ó¹ÞÀº Çʵå
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT
 
ÀÎÅÍÆäÀ̽º java.awt.image. ImageObserver ¿¡¼­ »ó¼Ó¹ÞÀº Çʵå
ABORT , ALLBITS , ERROR , FRAMEBITS , HEIGHT , PROPERTIES , SOMEBITS , WIDTH
 
»ý¼ºÀÚÀÇ °³¿ä
BasicComboPopup (JComboBox  combo)
           
 
¸Þ¼ÒµåÀÇ °³¿ä
protected  void autoScrollDown ()
          protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù.
protected  void autoScrollUp ()
          protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù.
protected  Rectangle computePopupBounds (int px, int py, int pw, int ph)
           
protected  void configureList ()
          pop-upÀÇ combobox Ç׸ñÀÇ º¸Á¸¿¡ »ç¿ëµÇ´Â ¸®½ºÆ®¸¦ ¼³Á¤ÇÕ´Ï´Ù.
protected  void configurePopup ()
          comboboxÀÇ pop-up ºÎºÐÀ» ¼³Á¤ÇÕ´Ï´Ù.
protected  void configureScroller ()
          combobox pop-up³»ÀÇ ¸®½ºÆ®¸¦ ¼ö³³ÇÏ´Â ½ºÅ©·Ñ °¡´ÉÇÑ ºÎºÐÀ» ¼³Á¤ÇÕ´Ï´Ù.
protected  MouseEvent convertMouseEvent (MouseEvent  e)
           
protected  ItemListener createItemListener ()
          combobox¿¡ Ãß°¡µÇ´Â ItemListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  KeyListener createKeyListener ()
          combobox¿¡ Ãß°¡µÇ´Â Ű ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  JList createList ()
          combobox ¸ðµ¨ÀÇ Ç׸ñÀ» Ç¥½ÃÇϱâ À§Çؼ­, pop-up·Î »ç¿ëµÇ´Â JList ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  ListDataListener createListDataListener ()
          ComboBoxModel ¿¡ Ãß°¡µÇ´Â ¸®½ºÆ® µ¥ÀÌÅÍ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  MouseListener createListMouseListener ()
          pop-upÀÇ ¸®½ºÆ®ÀÇ ¸¶¿ì½º À̺¥Æ®¸¦ °¨½ÃÇÏ´Â ¸¶¿ì½º ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  MouseMotionListener createListMouseMotionListener ()
          pop-upÀÇ ¸®½ºÆ®ÀÇ ¸¶¿ì½º µ¿ÀÛ À̺¥Æ®¸¦ °¨½ÃÇÏ´Â ¸¶¿ì½º µ¿ÀÛ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  ListSelectionListener createListSelectionListener ()
          pop-upÀÇ ¸®½ºÆ®ÀÇ ¼±Åà º¯°æÀ» °¨½ÃÇÏ´Â ¸®½ºÆ® ¼±Åà ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  MouseListener createMouseListener ()
          combobox»ó¿¡¼­ mouse button¸¦ ´©¸£°Å³ª ¶¼¾î ³õ°Å³ª ÇÏ´Â À̺¥Æ®¸¦ °¨½ÃÇϴ ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  MouseMotionListener createMouseMotionListener ()
          combobox¿¡ Ãß°¡µÇ´Â ¸¶¿ì½º µ¿ÀÛ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  PropertyChangeListener createPropertyChangeListener ()
          combobox¿¡ Ãß°¡µÇ´Â PropertyChangeListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  JScrollPane createScroller ()
          ½ºÅ©·Ñ °¡´ÉÇÑ ¸®½ºÆ®¸¦ ¼ö³³ÇÏ´Â ½ºÅ©·Ñ ±¸È¹À» ÀÛ¼ºÇÕ´Ï´Ù.
protected  void delegateFocus (MouseEvent  e)
          pop-up°¡ ¿­¸± ¶§, Æ÷Ä¿½ºÀÇ ¹ß¼ÛÁö¸¦ À̺¥Æ® Çڵ鷯°¡ °áÁ¤µÇ´Â °ÍÀ» º¸Á¶ÇÏ´Â À¯Æ¿¸®Æ¼ ¸Þ¼ÒµåÀÔ´Ï´Ù.
protected  void firePopupMenuCanceled ()
          PopupMenuListener ¿¡, pop-up menu°¡ »èÁ¦µÈ °ÍÀ» ÅëÁöÇÕ´Ï´Ù.
protected  void firePopupMenuWillBecomeInvisible ()
          PopupMenuListener ¿¡, pop-up menu°¡ ºÒ°¡½Ã°¡ µÇ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù.
protected  void firePopupMenuWillBecomeVisible ()
          PopupMenuListener ¿¡, pop-up menu°¡ °¡½Ã°¡ µÇ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù.
 KeyListener getKeyListener ()
          ComboPopup.getKeyListener()ÀÇ ±¸ÇöÀÔ´Ï´Ù.
 JList getList ()
          ComboPopup.getList()ÀÇ ±¸ÇöÀÔ´Ï´Ù.
 MouseListener getMouseListener ()
          ComboPopup.getMouseListener()ÀÇ ±¸ÇöÀÔ´Ï´Ù.
 MouseMotionListener getMouseMotionListener ()
          ComboPopup.getMouseMotionListener()ÀÇ ±¸ÇöÀÔ´Ï´Ù.
protected  int getPopupHeightForRowCount (int maxRowCount)
          ÇöÀçÀÇ ListCellRenderer ¿¡ ±Ù°ÅÇÏ´Â pop-upÀÇ ³ôÀÌ¿Í ÃÖ´ëÇà¼ö¸¦ °ËÃâÇÕ´Ï´Ù.
 void hide ()
          ComboPopup.hide()ÀÇ ±¸ÇöÀÔ´Ï´Ù.
protected  void installComboBoxListeners ()
          JComboBox ¿¡ ÇÊ¿äÇÑ Ã»ÃëÀÚ¸¦ Ãß°¡ÇÕ´Ï´Ù.
protected  void installComboBoxModelListeners (ComboBoxModel  model)
          combobox ¸ðµ¨»ó¿¡ ûÃëÀÚ¸¦ ÀνºÅç ÇÕ´Ï´Ù.
protected  void installKeyboardActions ()
           
protected  void installListListeners ()
          ¸®½ºÆ® ÄÁÆ®·Ñ¿¡ ûÃëÀÚ¸¦ Ãß°¡ÇÕ´Ï´Ù.
 boolean isFocusTraversable ()
          ¹«Á¶°ÇÀ¸·Î false ¸¦ µ¹·ÁÁÖ±â À§Çؼ­(¶§¹®¿¡) ¿À¹ö¶óÀ̵å(override) µË´Ï´Ù.
 void show ()
          ComboPopup.show()ÀÇ ±¸ÇöÀÔ´Ï´Ù.
protected  void startAutoScrolling (int direction)
          protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù.
protected  void stopAutoScrolling ()
          protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù.
protected  void togglePopup ()
          pop-up°¡ ¼û°ÜÁö°í ÀÖÀ¸¸éÀº pop-up¸¦ °¡½Ã·Î ÇØ, °¡½ÃÀ̸é pop-up¸¦ ¼û±é´Ï´Ù.
protected  void uninstallComboBoxModelListeners (ComboBoxModel  model)
          combobox ¸ðµ¨·ÎºÎÅÍ Ã»ÃëÀÚ¸¦ »èÁ¦ÇÕ´Ï´Ù.
 void uninstallingUI ()
          UI °¡ ¾ðÀνºÅçÇϰí ÀÖÀ» ¶§ ºÒ·Á °©´Ï´Ù.
protected  void uninstallKeyboardActions ()
           
protected  void updateListBoxSelectionForEvent (MouseEvent  anEvent, boolean shouldScroll)
          À̺¥Æ® ûÃëÀÚ°¡ »ç¿ëÇÏ´Â À¯Æ¿¸®Æ¼ ¸Þ¼ÒµåÀÔ´Ï´Ù.
 
Ŭ·¡½º javax.swing. JPopupMenu ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
add , add , add , addPopupMenuListener , addSeparator , createActionChangeListener , createActionComponent , getAccessibleContext , getComponent , getComponentAtIndex , getComponentIndex , getDefaultLightWeightPopupEnabled , getInvoker , getLabel , getMargin , getPopupMenuListeners , getSelectionModel , getSubElements , getUI , getUIClassID , insert , insert , isBorderPainted , isLightWeightPopupEnabled , isPopupTrigger , isVisible , menuSelectionChanged , pack , paintBorder , paramString , processFocusEvent , processKeyEvent , processKeyEvent , processMouseEvent , remove , removePopupMenuListener , setBorderPainted , setDefaultLightWeightPopupEnabled , setInvoker , setLabel , setLightWeightPopupEnabled , setLocation , setPopupSize , setPopupSize , setSelected , setSelectionModel , setUI , setVisible , show , updateUI
 
Ŭ·¡½º javax.swing. JComponent ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
addAncestorListener , addNotify , addPropertyChangeListener , addPropertyChangeListener , addVetoableChangeListener , computeVisibleRect , contains , createToolTip , disable , enable , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , firePropertyChange , fireVetoableChange , getActionForKeyStroke , getActionMap , getAlignmentX , getAlignmentY , getAncestorListeners , getAutoscrolls , getBorder , getBounds , getClientProperty , getComponentGraphics , getConditionForKeyStroke , getDebugGraphicsOptions , getDefaultLocale , getGraphics , getHeight , getInputMap , getInputMap , getInputVerifier , getInsets , getInsets , getListeners , getLocation , getMaximumSize , getMinimumSize , getNextFocusableComponent , getPreferredSize , getPropertyChangeListeners , getPropertyChangeListeners , getRegisteredKeyStrokes , getRootPane , getSize , getToolTipLocation , getToolTipText , getToolTipText , getTopLevelAncestor , getTransferHandler , getVerifyInputWhenFocusTarget , getVetoableChangeListeners , getVisibleRect , getWidth , getX , getY , grabFocus , isDoubleBuffered , isLightweightComponent , isManagingFocus , isMaximumSizeSet , isMinimumSizeSet , isOpaque , isOptimizedDrawingEnabled , isPaintingTile , isPreferredSizeSet , isRequestFocusEnabled , isValidateRoot , paint , paintChildren , paintComponent , paintImmediately , paintImmediately , print , printAll , printBorder , printChildren , printComponent , processComponentKeyEvent , processKeyBinding , processMouseMotionEvent , putClientProperty , registerKeyboardAction , registerKeyboardAction , removeAncestorListener , removeNotify , removePropertyChangeListener , removePropertyChangeListener , removeVetoableChangeListener , repaint , repaint , requestDefaultFocus , requestFocus , requestFocus , requestFocusInWindow , requestFocusInWindow , resetKeyboardActions , reshape , revalidate , scrollRectToVisible , setActionMap , setAlignmentX , setAlignmentY , setAutoscrolls , setBackground , setBorder , setDebugGraphicsOptions , setDefaultLocale , setDoubleBuffered , setEnabled , setFont , setForeground , setInputMap , setInputVerifier , setMaximumSize , setMinimumSize , setNextFocusableComponent , setOpaque , setPreferredSize , setRequestFocusEnabled , setToolTipText , setTransferHandler , setUI , setVerifyInputWhenFocusTarget , unregisterKeyboardAction , update
 
Ŭ·¡½º java.awt. Container ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
add , add , add , add , add , addContainerListener , addImpl , applyComponentOrientation , areFocusTraversalKeysSet , countComponents , deliverEvent , doLayout , findComponentAt , findComponentAt , getComponent , getComponentAt , getComponentAt , getComponentCount , getComponents , getContainerListeners , getFocusTraversalKeys , getFocusTraversalPolicy , getLayout , insets , invalidate , isAncestorOf , isFocusCycleRoot , isFocusCycleRoot , isFocusTraversalPolicySet , layout , list , list , locate , minimumSize , paintComponents , preferredSize , printComponents , processContainerEvent , processEvent , remove , removeAll , removeContainerListener , setFocusCycleRoot , setFocusTraversalKeys , setFocusTraversalPolicy , setLayout , transferFocusBackward , transferFocusDownCycle , validate , validateTree
 
Ŭ·¡½º java.awt. Component ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
action , add , addComponentListener , addFocusListener , addHierarchyBoundsListener , addHierarchyListener , addInputMethodListener , addKeyListener , addMouseListener , addMouseMotionListener , addMouseWheelListener , bounds , checkImage , checkImage , coalesceEvents , contains , createImage , createImage , createVolatileImage , createVolatileImage , disableEvents , dispatchEvent , enable , enableEvents , enableInputMethods , getBackground , getBounds , getColorModel , getComponentListeners , getComponentOrientation , getCursor , getDropTarget , getFocusCycleRootAncestor , getFocusListeners , getFocusTraversalKeysEnabled , getFont , getFontMetrics , getForeground , getGraphicsConfiguration , getHierarchyBoundsListeners , getHierarchyListeners , getIgnoreRepaint , getInputContext , getInputMethodListeners , getInputMethodRequests , getKeyListeners , getLocale , getLocation , getLocationOnScreen , getMouseListeners , getMouseMotionListeners , getMouseWheelListeners , getName , getParent , getPeer , getSize , getToolkit , getTreeLock , gotFocus , handleEvent , hasFocus , imageUpdate , inside , isBackgroundSet , isCursorSet , isDisplayable , isEnabled , isFocusable , isFocusOwner , isFontSet , isForegroundSet , isLightweight , isShowing , isValid , keyDown , keyUp , list , list , list , location , lostFocus , mouseDown , mouseDrag , mouseEnter , mouseExit , mouseMove , mouseUp , move , nextFocus , paintAll , postEvent , prepareImage , prepareImage , processComponentEvent , processHierarchyBoundsEvent , processHierarchyEvent , processInputMethodEvent , processMouseEvent , processMouseWheelEvent , remove , removeComponentListener , removeFocusListener , removeHierarchyBoundsListener , removeHierarchyListener , removeInputMethodListener , removeKeyListener , removeMouseListener , removeMouseMotionListener , removeMouseWheelListener , repaint , repaint , repaint , resize , resize , setBounds , setBounds , setComponentOrientation , setCursor , setDropTarget , setFocusable , setFocusTraversalKeysEnabled , setIgnoreRepaint , setLocale , setLocation , setName , setSize , setSize , show , size , toString , transferFocus , transferFocusUpCycle
 
Ŭ·¡½º java.lang. Object ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 
ÀÎÅÍÆäÀ̽º javax.swing.plaf.basic. ComboPopup ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
isVisible
 

ÇʵåÀÇ »ó¼¼

comboBox

protected JComboBox  comboBox

list

protected JList  list
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, ¾×¼¼½º¿ë ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
getList() , createList()

scroller

protected JScrollPane  scroller
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createScroller()

valueIsAdjusting

protected boolean valueIsAdjusting
¹®¼­·ÎºÎÅÍ »èÁ¦ ³¡³­ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 4 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.


mouseMotionListener

protected MouseMotionListener  mouseMotionListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, ¾×¼¼½º¿ë ¸Þ¼Òµå ¶Ç´Â »ý¼º¿ë ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
getMouseMotionListener() , createMouseMotionListener()

mouseListener

protected MouseListener  mouseListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, ¾×¼¼½º¿ë ¸Þ¼Òµå ¶Ç´Â »ý¼º¿ë ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
getMouseListener() , createMouseListener()

keyListener

protected KeyListener  keyListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, ¾×¼¼½º¿ë ¸Þ¼Òµå ¶Ç´Â »ý¼º¿ë ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
getKeyListener() , createKeyListener()

listSelectionListener

protected ListSelectionListener  listSelectionListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createListSelectionListener()

listMouseListener

protected MouseListener  listMouseListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createListMouseListener()

listMouseMotionListener

protected MouseMotionListener  listMouseMotionListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createListMouseMotionListener()

propertyChangeListener

protected PropertyChangeListener  propertyChangeListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createPropertyChangeListener()

listDataListener

protected ListDataListener  listDataListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createListDataListener()

itemListener

protected ItemListener  itemListener
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. ´ë½Å¿¡, »ý¼º ¸Þ¼Òµå¸¦ »ç¿ëÇØ ÁÖ¼¼¿ä.

°ü·Ã Ç׸ñ:
createItemListener()

autoscrollTimer

protected Timer  autoscrollTimer
ÀÌ protected Çʵå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀÔ´Ï´Ù. Á÷Á¢ ¾×¼¼½º ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä.


hasEntered

protected boolean hasEntered

isAutoScrolling

protected boolean isAutoScrolling

scrollDirection

protected int scrollDirection

SCROLL_UP

protected static final int SCROLL_UP
°ü·Ã Ç׸ñ:
Á¤¼ö ÇʵåÄ¡

SCROLL_DOWN

protected static final int SCROLL_DOWN
°ü·Ã Ç׸ñ:
Á¤¼ö ÇʵåÄ¡
»ý¼ºÀÚÀÇ »ó¼¼

BasicComboPopup

public BasicComboPopup(JComboBox  combo)
¸Þ¼ÒµåÀÇ »ó¼¼

show

public void show()
ComboPopup.show()ÀÇ ±¸ÇöÀÔ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ show
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Component ³»ÀÇ show

hide

public void hide()
ComboPopup.hide()ÀÇ ±¸ÇöÀÔ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ hide
¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Component ³»ÀÇ hide

getList

public JList  getList()
ComboPopup.getList()ÀÇ ±¸ÇöÀÔ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ getList

getMouseListener

public MouseListener  getMouseListener()
ComboPopup.getMouseListener()ÀÇ ±¸ÇöÀÔ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ getMouseListener
¹Ýȯ°ª:
MouseListener ¶Ç´Â null
°ü·Ã Ç׸ñ:
ComboPopup.getMouseListener()

getMouseMotionListener

public MouseMotionListener  getMouseMotionListener()
ComboPopup.getMouseMotionListener()ÀÇ ±¸ÇöÀÔ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ getMouseMotionListener
¹Ýȯ°ª:
MouseMotionListener ¶Ç´Â null
°ü·Ã Ç׸ñ:
ComboPopup.getMouseMotionListener()

getKeyListener

public KeyListener  getKeyListener()
ComboPopup.getKeyListener()ÀÇ ±¸ÇöÀÔ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ getKeyListener
¹Ýȯ°ª:
KeyListener ¶Ç´Â null
°ü·Ã Ç׸ñ:
ComboPopup.getKeyListener()

uninstallingUI

public void uninstallingUI()
UI °¡ ¾ðÀνºÅçÇϰí ÀÖÀ» ¶§ ºÒ·Á °©´Ï´Ù. ÀÌ pop-up´Â ÄÄÆÛ³ÍÆ® Æ®¸®¿¡ Æ÷ÇÔµÇÁö ¾Ê±â ¶§¹®¿¡, ÄÄÆÛ³ÍÆ® Æ®¸®ÀÇ uninstallUI()´Â ºÒ·Á °¡Áö ¾Ê½À´Ï´Ù. addComboBoxListeners()¿¡ Ãß°¡µÈ ûÃëÀÚ¸¦ »èÁ¦ÇÕ´Ï´Ù.

Á¤ÀÇ:
ÀÎÅÍÆäÀ̽º ComboPopup ³»ÀÇ uninstallingUI

uninstallComboBoxModelListeners

protected void uninstallComboBoxModelListeners(ComboBoxModel  model)
combobox ¸ðµ¨·ÎºÎÅÍ Ã»ÃëÀÚ¸¦ »èÁ¦ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
model - ûÃëÀÚ¸¦ ÀνºÅç ÇÏ´Â combobox ¸ðµ¨
°ü·Ã Ç׸ñ:
installComboBoxModelListeners

uninstallKeyboardActions

protected void uninstallKeyboardActions()

firePopupMenuWillBecomeVisible

protected void firePopupMenuWillBecomeVisible()
Ŭ·¡½º JPopupMenu ÀÇ ±â¼ú:
PopupMenuListener ¿¡, pop-up menu°¡ °¡½Ã°¡ µÇ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JPopupMenu ³»ÀÇ firePopupMenuWillBecomeVisible

firePopupMenuWillBecomeInvisible

protected void firePopupMenuWillBecomeInvisible()
Ŭ·¡½º JPopupMenu ÀÇ ±â¼ú:
PopupMenuListener ¿¡, pop-up menu°¡ ºÒ°¡½Ã°¡ µÇ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JPopupMenu ³»ÀÇ firePopupMenuWillBecomeInvisible

firePopupMenuCanceled

protected void firePopupMenuCanceled()
Ŭ·¡½º JPopupMenu ÀÇ ±â¼ú:
PopupMenuListener ¿¡, pop-up menu°¡ »èÁ¦µÈ °ÍÀ» ÅëÁöÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º JPopupMenu ³»ÀÇ firePopupMenuCanceled

createMouseListener

protected MouseListener  createMouseListener()
combobox»ó¿¡¼­ mouse button¸¦ ´©¸£°Å³ª ¶¼¾î ³õ°Å³ª ÇÏ´Â À̺¥Æ®¸¦ °¨½ÃÇϴ ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. °æ°í: ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °æ¿ì, ¹Ýµå½Ã ÇöÀçÀÇ µ¿ÀÛÀ» À¯ÁöÇϵµ·Ï ÇØ ÁÖ¼¼¿ä.

¹Ýȯ°ª:
combobox¿¡ Ãß°¡µÇ´Â MouseListener, ¶Ç´Â null

createMouseMotionListener

protected MouseMotionListener  createMouseMotionListener()
combobox¿¡ Ãß°¡µÇ´Â ¸¶¿ì½º µ¿ÀÛ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. °æ°í: ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÏ´Â °æ¿ì, ¹Ýµå½Ã ÇöÀçÀÇ µ¿ÀÛÀ» À¯ÁöÇϵµ·Ï ÇØ ÁÖ¼¼¿ä.

¹Ýȯ°ª:
combobox¿¡ Ãß°¡µÇ´Â MouseMotionListener, ¶Ç´Â null

createKeyListener

protected KeyListener  createKeyListener()
combobox¿¡ Ãß°¡µÇ´Â Ű ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¹Ýȯ°ª:
KeyListener ¶Ç´Â null

createListSelectionListener

protected ListSelectionListener  createListSelectionListener()
pop-upÀÇ ¸®½ºÆ®ÀÇ ¼±Åà º¯°æÀ» °¨½ÃÇÏ´Â ¸®½ºÆ® ¼±Åà ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, pop-up ¸®½ºÆ®¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¹Ýȯ°ª:
ListSelectionListener ÀÇ ÀνºÅϽº, ¶Ç´Â null

createListDataListener

protected ListDataListener  createListDataListener()
ComboBoxModel ¿¡ Ãß°¡µÇ´Â ¸®½ºÆ® µ¥ÀÌÅÍ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox ¸ðµ¨¿¡°Ô´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¹Ýȯ°ª:
ListDataListener ÀÇ ÀνºÅϽº, ¶Ç´Â null

createListMouseListener

protected MouseListener  createListMouseListener()
pop-upÀÇ ¸®½ºÆ®ÀÇ ¸¶¿ì½º À̺¥Æ®¸¦ °¨½ÃÇÏ´Â ¸¶¿ì½º ûÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¹Ýȯ°ª:
MouseListener ÀÇ ÀνºÅϽº, ¶Ç´Â null

createListMouseMotionListener

protected MouseMotionListener  createListMouseMotionListener()
pop-upÀÇ ¸®½ºÆ®ÀÇ ¸¶¿ì½º µ¿ÀÛ À̺¥Æ®¸¦ °¨½ÃÇÏ´Â ¸¶¿ì½º µ¿ÀÛ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¹Ýȯ°ª:
MouseMotionListener ÀÇ ÀνºÅϽº, ¶Ç´Â null

createPropertyChangeListener

protected PropertyChangeListener  createPropertyChangeListener()
combobox¿¡ Ãß°¡µÇ´Â PropertyChangeListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¹Ýȯ°ª:
PropertyChangeListener ÀÇ ÀνºÅϽº, ¶Ç´Â null

createItemListener

protected ItemListener  createItemListener()
combobox¿¡ Ãß°¡µÇ´Â ItemListener ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.

¼­ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, µ¶ÀÚÀûÀÎ ItemEvent Çڵ鷯ÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÙ ¼ö°¡ ÀÖ½À´Ï´Ù.

¹Ýȯ°ª:
ItemListener ÀÇ ÀνºÅϽº, ¶Ç´Â null

createList

protected JList  createList()
combobox ¸ðµ¨ÀÇ Ç׸ñÀ» Ç¥½ÃÇϱâ À§Çؼ­, pop-up·Î »ç¿ëµÇ´Â JList ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. UI Ŭ·¡½º ÀÛ¼º½Ã¿¡, ÀÌ ¸Þ¼Òµå´Â ºÒ·Á °©´Ï´Ù.

¹Ýȯ°ª:
combobox Ç׸ñÀÇ Ç¥½Ã¿¡ »ç¿ëµÇ´Â JList

configureList

protected void configureList()
pop-upÀÇ combobox Ç׸ñÀÇ º¸Á¸¿¡ »ç¿ëµÇ´Â ¸®½ºÆ®¸¦ ¼³Á¤ÇÕ´Ï´Ù. UI Ŭ·¡½º ÀÛ¼º½Ã¿¡, ÀÌ ¸Þ¼Òµå´Â ºÒ·Á °©´Ï´Ù.

°ü·Ã Ç׸ñ:
createList

installListListeners

protected void installListListeners()
¸®½ºÆ® ÄÁÆ®·Ñ¿¡ ûÃëÀÚ¸¦ Ãß°¡ÇÕ´Ï´Ù.


createScroller

protected JScrollPane  createScroller()
½ºÅ©·Ñ °¡´ÉÇÑ ¸®½ºÆ®¸¦ ¼ö³³ÇÏ´Â ½ºÅ©·Ñ ±¸È¹À» ÀÛ¼ºÇÕ´Ï´Ù.


configureScroller

protected void configureScroller()
combobox pop-up³»ÀÇ ¸®½ºÆ®¸¦ ¼ö³³ÇÏ´Â ½ºÅ©·Ñ °¡´ÉÇÑ ºÎºÐÀ» ¼³Á¤ÇÕ´Ï´Ù. UI Ŭ·¡½º ÀÛ¼º½Ã¿¡, ÀÌ ¸Þ¼Òµå´Â ºÒ·Á °©´Ï´Ù.


configurePopup

protected void configurePopup()
comboboxÀÇ pop-up ºÎºÐÀ» ¼³Á¤ÇÕ´Ï´Ù. UI Ŭ·¡½º ÀÛ¼º½Ã¿¡, ÀÌ ¸Þ¼Òµå´Â ºÒ·Á °©´Ï´Ù.


installComboBoxListeners

protected void installComboBoxListeners()
JComboBox ¿¡ ÇÊ¿äÇÑ Ã»ÃëÀÚ¸¦ Ãß°¡ÇÕ´Ï´Ù.


installComboBoxModelListeners

protected void installComboBoxModelListeners(ComboBoxModel  model)
combobox ¸ðµ¨»ó¿¡ ûÃëÀÚ¸¦ ÀνºÅç ÇÕ´Ï´Ù. combobox ¸ðµ¨»ó¿¡ ÀνºÅç µÈ Ã»ÃëÀÚ´Â ¸ðµÎ,uninstallComboBoxModelListeners ·ÎºÎÅÍ »èÁ¦ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
model - ûÃëÀÚ¸¦ ÀνºÅç ÇÏ´Â combobox ¸ðµ¨
°ü·Ã Ç׸ñ:
uninstallComboBoxModelListeners

installKeyboardActions

protected void installKeyboardActions()

isFocusTraversable

public boolean isFocusTraversable()
¹«Á¶°ÇÀ¸·Î false ¸¦ µ¹·ÁÁÖ±â À§Çؼ­(¶§¹®¿¡) ¿À¹ö¶óÀ̵å(override) µË´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Component ³»ÀÇ isFocusTraversable
¹Ýȯ°ª:
ÀÌ Component °¡ Æ÷Ä¿½º¸¦ ÃëµæÇÒ ¼ö ÀÖ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
°ü·Ã Ç׸ñ:
Component.setFocusable(boolean)

startAutoScrolling

protected void startAutoScrolling(int direction)
protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. È£ÃâÇØ, ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä.


stopAutoScrolling

protected void stopAutoScrolling()
protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. È£ÃâÇØ ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä.


autoScrollUp

protected void autoScrollUp()
protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. È£ÃâÇØ ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä.


autoScrollDown

protected void autoScrollDown()
protected ¸Þ¼Òµå´Â ±¸Çö °íÀ¯ÀÇ °ÍÀ¸·Î, private ÀÏ Çʿ䰡 ÀÖ½À´Ï´Ù. È£ÃâÇØ ¶Ç´Â ¿À¹ö¶óÀ̵å(override) ÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä.


delegateFocus

protected void delegateFocus(MouseEvent  e)
pop-up°¡ ¿­¸± ¶§, Æ÷Ä¿½ºÀÇ ¹ß¼ÛÁö¸¦ À̺¥Æ® Çڵ鷯°¡ °áÁ¤µÇ´Â °ÍÀ» º¸Á¶ÇÏ´Â À¯Æ¿¸®Æ¼ ¸Þ¼ÒµåÀÔ´Ï´Ù. Ç¥ÁØÀûÀÎ ±¸Çö¿¡¼­´Â combobox°¡ ÆíÁý °¡´ÉÇÑ °æ¿ì´Â ¿¡µðÅÍ¿¡ Æ÷Ä¿½º¸¦ delegate ÇØ, ÆíÁý ºÒ°¡´ÉÇÑ °æ¿ì´Â JComboBox ¿¡ delegate ÇÕ´Ï´Ù.


togglePopup

protected void togglePopup()
pop-up°¡ ¼û°ÜÁö°í ÀÖÀ¸¸éÀº pop-up¸¦ °¡½Ã·Î ÇØ, °¡½ÃÀ̸é pop-up¸¦ ¼û±é´Ï´Ù.


convertMouseEvent

protected MouseEvent  convertMouseEvent(MouseEvent  e)

getPopupHeightForRowCount

protected int getPopupHeightForRowCount(int maxRowCount)
ÇöÀçÀÇ ListCellRenderer ¿¡ ±Ù°ÅÇÏ´Â pop-upÀÇ ³ôÀÌ¿Í ÃÖ´ëÇà¼ö¸¦ °ËÃâÇÕ´Ï´Ù.


computePopupBounds

protected Rectangle  computePopupBounds(int px,
                                       int py,
                                       int pw,
                                       int ph)

updateListBoxSelectionForEvent

protected void updateListBoxSelectionForEvent(MouseEvent  anEvent,
                                              boolean shouldScroll)
À̺¥Æ® ûÃëÀÚ°¡ »ç¿ëÇÏ´Â À¯Æ¿¸®Æ¼ ¸Þ¼ÒµåÀÔ´Ï´Ù. ¸¶¿ì½º À̺¥Æ®¸¦ ¹Þ¾Æ, ¸¶¿ì½º¾Æ·¡¿¡ ÀÖ´Â ¸®½ºÆ® Ç׸ñÀÇ ¸®½ºÆ® ¼±ÅÃÀ» º¯°æÇÕ´Ï´Ù.


JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

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.