程序包 org.meteoinfo.ui
类 ColorComboBoxModel
- java.lang.Object
-
- javax.swing.AbstractListModel
-
- org.meteoinfo.ui.ColorComboBoxModel
-
- 所有已实现的接口:
java.io.Serializable,javax.swing.ComboBoxModel,javax.swing.ListModel
public class ColorComboBoxModel extends javax.swing.AbstractListModel implements javax.swing.ComboBoxModel- 作者:
- wyq
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ColorComboBoxModel(ColorMap[] value)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.ObjectgetElementAt(int index)java.lang.ObjectgetSelectedItem()intgetSize()voidsetSelectedItem(java.lang.Object item)-
从类继承的方法 javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
-
-
-
构造器详细资料
-
ColorComboBoxModel
public ColorComboBoxModel(ColorMap[] value)
Constructor- 参数:
value- Color tables
-
-
方法详细资料
-
getSelectedItem
public java.lang.Object getSelectedItem()
- 指定者:
getSelectedItem在接口中javax.swing.ComboBoxModel
-
setSelectedItem
public void setSelectedItem(java.lang.Object item)
- 指定者:
setSelectedItem在接口中javax.swing.ComboBoxModel
-
getElementAt
public java.lang.Object getElementAt(int index)
- 指定者:
getElementAt在接口中javax.swing.ListModel
-
getSize
public int getSize()
- 指定者:
getSize在接口中javax.swing.ListModel
-
-