com.partnersoft.gui.forms
Class FormIconPicklistField
java.lang.Object
com.partnersoft.gui.forms.AbstractFormField<java.lang.String>
com.partnersoft.gui.forms.FormIconPicklistField
- All Implemented Interfaces:
- FormField<java.lang.String>
public class FormIconPicklistField
- extends AbstractFormField<java.lang.String>
A FormField implemented with a JComboBox containing icons. Values are represented as the icon basenames, not
the icons themselves.
Copyright 2004-2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormIconPicklistField
public FormIconPicklistField()
FormIconPicklistField
public FormIconPicklistField(ImageFactory imageFactory)
setModel
public void setModel(javax.swing.ComboBoxModel newModel)
getSelectedIndex
public int getSelectedIndex()
setSelectedIndex
public void setSelectedIndex(int newIndex)
getValue
public java.lang.String getValue()
- Description copied from interface:
FormField
- Returns the current value for this field.
setValue
public void setValue(java.lang.String newItem)
- Description copied from interface:
FormField
- Sets the current value for this field.
setImageFactory
public void setImageFactory(ImageFactory newImageFactory)
getJComboBox
public javax.swing.JComboBox getJComboBox()
isShowName
public boolean isShowName()
setShowName
public void setShowName(boolean showName)
getFixedWidth
public int getFixedWidth()
setFixedWidth
public void setFixedWidth(int fixedWidth)
getFixedHeight
public int getFixedHeight()
setFixedHeight
public void setFixedHeight(int fixedHeight)