|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentConstructor
Starting with 4.0, copmonents do not always have a zero-args constructor; the enhanced subclass may take some parameters used to initialize instance variables. This interface represents a wrapper around a constructor and an array of parameters that can be used to stamp out new instances of a component.
| Method Summary | |
|---|---|
java.lang.Class |
getComponentClass()
Returns the class actually instantiated (which may be an enhanced subclass). |
java.lang.Object |
newInstance()
Requests that a new instance of the component. |
| Method Detail |
|---|
java.lang.Object newInstance()
java.lang.Class getComponentClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||