|
|
|
@ -13,6 +13,8 @@ import com.evolute.utils.ui.calendar.JCalendarPanel;
|
|
|
|
import info.clearthought.layout.TableLayout;
|
|
|
|
import info.clearthought.layout.TableLayout;
|
|
|
|
import info.clearthought.layout.TableLayoutConstraints;
|
|
|
|
import info.clearthought.layout.TableLayoutConstraints;
|
|
|
|
import java.awt.GridLayout;
|
|
|
|
import java.awt.GridLayout;
|
|
|
|
|
|
|
|
import java.awt.event.ActionEvent;
|
|
|
|
|
|
|
|
import java.awt.event.ActionListener;
|
|
|
|
import javax.swing.*;
|
|
|
|
import javax.swing.*;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -20,6 +22,7 @@ import javax.swing.*;
|
|
|
|
* @author fpalma
|
|
|
|
* @author fpalma
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public class ConsultaPanel extends JPanel
|
|
|
|
public class ConsultaPanel extends JPanel
|
|
|
|
|
|
|
|
implements ActionListener
|
|
|
|
{
|
|
|
|
{
|
|
|
|
protected JCalendarPanel dataConsultaPanel;
|
|
|
|
protected JCalendarPanel dataConsultaPanel;
|
|
|
|
protected JToggleButton porRealizarButton;
|
|
|
|
protected JToggleButton porRealizarButton;
|
|
|
|
@ -56,11 +59,17 @@ public class ConsultaPanel extends JPanel
|
|
|
|
{
|
|
|
|
{
|
|
|
|
JLabel dataLabel = new JLabel( "Data" );
|
|
|
|
JLabel dataLabel = new JLabel( "Data" );
|
|
|
|
dataConsultaPanel = new JCalendarPanel( null );
|
|
|
|
dataConsultaPanel = new JCalendarPanel( null );
|
|
|
|
|
|
|
|
ButtonGroup estadoGroup = new ButtonGroup();
|
|
|
|
porRealizarButton = new JToggleButton( "Por Realizar" );
|
|
|
|
porRealizarButton = new JToggleButton( "Por Realizar" );
|
|
|
|
|
|
|
|
estadoGroup.add( porRealizarButton );
|
|
|
|
realizadaButton = new JToggleButton( "Realizada" );
|
|
|
|
realizadaButton = new JToggleButton( "Realizada" );
|
|
|
|
|
|
|
|
estadoGroup.add( realizadaButton );
|
|
|
|
desmarcadaTrabalhadorButton = new JToggleButton( "Desmarcada pelo Trabalhador" );
|
|
|
|
desmarcadaTrabalhadorButton = new JToggleButton( "Desmarcada pelo Trabalhador" );
|
|
|
|
|
|
|
|
estadoGroup.add( desmarcadaTrabalhadorButton );
|
|
|
|
desmarcadaSHSTButton = new JToggleButton( "Desmarcada pela S.I.P.R.P." );
|
|
|
|
desmarcadaSHSTButton = new JToggleButton( "Desmarcada pela S.I.P.R.P." );
|
|
|
|
|
|
|
|
estadoGroup.add( desmarcadaSHSTButton );
|
|
|
|
faltouButton = new JToggleButton( "Faltou" );
|
|
|
|
faltouButton = new JToggleButton( "Faltou" );
|
|
|
|
|
|
|
|
estadoGroup.add( faltouButton );
|
|
|
|
JPanel estadoPanel = new JPanel();
|
|
|
|
JPanel estadoPanel = new JPanel();
|
|
|
|
emailButton = new JButton( "Email" );
|
|
|
|
emailButton = new JButton( "Email" );
|
|
|
|
observacoesButton = new JButton( "Coment\u00e1rio" );
|
|
|
|
observacoesButton = new JButton( "Coment\u00e1rio" );
|
|
|
|
@ -90,4 +99,8 @@ public class ConsultaPanel extends JPanel
|
|
|
|
add( emailButton, new TableLayoutConstraints( 2, 2 ) );
|
|
|
|
add( emailButton, new TableLayoutConstraints( 2, 2 ) );
|
|
|
|
add( observacoesButton, new TableLayoutConstraints( 2, 3 ) );
|
|
|
|
add( observacoesButton, new TableLayoutConstraints( 2, 3 ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void actionPerformed(ActionEvent e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|