Class ComboBoxImageIconModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultComboBoxModel
org.gvsig.gui.beans.swing.jComboBoxWithImageIconItems.ComboBoxImageIconModel
- All Implemented Interfaces:
Serializable,ComboBoxModel,ListModel,MutableComboBoxModel
Model for 'JPanelWithJComboBoxImageIconItems', stores the attribute 'showImageIconAndText'
- Author:
- Pablo Piqueras Bartolomé (p_queras@hotmail.com)
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of the inner attribute 'imageIconAndText'voidsetShowImageIconAndTextProperty(boolean b) Sets the value of the inner attribute 'imageIconAndText'Methods inherited from class javax.swing.DefaultComboBoxModel
addAll, addAll, addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItemMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Field Details
-
DEFAULT_SHOW_IMAGE_ICON_AND_TEXT_PROPERTY
public static final boolean DEFAULT_SHOW_IMAGE_ICON_AND_TEXT_PROPERTY- See Also:
-
-
Constructor Details
-
ComboBoxImageIconModel
public ComboBoxImageIconModel()- See Also:
-
ComboBoxImageIconModel
- See Also:
-
ComboBoxImageIconModel
- See Also:
-
-
Method Details
-
setShowImageIconAndTextProperty
public void setShowImageIconAndTextProperty(boolean b) Sets the value of the inner attribute 'imageIconAndText'- Parameters:
b- A boolean value
-
getShowImageIconAndTextProperty
public boolean getShowImageIconAndTextProperty()Returns the value of the inner attribute 'imageIconAndText'- Returns:
- A boolean value
-