org.progeeks.meta.swing.editor
Class LongStringEditorFactory

java.lang.Object
  extended by org.progeeks.meta.swing.editor.LongStringEditorFactory
All Implemented Interfaces:
EditorFactory, RendererFactory

public class LongStringEditorFactory
extends java.lang.Object
implements EditorFactory, RendererFactory

Factory for LongStringEditors. Useful for treating the same class as both editor and renderer.

Version:
$Revision: 1.5 $
Author:
Paul Speed

Constructor Summary
LongStringEditorFactory()
           
 
Method Summary
 MetaPropertyEditor createPropertyEditor(MetaPropertyContext viewContext)
          Creates an editor for a specific set of property types.
 MetaPropertyRenderer createPropertyRenderer(MetaPropertyContext viewContext)
          Creates a renderer for a specific set of property types.
 boolean isAutoScroll()
           
 void setAutoScroll(boolean f)
          Set to true for the component to automatically scroll to the end of the text whenever the value changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongStringEditorFactory

public LongStringEditorFactory()
Method Detail

setAutoScroll

public void setAutoScroll(boolean f)
Set to true for the component to automatically scroll to the end of the text whenever the value changes.


isAutoScroll

public boolean isAutoScroll()

createPropertyEditor

public MetaPropertyEditor createPropertyEditor(MetaPropertyContext viewContext)
Creates an editor for a specific set of property types.

Specified by:
createPropertyEditor in interface EditorFactory
Parameters:
viewContext - The context within which this editor will be operating. It is up to the caller (usually the FactoryRegistry) to initialize the view with this view context. It is merely provide in case context information is necessary to decide which renderer to create.

createPropertyRenderer

public MetaPropertyRenderer createPropertyRenderer(MetaPropertyContext viewContext)
Creates a renderer for a specific set of property types.

Specified by:
createPropertyRenderer in interface RendererFactory
Parameters:
viewContext - The context within which this renderer will be operating. It is up to the caller (usually the FactoryRegistry) to initialize the view with this view context. It is merely provide in case context information is necessary to decide which renderer to create.


Copyright © 2002-2003 Paul Speed. All Rights Reserved.