Add proxy method for Application.getSkin(String protoname, String skinname, Object[] skinpath)

This commit is contained in:
hns 2005-06-22 09:40:45 +00:00
parent d743c82c89
commit 7991eb888f

View file

@ -431,6 +431,18 @@ public class ApplicationBean implements Serializable {
app.setNumberOfEvaluators(n + 1); app.setNumberOfEvaluators(n + 1);
} }
/**
* Return a skin for a given object. The skin is found by determining the prototype
* to use for the object, then looking up the skin for the prototype.
*/
public Skin getSkin(String protoname, String skinname, Object[] skinpath) {
try {
return app.getSkin(protoname, skinname, skinpath);
} catch (Exception x) {
return null;
}
}
/** /**
* *
* *