Step by step tutorial: how to build a bean for Servoy - Servoy Stuff
Step by step tutorial: how to build a bean for Servoy - Servoy Stuff
Step by step tutorial: how to build a bean for Servoy - Servoy Stuff
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
How <strong>to</strong> <strong>build</strong> a <strong>bean</strong> <strong>for</strong> <strong>Servoy</strong> - A <strong>step</strong> <strong>by</strong> <strong>step</strong> <strong>tu<strong>to</strong>rial</strong> brought <strong>to</strong> you <strong>by</strong> <strong>Servoy</strong> <strong>Stuff</strong><br />
All these have related methods in the ITextComponent interface that we will implement in a minute.<br />
For now, we go <strong>to</strong> the menu “Sources > Generate Getters/Setters”, select all properties (except the<br />
serialVersionUID) and click OK:<br />
That’s 26 methods generated <strong>for</strong> us in one go. That’s what I call fast coding!<br />
And finally we can add our interface in the class signature:<br />
public class WicketTestBean extends Panel implements ITextComponent {<br />
And we can also add the currentRecord IRecord variable that we know we will need later:<br />
protected IRecord currentRecord;<br />
12/37