class UIExporterPajekPanel extends javax.swing.JPanel {

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JCheckBox edgeWeightCheckbox;
    private javax.swing.JLabel labelExport;
    private javax.swing.JCheckBox positionExportCheckbox;
    // End of variables declaration//GEN-END:variables

    public UIExporterPajekPanel() {
        initComponents();
    }

    public void setup(ExporterPajek exporterPajek) {
        positionExportCheckbox.setSelected(exporterPajek.isExportPosition());
        edgeWeightCheckbox.setSelected(exporterPajek.isExportEdgeWeight());
    }

    public void unsetup(ExporterPajek exporterPajek) {
        exporterPajek.setExportPosition(positionExportCheckbox.isSelected());
        exporterPajek.setExportEdgeWeight(edgeWeightCheckbox.isSelected());
    }

    /**
     * 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")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {<FILL_FUNCTION_BODY>}// </editor-fold>//GEN-END:initComponents
}


        labelExport = new javax.swing.JLabel();
        positionExportCheckbox = new javax.swing.JCheckBox();
        edgeWeightCheckbox = new javax.swing.JCheckBox();


        labelExport.setText(org.openide.util.NbBundle
            .getMessage(UIExporterPajekPanel.class, "UIExporterPajekPanel.labelExport.text")); // NOI18N

        positionExportCheckbox.setText(org.openide.util.NbBundle
            .getMessage(UIExporterPajekPanel.class, "UIExporterPajekPanel.positionExportCheckbox.text")); // NOI18N

        edgeWeightCheckbox.setText(org.openide.util.NbBundle
            .getMessage(UIExporterPajekPanel.class, "UIExporterPajekPanel.edgeWeightCheckbox.text")); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(labelExport)
                                    .addGap(18, 18, 18)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(edgeWeightCheckbox)
                                        .addComponent(positionExportCheckbox)))))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(labelExport)
                        .addComponent(positionExportCheckbox))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(edgeWeightCheckbox))
        );
    
<methods>public void <init>() ,public void <init>(java.awt.LayoutManager) ,public void <init>(boolean) ,public void <init>(java.awt.LayoutManager, boolean) ,public javax.accessibility.AccessibleContext getAccessibleContext() ,public javax.swing.plaf.PanelUI getUI() ,public java.lang.String getUIClassID() ,public void setUI(javax.swing.plaf.PanelUI) ,public void updateUI() <variables>private static final java.lang.String uiClassID