forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
860 B
41 lines
860 B
/*
|
|
* FaltouAction.java
|
|
*
|
|
* Created on January 31, 2007, 6:21 PM
|
|
*
|
|
* To change this template, choose Tools | Template Manager
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package siprp.medicina.presencas.actions;
|
|
|
|
import java.awt.event.ActionEvent;
|
|
import javax.swing.AbstractAction;
|
|
import siprp.medicina.presencas.Presenca;
|
|
|
|
/**
|
|
*
|
|
* @author fpalma
|
|
*/
|
|
public class FaltouAction extends AbstractAction
|
|
{
|
|
public static final int SINGLE = 0;
|
|
public static final int MULTIPLE = 1;
|
|
|
|
protected int cardinality;
|
|
protected Presenca presenca;
|
|
|
|
/** Creates a new instance of FaltouAction */
|
|
public FaltouAction( int cardinality, Presenca presenca )
|
|
{
|
|
super( cardinality == SINGLE ? "Faltou" : "Marcar restantes como \"Faltou\"" );
|
|
this.cardinality = cardinality;
|
|
this.presenca = presenca;
|
|
}
|
|
|
|
public void actionPerformed(ActionEvent e)
|
|
{
|
|
}
|
|
|
|
}
|