Along the same lines - how do I get the class name from a Class object. If I
do toString() I get [class HeaderImage1]. Do I just have to extract the
string from that?

Thanks again

Giles

On Tue, May 13, 2008 at 4:21 PM, Giles Roadnight <[EMAIL PROTECTED]>
wrote:

> Hi All
>
> I have a class (BaseTemplate) that is extended to become lots of different
> Template classes.
>
> I have a list class that takes an array of Class objects to allow a user
> to select a template (the renderer creates an instance of the class).
>
> When I click an item in the list I want to call a static function on the
> Template.
>
> When I have a Class object is there anyway of calling a static function on
> that class without creating an instance of the class?
>
> Thanks
>
> --
> Giles Roadnight
> http://giles.roadnight.name




-- 
Giles Roadnight
http://giles.roadnight.name

Reply via email to