devices.7.138.0.source-code.LINCMOSSetup Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* FAKECAMERASetup.java
*
* Created on Mar 7, 2019, 11:23:55 AM
*/
/**
*
* @author F.Molon
*/
public class LINCMOSSetup extends DeviceSetup
{
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates new form FAKECAMERASetup */
public LINCMOSSetup()
{
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// //GEN-BEGIN:initComponents
private void initComponents()
{
deviceButtons1 = new DeviceButtons();
jPanel1 = new javax.swing.JPanel();
jPanel8 = new javax.swing.JPanel();
deviceField16 = new DeviceField();
deviceField17 = new DeviceField();
deviceDispatch1 = new DeviceDispatch();
jPanel2 = new javax.swing.JPanel();
deviceField1 = new DeviceField();
deviceField2 = new DeviceField();
setDeviceProvider("localhost");
setDeviceTitle("Linear CMOS Device");
setDeviceType("LINCMOS");
setHeight(350);
setWidth(700);
deviceButtons1.setMethods(new String[]
{ "init", "startAcquisition", "stopAcquisition" });
getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);
jPanel1.setMinimumSize(new java.awt.Dimension(300, 300));
jPanel1.setPreferredSize(new java.awt.Dimension(521, 300));
jPanel1.setLayout(new java.awt.GridLayout(5, 0));
jPanel8.setMinimumSize(new java.awt.Dimension(300, 50));
jPanel8.setPreferredSize(new java.awt.Dimension(300, 50));
deviceField16.setIdentifier("");
deviceField16.setLabelString("IP: ");
deviceField16.setNumCols(15);
deviceField16.setOffsetNid(1);
deviceField16.setTextOnly(true);
jPanel8.add(deviceField16);
deviceField17.setIdentifier("");
deviceField17.setLabelString("Comment:");
deviceField17.setNumCols(15);
deviceField17.setOffsetNid(2);
jPanel8.add(deviceField17);
jPanel8.add(deviceDispatch1);
jPanel1.add(jPanel8);
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Settings"));
jPanel2.setMinimumSize(new java.awt.Dimension(300, 150));
jPanel2.setPreferredSize(new java.awt.Dimension(300, 150));
deviceField1.setIdentifier("");
deviceField1.setLabelString("Integration Time: ");
deviceField1.setOffsetNid(3);
jPanel2.add(deviceField1);
deviceField2.setIdentifier("");
deviceField2.setLabelString("Num. Frames: ");
deviceField2.setOffsetNid(4);
jPanel2.add(deviceField2);
jPanel1.add(jPanel2);
getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
}// //GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private DeviceButtons deviceButtons1;
private DeviceDispatch deviceDispatch1;
private DeviceField deviceField1;
private DeviceField deviceField16;
private DeviceField deviceField17;
private DeviceField deviceField2;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel8;
// End of variables declaration//GEN-END:variables
}