org.springframework.richclient.selection.binding.support
Class SimpleSelectField

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.factory.AbstractControlFactory
          extended by org.springframework.richclient.selection.binding.support.SelectField
              extended by org.springframework.richclient.selection.binding.support.SimpleSelectField
All Implemented Interfaces:
PropertyChangePublisher, ControlFactory

public class SimpleSelectField
extends SelectField

SelectField implementation using a single JTextField.

Author:
Peter De Bruycker

Field Summary
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
SimpleSelectField()
           
 
Method Summary
protected  JComponent createRenderer()
          Create the component that will do the rendering.
protected  void render(Object value)
          Render the given value.
 
Methods inherited from class org.springframework.richclient.selection.binding.support.SelectField
addPropertyChangeListener, addPropertyChangeListener, clear, createControl, getLabelProvider, getValue, isEditable, removePropertyChangeListener, removePropertyChangeListener, setEditable, setEnabled, setLabelProvider, setSelectionDialog, setValue
 
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
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
 

Constructor Detail

SimpleSelectField

public SimpleSelectField()
Method Detail

render

protected void render(Object value)
Description copied from class: SelectField
Render the given value. Warning: the value can be null.

Specified by:
render in class SelectField
Parameters:
value - the value

createRenderer

protected JComponent createRenderer()
Description copied from class: SelectField
Create the component that will do the rendering. Cannot return null.

Specified by:
createRenderer in class SelectField
Returns:
the renderer component


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.