|
|
|
|
@ -25,6 +25,8 @@ import siprp.database.cayenne.objects.HsRelatorioPostoRisco;
|
|
|
|
|
import siprp.database.cayenne.objects.HsRelatorioRiscoValorQualitativo;
|
|
|
|
|
import siprp.logic.HigieneSegurancaLogic;
|
|
|
|
|
|
|
|
|
|
import com.evolute.utils.documents.IntegerDocument;
|
|
|
|
|
|
|
|
|
|
public class GerirValoresRiscoPanel extends JPanel implements ActionListener, CaretListener
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
@ -92,7 +94,9 @@ public class GerirValoresRiscoPanel extends JPanel implements ActionListener, Ca
|
|
|
|
|
private void startupComponents()
|
|
|
|
|
{
|
|
|
|
|
textSeveridade.setPreferredSize( new Dimension( 30, 0 ) );
|
|
|
|
|
textSeveridade.setDocument( new IntegerDocument( 1, false ) );
|
|
|
|
|
textProbabilidade.setPreferredSize( new Dimension( 30, 0 ) );
|
|
|
|
|
textProbabilidade.setDocument( new IntegerDocument( 1, false ) );
|
|
|
|
|
buttonSave.setEnabled( false );
|
|
|
|
|
buttonRevert.setEnabled( false );
|
|
|
|
|
bg.add( radioValorQualitativo );
|
|
|
|
|
|