To be honest, i know next to nothing about XUL, other than it is a GUI markup language for rich clients.
I am a Java Swing developer, so I have the full power of an OO language behind me. I'd like to list a couple of scenarios.
a) I am building a custom dialog for a client. For all the dialogs used in the app, I want to have OK and Cancel buttons right aligned in a blue panel at the bottom of the screen. At the top I want something else, like a banner showing the company logo (it could be anything really).
Now in Swing,I can create a super abstract panel which contains all this, and I can define an abstract method, say, generate content, where I lay out my dialog specific components. Can XUL support this type of inheritence? As I understand, it is a static XML tree-like representation of the GUI. Can it deal with inhertence?
b) scenario 2. Polymorphism. I have a certain type A of textfield, and a certain type B of textfield. Both implementations override a validate() method differently. After user enters text, program then iteratea through the textfields calling the validate method. Can XUL do this?
c) I have a pretty sophisticated table. When a user changes something in the first column, the second column cell dircetly to the left becomes a date picker. If I change it to something else, then it becomes a drop down combo, or a textfield, or some kind of custom rendered label/graphic. Can XUL do this?
Just wondering how sophisticated/framework this XUL framework is.