KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > SButtonModel


1 /* $Id: SButtonModel.java,v 1.3 2004/12/01 07:54:06 hengels Exp $ */
2 /*
3  * $Id: SButtonModel.java,v 1.3 2004/12/01 07:54:06 hengels Exp $
4  * Copyright 2000,2005 wingS development team.
5  *
6  * This file is part of wingS (http://www.j-wings.org).
7  *
8  * wingS is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1
11  * of the License, or (at your option) any later version.
12  *
13  * Please see COPYING for the complete licence.
14  */

15 package org.wings;
16
17 import javax.swing.event.ChangeListener JavaDoc;
18
19 public interface SButtonModel {
20     void setSelected(boolean selected);
21
22     boolean isSelected();
23
24     void addChangeListener(ChangeListener JavaDoc listener);
25
26     void removeChangeListener(ChangeListener JavaDoc listener);
27 }
28
Popular Tags