java.lang.Object
org.scopemvc.core.ModelManager
org.scopemvc.core.EditorManager
org.scopemvc.model.beans.BeansEditorManager
- public class BeansEditorManager
- extends org.scopemvc.core.EditorManager
BeansEditorManager is a
org.scopemvc.core.EditorManager that handles
creation of editors and viewer for properties of JavaBean model objects.
Currently this ignores BeanInfo and uses the defaults in
org.scopemvc.view.util.PropertyEditorFactory
since the BeanInfo API has no way to distinguish different
View implementations and doesn't have a getter for a viewer,
just an editor. We could handle this a little better by
type-checking the BeanInfo property editor for instanceof JComponent
(and View) to see if it has a Swing impl, however that doesn't really work
for arbitrary view types.
- Version:
- $Revision: 1.4 $ $Date: 2002/01/26 09:46:20 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.commons.logging.Log LOG
BeansEditorManager
public BeansEditorManager()
getEditor
public org.scopemvc.core.View getEditor(java.lang.String inViewType,
java.lang.Object inModel,
org.scopemvc.core.Selector inSelector)
getViewer
public org.scopemvc.core.View getViewer(java.lang.String inViewType,
java.lang.Object inModel,
org.scopemvc.core.Selector inSelector)