sign in
english version rss feed

inria-00538387, version 1

SwingStates: adding state machines to the swing toolkit

Caroline Appert () 12, Michel Beaudouin-Lafon () a12

Symposium on User interface software and technology (2006)

Abstract: This article describes SwingStates, a library that adds state machines to the Java Swing user interface toolkit. Unlike traditional approaches, which use callbacks or listeners to define interaction, state machines provide a powerful control structure and localize all of the interaction code in one place. SwingStates takes advantage of Java's inner classes, providing programmers with a natural syntax and making it easier to follow and debug the resulting code. SwingStates tightly integrates state machines, the Java language and the Swing toolkit. It reduces the potential for an explosion of states by allowing multiple state machines to work together. We show how to use SwingStates to add new interaction techniques to existing Swing widgets, to program a powerful new Canvas widget and to control high-level dialogues.

  • Domain : Computer Science/Human-Computer Interaction
 
  • inria-00538387, version 1
  • oai:hal.inria.fr:inria-00538387
  • From: 
  • Submitted on: Monday, 22 November 2010 13:59:08
  • Updated on: Monday, 22 November 2010 17:18:11
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...