cudgets
introducing cudgets.widget.ListSelectionModel
A ListSelectionModel represents an interval of selections. A selection itself has two properties: index and selected. The index is a numeric value that points to a position in the interval and selected provides information about the state of the index in the selection-interval: true for selected, otherwise false.
Speaking of GUI, ListSelectionModels are needed when a […]
teaching javascript the concept of interfaces
There’s an easy way to simulate Interfaces in Javascript, this post shows you how it is done.
(Beware, I’m going to mix OO terms in this posts a little bit for the sake of Javascript, but readers familiar with OO concepts will understand what I mean.)
At first we will extend Javascript’s native Object with a method […]
fighting the spill
More than a year ago I was digging deep in the sources of the Java-like GNU Classpath, trying to find a way to adopt the MVC Pattern they are using. Despite all the hassle with translating and substituting objects, methods and functionality (have you ever taken a look at the event queue?) to the world […]
