org.springframework.richclient.filechooser
Class FileChooserComboBox
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.filechooser.FileChooserComboBox
- All Implemented Interfaces:
- ControlFactory
public class FileChooserComboBox
- extends AbstractControlFactory
A combo box that allows you to type and/or select files, as well as click a
Browse button to navigate to the file you wish to work with.
- Author:
- Keith Donald
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileChooserComboBox
public FileChooserComboBox()
FileChooserComboBox
public FileChooserComboBox(ValidatingFormModel formModel,
String formProperty)
addValidationListener
public void addValidationListener(ValidationListener listener)
removeValidationListener
public void removeValidationListener(ValidationListener listener)
setLabelMessageCode
public void setLabelMessageCode(String labelKey)
setStartDirectory
public void setStartDirectory(File file)
getStartDirectory
public File getStartDirectory()
getSelectedFile
public File getSelectedFile()
setEnabled
public void setEnabled(boolean enabled)
createControl
protected JComponent createControl()
- Description copied from class:
AbstractControlFactory
- Subclasses must override this method to create a new instance of the
control that this factory produces.
- Specified by:
createControl
in class AbstractControlFactory
- Returns:
- The newly created control, never null.
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.