File: ButtonAction.java

package info (click to toggle)
libswidgets-java 0.1.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 356 kB
  • ctags: 667
  • sloc: java: 3,436; xml: 64; makefile: 11
file content (37 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// $Id: ButtonAction.java,v 1.1 2004/11/03 18:30:04 bobtarling Exp $

/*
 * ButtonAction.java
 *
 * Created on 02 March 2003, 00:23
 */

package org.tigris.swidgets;

/**
 *
 * @author ButtonAction
 */
public interface ButtonAction {
   
    /**
     * @param modal the modal of the action
     */
    public void setModal(boolean modal);
    
    /**
     * @return true if the action is modal
     */
    public boolean isModal();
    
    /**
     * @param lockMethod  purpose: action buttons can remain depressed 
     *                    so that they can be used multiple times
     */
    public void setLockMethod(int lockMethod);
    
    /**
     * @return the int lockMethod
     */
    public int getLockMethod();
}