com.togethersoft.openapi.ide.inspector.util.editors
Class SwingComboBoxEditor
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport
|
+--com.togethersoft.openapi.ide.inspector.util.editors.SwingComboBoxEditorBase
|
+--com.togethersoft.openapi.ide.inspector.util.editors.SwingComboBoxEditor
- public class SwingComboBoxEditor
- extends SwingComboBoxEditorBase
Represents editor on the base of MutableComboBox.
- Author:
- TogetherSoft
- Since: Together 4.0
| Constructor Summary |
SwingComboBoxEditor() Creates ComboBox with the default mutable model and without lists of the visible names and icons. |
SwingComboBoxEditor(MutableComboBoxModel model) Creates ComboBox with the lists of the visible names and icons. |
SwingComboBoxEditor(MutableComboBoxModel model, String[] visibleNames, String[] iconNames) Creates ComboBox with the custom model, list of visible names and icons names. |
| Methods inherited from class java.beans.PropertyEditorSupport |
isPaintable, paintValue, getJavaInitializationString, getAsText, setAsText, getTags, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |
myComboModel
private MutableComboBoxModel myComboModel
myIconsMap
private Map myIconsMap
SwingComboBoxEditor
public SwingComboBoxEditor()
- Creates ComboBox with the default mutable model and without lists of the visible names and icons.
SwingComboBoxEditor
public SwingComboBoxEditor(MutableComboBoxModel model)
- Creates ComboBox with the lists of the visible names and icons.
SwingComboBoxEditor
public SwingComboBoxEditor(MutableComboBoxModel model, String[] visibleNames, String[] iconNames)
- Creates ComboBox with the custom model, list of visible names and icons names.
getRenderer
protected ListCellRenderer getRenderer()
to Class javax.swing.MutableComboBoxModel
to Class java.util.Map