|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UIComponentFactorySPI
Implementations can construct UI components to be inserted into containers within the workbench. These components may or may not bind to any given model object, the previous approach of forcing all UI components to be model listeners wasn't really very bright.
This class is intended to allow minimal information for building menus and the like without having to construct potentially heavy swing objects every time.
| Method Summary | |
|---|---|
UIComponentSPI |
getComponent()
Construct a JComponent from this factory, cast as a UIComponent but must also implement JComponent (if anyone knows how to define this sensibly I'm all ears...) |
javax.swing.ImageIcon |
getIcon()
Get an icon to be used in window decorations for this component. |
java.lang.String |
getName()
Get the preferred name of this component, for titles in windows etc. |
| Method Detail |
|---|
java.lang.String getName()
javax.swing.ImageIcon getIcon()
UIComponentSPI getComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||