|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPopupMenu | +--javax.swing.plaf.basic.BasicComboPopup
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 |
Ŭ·¡½º 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.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
ÀÎÅÍÆäÀ̽º javax.swing.plaf.basic. ComboPopup ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
isVisible |
ÇʵåÀÇ »ó¼¼ |
protected JComboBox comboBox
protected JList list
getList()
,
createList()
protected JScrollPane scroller
createScroller()
protected boolean valueIsAdjusting
protected MouseMotionListener mouseMotionListener
getMouseMotionListener()
,
createMouseMotionListener()
protected MouseListener mouseListener
getMouseListener()
,
createMouseListener()
protected KeyListener keyListener
getKeyListener()
,
createKeyListener()
protected ListSelectionListener listSelectionListener
createListSelectionListener()
protected MouseListener listMouseListener
createListMouseListener()
protected MouseMotionListener listMouseMotionListener
createListMouseMotionListener()
protected PropertyChangeListener propertyChangeListener
createPropertyChangeListener()
protected ListDataListener listDataListener
createListDataListener()
protected ItemListener itemListener
createItemListener()
protected Timer autoscrollTimer
protected boolean hasEntered
protected boolean isAutoScrolling
protected int scrollDirection
protected static final int SCROLL_UP
protected static final int SCROLL_DOWN
»ý¼ºÀÚÀÇ »ó¼¼ |
public BasicComboPopup(JComboBox combo)
¸Þ¼ÒµåÀÇ »ó¼¼ |
public void show()
ComboPopup
³»ÀÇ show
Component
³»ÀÇ show
public void hide()
ComboPopup
³»ÀÇ hide
Component
³»ÀÇ hide
public JList getList()
ComboPopup
³»ÀÇ getList
public MouseListener getMouseListener()
ComboPopup
³»ÀÇ getMouseListener
MouseListener
¶Ç´Â nullComboPopup.getMouseListener()
public MouseMotionListener getMouseMotionListener()
ComboPopup
³»ÀÇ getMouseMotionListener
MouseMotionListener
¶Ç´Â nullComboPopup.getMouseMotionListener()
public KeyListener getKeyListener()
ComboPopup
³»ÀÇ getKeyListener
KeyListener
¶Ç´Â nullComboPopup.getKeyListener()
public void uninstallingUI()
ComboPopup
³»ÀÇ uninstallingUI
protected void uninstallComboBoxModelListeners(ComboBoxModel model)
model
- ûÃëÀÚ¸¦ ÀνºÅç ÇÏ´Â combobox ¸ðµ¨installComboBoxModelListeners
protected void uninstallKeyboardActions()
protected void firePopupMenuWillBecomeVisible()
JPopupMenu
ÀÇ ±â¼ú: PopupMenuListener
¿¡, pop-up menu°¡ °¡½Ã°¡ µÇ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù.
JPopupMenu
³»ÀÇ firePopupMenuWillBecomeVisible
protected void firePopupMenuWillBecomeInvisible()
JPopupMenu
ÀÇ ±â¼ú: PopupMenuListener
¿¡, pop-up menu°¡ ºÒ°¡½Ã°¡ µÇ´Â °ÍÀ» ÅëÁöÇÕ´Ï´Ù.
JPopupMenu
³»ÀÇ firePopupMenuWillBecomeInvisible
protected void firePopupMenuCanceled()
JPopupMenu
ÀÇ ±â¼ú: PopupMenuListener
¿¡, pop-up menu°¡ »èÁ¦µÈ °ÍÀ» ÅëÁöÇÕ´Ï´Ù.
JPopupMenu
³»ÀÇ firePopupMenuCanceled
protected MouseListener createMouseListener()
MouseListener
, ¶Ç´Â nullprotected MouseMotionListener createMouseMotionListener()
MouseMotionListener
, ¶Ç´Â nullprotected KeyListener createKeyListener()
KeyListener
¶Ç´Â nullprotected ListSelectionListener createListSelectionListener()
ListSelectionListener
ÀÇ ÀνºÅϽº, ¶Ç´Â nullprotected ListDataListener createListDataListener()
ComboBoxModel
¿¡ Ãß°¡µÇ´Â ¸®½ºÆ® µ¥ÀÌÅÍ Ã»ÃëÀÚ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox ¸ðµ¨¿¡°Ô´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.
ListDataListener
ÀÇ ÀνºÅϽº, ¶Ç´Â nullprotected MouseListener createListMouseListener()
MouseListener
ÀÇ ÀνºÅϽº, ¶Ç´Â nullprotected MouseMotionListener createListMouseMotionListener()
MouseMotionListener
ÀÇ ÀνºÅϽº, ¶Ç´Â nullprotected PropertyChangeListener createPropertyChangeListener()
PropertyChangeListener
¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.
PropertyChangeListener
ÀÇ ÀνºÅϽº, ¶Ç´Â nullprotected ItemListener createItemListener()
ItemListener
¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå°¡ null ¸¦ µ¹·ÁÁÖ´Â °æ¿ì, combobox¿¡´Â Ãß°¡µÇÁö ¾Ê½À´Ï´Ù.
¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, µ¶ÀÚÀûÀÎ ItemEvent Çڵ鷯ÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÙ ¼ö°¡ ÀÖ½À´Ï´Ù.
ItemListener
ÀÇ ÀνºÅϽº, ¶Ç´Â nullprotected JList createList()
JList
protected void configureList()
createList
protected void installListListeners()
protected JScrollPane createScroller()
protected void configureScroller()
protected void configurePopup()
protected void installComboBoxListeners()
protected void installComboBoxModelListeners(ComboBoxModel model)
uninstallComboBoxModelListeners
·ÎºÎÅÍ »èÁ¦ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù.
model
- ûÃëÀÚ¸¦ ÀνºÅç ÇÏ´Â combobox ¸ðµ¨uninstallComboBoxModelListeners
protected void installKeyboardActions()
public boolean isFocusTraversable()
Component
³»ÀÇ isFocusTraversable
Component
°¡ Æ÷Ä¿½º¸¦ ÃëµæÇÒ ¼ö ÀÖ´Â °æ¿ì´Â true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
Component.setFocusable(boolean)
protected void startAutoScrolling(int direction)
protected void stopAutoScrolling()
protected void autoScrollUp()
protected void autoScrollDown()
protected void delegateFocus(MouseEvent e)
protected void togglePopup()
protected MouseEvent convertMouseEvent(MouseEvent e)
protected int getPopupHeightForRowCount(int maxRowCount)
protected Rectangle computePopupBounds(int px, int py, int pw, int ph)
protected void updateListBoxSelectionForEvent(MouseEvent anEvent, boolean shouldScroll)
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
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.