com.ccg.swing
Interface EditorModel


public interface EditorModel

Implemented by objects which are capable of creating GUI editors for themselves.

If a object is capable of providing a GUI editor of itself, it should implement this interface. GUI builders can then dynamically create to necessary editors at run time for these types of objects.

I really need to provide an example of this. However one might picture a GUI interface that has a tree representation of objects on the left side, and when the user selects an object, the appropriate editor for the object is automatically created.

Since:
1.0
Version:
$Revision: 1.2 $
Author:
$Author: pkb $

Method Summary
 JComponent createEditor()
          Create a GUI editor component.
 

Method Detail

createEditor

JComponent createEditor()
Create a GUI editor component.

All classes which implement this interface need to be able to create a GUI editor. This method will return null if the object is unable to comply with the request at this time.

Returns:
A graphical editor for the object.
Since:
1.0


Copyright 1998-1998-2006 null. All Rights Reserved.