JDatePicker v4.3

com.standbysoft.component.util.swing
Interface ComboBoxUIExt

All Known Implementing Classes:
AquaComboBoxUIExt, DefaultComboBoxUIExt, MetalComboBoxUIExt, MotifComboBoxUIExt, WindowsComboBoxUIExt

public interface ComboBoxUIExt

Used to extend the popup functionality of a ComboBoxUI object.

One can specify a different popup for a JComboBox object by overriding the BasicComboBoxUI#createPopup() method. But this method is protected so you need to have a reference to the popup in order to return it.

If you extend BasicComboBoxUI or any other class derived from it and also implement this interface, you will be able to set you own combo popup.


Method Summary
 void setComboPopup(javax.swing.plaf.basic.ComboPopup popup)
          Specifies a new combo popup.
 

Method Detail

setComboPopup

public void setComboPopup(javax.swing.plaf.basic.ComboPopup popup)
Specifies a new combo popup.

Parameters:
popup - new specified combo popup

JDatePicker v4.3

Visit www.jdatepicker.com for further information or send us your suggestions.

Copyright © 2003-2007 Stand By Soft Ltd. All Rights Reserved.