|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--vnas.sm.SMaker
Basic implementation of the ISMaker interface.
ISMaker| Method Summary | |
void |
addSMakerListener(SMakerListener listener)
Advanced: Sets a lister to get a notification about completion of loading the file, initializing the nodes and creating the components. |
void |
create()
Makes the component tree starting at the root node ready for display. |
void |
create(java.lang.String id)
Makes the component subtree (starting at the node identified by id) ready for display. |
void |
create(java.lang.String[] path)
Makes the component subtree (starting at the node identified by path) ready for display. |
java.lang.Object |
getRootTarget()
returns the root target object. |
java.lang.Object |
getTarget(java.lang.String id)
searches for a target object (for example a Swing component) of the component tree. |
java.lang.Object |
getTarget(java.lang.String[] path)
searches for a target object (for example a Swing component) of the component tree. |
java.lang.Object |
getTarget(java.lang.String[] path,
java.lang.Class cls)
searches for a target object (for example a Swing component) of the component tree. |
java.lang.Object |
getTarget(java.lang.String id,
java.lang.Class cls)
searches for a target object (for example a Swing component) of the component tree. |
void |
getTargets(java.util.Hashtable h,
java.lang.String[] path,
java.lang.Class cls)
Searches targets by their class. |
ISMaker |
newSMaker(java.lang.String id)
Factory method to construct a new SMaker object that represents a subtree of the original SMaker. |
void |
removeSMakerListener(SMakerListener listener)
Advanced: Removes a lister that received SMaker notifications. |
void |
setExceptionHandler(IExceptionHandler exh)
Sets an exception handler. |
void |
setTarget(java.lang.String[] path,
java.lang.Object target)
Sets or replaces a target object (for example a Swing component) of the component tree. |
void |
setTarget(java.lang.String id,
java.lang.Object target)
Sets or replaces a target object (for example a Swing component) of the component tree. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public ISMaker newSMaker(java.lang.String id)
ISMaker.newSMaker(String)
public void setTarget(java.lang.String id,
java.lang.Object target)
ISMaker.setTarget(String id, Object target)
public void setTarget(java.lang.String[] path,
java.lang.Object target)
ISMaker.setTarget(String[] path, Object target)public java.lang.Object getTarget(java.lang.String id)
ISMaker.getTarget(String id)public java.lang.Object getTarget(java.lang.String[] path)
ISMaker.getTarget(String[] path)
public java.lang.Object getTarget(java.lang.String id,
java.lang.Class cls)
ISMaker.getTarget(String id, Class cls)
public java.lang.Object getTarget(java.lang.String[] path,
java.lang.Class cls)
ISMaker.getTarget(String[] path, Class cls)public java.lang.Object getRootTarget()
ISMaker.getRootTarget()
public void getTargets(java.util.Hashtable h,
java.lang.String[] path,
java.lang.Class cls)
ISMaker.getTargets(Hashtable h, String[] path, Class cls)public void create()
ISMaker.create()public void create(java.lang.String id)
ISMaker.create(String id)public void create(java.lang.String[] path)
ISMaker.create(String[] path)public void setExceptionHandler(IExceptionHandler exh)
ISMaker.setExceptionHandler(IExceptionHandler exh)public void addSMakerListener(SMakerListener listener)
ISMaker.addSMakerListener(SMakerListener listener)public void removeSMakerListener(SMakerListener listener)
ISMaker.removeSMakerListener(SMakerListener listener)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||