Posted by xuanyun
on January 28, 2009 at 6:36 AM PST
We can embed Java objects into Synth XML file, the embeded objects can be referred as properties.
As we know, Synth look and feel can be customized with an XML file which satisfies
XML format . After we go through the document, we can conclude that the type
of property in the XML can be one of the following:
Actually the idref is the most important one, since it is
a type that represent a reference of object, which may be the instance of any
specific class. In fact we can use idref only to specify any property, but in
order to simplify the XML data, other types are also provided.
The string type is not supported in JRE5, it is shipped with
JRE6. So please be careful, if you want to develop a look and feel that can
work under JRE5, you