|
||||||||||
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 | |
---|---|
Class |
getComponentClass()
Returns the class actually instantiated (which may be an enhanced subclass). |
Object |
newInstance()
Requests that a new instance of the component. |
Method Detail |
---|
Object newInstance()
Class getComponentClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |