JavaTM 2 Platform
Standard Ed. 5.0

javax.swing
ÀÎÅÍÆäÀ̽º ComboBoxEditor

¾Ë·ÁÁø ±¸Çö Ŭ·¡½º ¸ñ·Ï:
BasicComboBoxEditor, BasicComboBoxEditor.UIResource, MetalComboBoxEditor, MetalComboBoxEditor.UIResource

public interface ComboBoxEditor

JComboBox ÄÄÆÛ³ÍÆ®¿¡ »ç¿ëµÇ´Â ¿¡µðÅÍ ÄÄÆÛ³ÍÆ®ÀÔ´Ï´Ù.


¸Þ¼­µå °³¿ä
 void addActionListener (ActionListener  l)
          ¾×¼Ç ¸®½º³Ê¸¦ Ãß°¡ÇÕ´Ï´Ù.
 Component getEditorComponent ()
          ¿¡µðÅÍÀÇ Æ®¸® °èÃþ¿¡ Ãß°¡ÇÏ´Â ÄÄÆÛ³ÍÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 Object getItem ()
          ÆíÁý Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù.
 void removeActionListener (ActionListener  l)
          ¾×¼Ç ¸®½º³Ê¸¦ »èÁ¦ÇÕ´Ï´Ù.
 void selectAll ()
          ¿¡µðÅÍ¿¡ ÆíÁýÀÇ °³½Ã¿Í ¸ðµç ¼±ÅÃÀ» ¿ä±¸ÇÕ´Ï´Ù.
 void setItem (Object  anObject)
          ÆíÁý Ç׸ñÀ» ¼³Á¤ÇÕ´Ï´Ù.
 

¸Þ¼­µåÀÇ »ó¼¼

getEditorComponent

Component  getEditorComponent()
¿¡µðÅÍÀÇ Æ®¸® °èÃþ¿¡ Ãß°¡ÇÏ´Â ÄÄÆÛ³ÍÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù.


setItem

void setItem(Object  anObject)
ÆíÁý Ç׸ñÀ» ¼³Á¤ÇÕ´Ï´Ù. ÇÊ¿ä¿¡ µû¶ó¼­ ÆíÁýÀ» Ãë¼ÒÇÕ´Ï´Ù.


getItem

Object  getItem()
ÆíÁý Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù.


selectAll

void selectAll()
¿¡µðÅÍ¿¡ ÆíÁýÀÇ °³½Ã¿Í ¸ðµç ¼±ÅÃÀ» ¿ä±¸ÇÕ´Ï´Ù.


addActionListener

void addActionListener(ActionListener  l)
¾×¼Ç ¸®½º³Ê¸¦ Ãß°¡ÇÕ´Ï´Ù. ÆíÁý Ç׸ñÀÌ º¯°æµÇ¸é, ¾×¼Ç À̺¥Æ®°¡ »ý¼ºµË´Ï´Ù.


removeActionListener

void removeActionListener(ActionListener  l)
¾×¼Ç ¸®½º³Ê¸¦ »èÁ¦ÇÕ´Ï´Ù.


JavaTM 2 Platform
Standard Ed. 5.0

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