|
|
|
|
@ -10,6 +10,7 @@
|
|
|
|
|
package siprp.medicina.processo.detalhes;
|
|
|
|
|
|
|
|
|
|
import java.util.Vector;
|
|
|
|
|
import javax.swing.JFrame;
|
|
|
|
|
import javax.swing.JPanel;
|
|
|
|
|
import siprp.medicina.processo.*;
|
|
|
|
|
|
|
|
|
|
@ -19,22 +20,40 @@ import siprp.medicina.processo.*;
|
|
|
|
|
*/
|
|
|
|
|
public class DetalhesProcessoPanel extends JPanel
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private final Vector<ProcessoListener> PROCESSO_LISTENERS = new Vector<ProcessoListener>();
|
|
|
|
|
|
|
|
|
|
protected JFrame owner;
|
|
|
|
|
|
|
|
|
|
protected JPanel blankPanel;
|
|
|
|
|
protected ConsultaPanel consultaPanel;
|
|
|
|
|
protected ECDsPanel ecdsPanel;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Creates a new instance of DetalhesProcessoPanel
|
|
|
|
|
*/
|
|
|
|
|
public DetalhesProcessoPanel()
|
|
|
|
|
public DetalhesProcessoPanel( JFrame owner )
|
|
|
|
|
{
|
|
|
|
|
this.owner = owner;
|
|
|
|
|
setupComponents();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void setupComponents()
|
|
|
|
|
{
|
|
|
|
|
blankPanel = new JPanel();
|
|
|
|
|
consultaPanel = new ConsultaPanel( owner );
|
|
|
|
|
ecdsPanel = new ECDsPanel( owner );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void addProcessoListener( ProcessoListener listener )
|
|
|
|
|
{
|
|
|
|
|
PROCESSO_LISTENERS.add( listener );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void removeProcessoListener( ProcessoListener listener )
|
|
|
|
|
{
|
|
|
|
|
PROCESSO_LISTENERS.remove( listener );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void clear()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|