Re: Listener Methods
Frank Meißner <[email protected]>
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
Adam Esterline wrote: > All, > > I really appreciate the work that has been done on swixml. I have > always found building swing GUIs to be less than desirable. Swixml > does make the pain a lot less painful. > > One question/request: > > I would like to be able to describe in the XML the method that should be > called when a certain event happens. No, this is not possible. As stated in the introduction of swixml, swixml is only a tool allowing to write your layout (and style) related components in XML. What you want to do is *scripting* which swixml does not want to support. Actions are an exception because they are quite common and powerful. Unfortunatly, for lists exists nothing like this. Wolf, should we have a FAQ sooner or later for this? > Is this possible? Is there anything wrong with doing this? I could > see this same sort of scheme for all the components. This is not a GUI (layout) specific thing. > > I would be happy to help implement this, if someone would point me in > the right direction. Swixml comes with its complete source. The source is not that voluminous so you should cope with it. Frank -- AuthentiDate International AG GroÃenbaumer Weg 6 40472 Düsseldorf / Germany Phone : +49(0)211 43 69 89-52 FAX : +49(0)211 43 69 89-19 Erfahren Sie mehr unter: www.authentidate.de Oder beim Enterprise Signature Day 11. März 2004, Düsseldorf www.enterprise-signature-day.de