|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Method Summary | |
|---|---|
JComponent |
createEditor()
Create a GUI editor component. |
| Method Detail |
|---|
JComponent createEditor()
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||