package de.unisiegen.gtitool.ui.netbeans;
import javax.swing.JPanel;
import de.unisiegen.gtitool.ui.logic.RegexPanel;
import de.unisiegen.gtitool.ui.netbeans.interfaces.GUIClass;
/**
* The {@link RegexPanelForm}.
*
* @author Simon Meurer
* @version
*/
@SuppressWarnings({ "all" })
public class RegexPanelForm extends JPanel implements GUIClass <RegexPanel>
{
/**
* The serial version uid.
*/
private static final long serialVersionUID = -6408224101983628704L;
/**
* The {@link RegexPanel}.
*/
private RegexPanel logic;
/**
* Allocates a new {@link RegexPanelForm}.
*
* @param logic The {@link RegexPanel}.
*/
public RegexPanelForm(RegexPanel logic) {
this.logic = logic;
initComponents();
}
/**
* {@inheritDoc}
*
* @see GUIClass#getLogic()
*/
public final RegexPanel getLogic ()
{
return this.logic;
}
/** 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.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
jGTISplitPaneConsole = new de.unisiegen.gtitool.ui.swing.JGTISplitPane();
jGTIPanelRegex = new de.unisiegen.gtitool.ui.swing.JGTIPanel();
jGTISplitPaneTable = new de.unisiegen.gtitool.ui.swing.JGTISplitPane();
jGTIPanelRegexControl = new de.unisiegen.gtitool.ui.swing.JGTIPanel();
styledRegexParserPanel = new de.unisiegen.gtitool.ui.style.StyledRegexParserPanel();
styledRegexAlphabetParserPanel = new de.unisiegen.gtitool.ui.style.StyledRegexAlphabetParserPanel();
jGTILabelRegex = new de.unisiegen.gtitool.ui.swing.JGTILabel();
jGTILabelAlphabet = new de.unisiegen.gtitool.ui.swing.JGTILabel();
jGTISplitPaneRegex = new de.unisiegen.gtitool.ui.swing.JGTISplitPane();
jGTIPanelGraph = new de.unisiegen.gtitool.ui.swing.JGTIPanel();
jGTIScrollPaneGraph = new de.unisiegen.gtitool.ui.swing.JGTIScrollPane();
jGTILabelGraph = new de.unisiegen.gtitool.ui.swing.JGTILabel();
jGTIPanelInfo = new de.unisiegen.gtitool.ui.swing.JGTIPanel();
jGTILabelInfo = new de.unisiegen.gtitool.ui.swing.JGTILabel();
jGTIScrollPaneNodeInfo = new de.unisiegen.gtitool.ui.swing.JGTIScrollPane();
regexNodeInfoPanel = new de.unisiegen.gtitool.ui.netbeans.RegexNodeInfoPanel();
jGTIPanelConsole = new de.unisiegen.gtitool.ui.swing.JGTIPanel();
jGTITabbedPaneConsole = new de.unisiegen.gtitool.ui.swing.JGTITabbedPane();
jGTIScrollPaneErrors = new de.unisiegen.gtitool.ui.swing.JGTIScrollPane();
jGTITableErrors = new de.unisiegen.gtitool.ui.swing.JGTITable();
jGTIScrollPaneWarnings = new de.unisiegen.gtitool.ui.swing.JGTIScrollPane();
jGTITableWarnings = new de.unisiegen.gtitool.ui.swing.JGTITable();
setLayout(new java.awt.GridBagLayout());
jGTISplitPaneConsole.setDividerLocation(400);
jGTISplitPaneConsole.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
jGTISplitPaneConsole.setResizeWeight(1.0);
jGTISplitPaneTable.setDividerLocation(200);
jGTISplitPaneTable.setResizeWeight(0.1);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 0.7;
gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
jGTIPanelRegexControl.add(styledRegexParserPanel, gridBagConstraints);
styledRegexAlphabetParserPanel.setEditable(false);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 3;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 0.3;
gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
jGTIPanelRegexControl.add(styledRegexAlphabetParserPanel, gridBagConstraints);
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("de/unisiegen/gtitool/ui/i18n/messages"); // NOI18N
jGTILabelRegex.setText(bundle.getString("RegexPanel.RegexTitle")); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(3, 3, 0, 3);
jGTIPanelRegexControl.add(jGTILabelRegex, gridBagConstraints);
jGTILabelAlphabet.setText(bundle.getString("RegexPanel.AlphabetTitle")); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(5, 5, 0, 5);
jGTIPanelRegexControl.add(jGTILabelAlphabet, gridBagConstraints);
jGTISplitPaneTable.setLeftComponent(jGTIPanelRegexControl);
jGTISplitPaneRegex.setResizeWeight(0.7);
jGTIScrollPaneGraph.setBorder(null);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
jGTIPanelGraph.add(jGTIScrollPaneGraph, gridBagConstraints);
jGTILabelGraph.setText(bundle.getString("RegexPanel.GraphTitle")); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
jGTIPanelGraph.add(jGTILabelGraph, gridBagConstraints);
jGTISplitPaneRegex.setLeftComponent(jGTIPanelGraph);
jGTILabelInfo.setText(bundle.getString("RegexPanel.InformationTitle")); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
jGTIPanelInfo.add(jGTILabelInfo, gridBagConstraints);
jGTIScrollPaneNodeInfo.setBorder(null);
jGTIScrollPaneNodeInfo.setViewportView(regexNodeInfoPanel);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
jGTIPanelInfo.add(jGTIScrollPaneNodeInfo, gridBagConstraints);
jGTISplitPaneRegex.setRightComponent(jGTIPanelInfo);
jGTISplitPaneTable.setRightComponent(jGTISplitPaneRegex);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
jGTIPanelRegex.add(jGTISplitPaneTable, gridBagConstraints);
jGTISplitPaneConsole.setLeftComponent(jGTIPanelRegex);
jGTITabbedPaneConsole.setMinimumSize(new java.awt.Dimension(200, 200));
jGTIScrollPaneErrors.setBorder(null);
jGTITableErrors.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseExited(java.awt.event.MouseEvent evt) {
jGTITableErrorsMouseExited(evt);
}
});
jGTITableErrors.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
jGTITableErrorsFocusLost(evt);
}
});
jGTIScrollPaneErrors.setViewportView(jGTITableErrors);
jGTITabbedPaneConsole.addTab(bundle.getString("MachinePanel.Error"), new javax.swing.ImageIcon(getClass().getResource("/de/unisiegen/gtitool/ui/icon/small/error.png")), jGTIScrollPaneErrors); // NOI18N
jGTIScrollPaneWarnings.setBorder(null);
jGTITableWarnings.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseExited(java.awt.event.MouseEvent evt) {
jGTITableWarningsMouseExited(evt);
}
});
jGTITableWarnings.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusLost(java.awt.event.FocusEvent evt) {
jGTITableWarningsFocusLost(evt);
}
});
jGTIScrollPaneWarnings.setViewportView(jGTITableWarnings);
jGTITabbedPaneConsole.addTab(bundle.getString("MachinePanel.Warning"), new javax.swing.ImageIcon(getClass().getResource("/de/unisiegen/gtitool/ui/icon/small/warning.png")), jGTIScrollPaneWarnings); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 0.1;
jGTIPanelConsole.add(jGTITabbedPaneConsole, gridBagConstraints);
jGTISplitPaneConsole.setRightComponent(jGTIPanelConsole);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
add(jGTISplitPaneConsole, gridBagConstraints);
}// </editor-fold>//GEN-END:initComponents
private void jGTITableWarningsMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jGTITableWarningsMouseExited
}//GEN-LAST:event_jGTITableWarningsMouseExited
private void jGTITableWarningsFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jGTITableWarningsFocusLost
}//GEN-LAST:event_jGTITableWarningsFocusLost
private void jGTITableErrorsMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jGTITableErrorsMouseExited
// TODO add your handling code here:
}//GEN-LAST:event_jGTITableErrorsMouseExited
private void jGTITableErrorsFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jGTITableErrorsFocusLost
// TODO add your handling code here:
}//GEN-LAST:event_jGTITableErrorsFocusLost
// Variables declaration - do not modify//GEN-BEGIN:variables
public de.unisiegen.gtitool.ui.swing.JGTILabel jGTILabelAlphabet;
public de.unisiegen.gtitool.ui.swing.JGTILabel jGTILabelGraph;
public de.unisiegen.gtitool.ui.swing.JGTILabel jGTILabelInfo;
public de.unisiegen.gtitool.ui.swing.JGTILabel jGTILabelRegex;
public de.unisiegen.gtitool.ui.swing.JGTIPanel jGTIPanelConsole;
public de.unisiegen.gtitool.ui.swing.JGTIPanel jGTIPanelGraph;
public de.unisiegen.gtitool.ui.swing.JGTIPanel jGTIPanelInfo;
public de.unisiegen.gtitool.ui.swing.JGTIPanel jGTIPanelRegex;
public de.unisiegen.gtitool.ui.swing.JGTIPanel jGTIPanelRegexControl;
public de.unisiegen.gtitool.ui.swing.JGTIScrollPane jGTIScrollPaneErrors;
public de.unisiegen.gtitool.ui.swing.JGTIScrollPane jGTIScrollPaneGraph;
public de.unisiegen.gtitool.ui.swing.JGTIScrollPane jGTIScrollPaneNodeInfo;
public de.unisiegen.gtitool.ui.swing.JGTIScrollPane jGTIScrollPaneWarnings;
public de.unisiegen.gtitool.ui.swing.JGTISplitPane jGTISplitPaneConsole;
public de.unisiegen.gtitool.ui.swing.JGTISplitPane jGTISplitPaneRegex;
public de.unisiegen.gtitool.ui.swing.JGTISplitPane jGTISplitPaneTable;
public de.unisiegen.gtitool.ui.swing.JGTITabbedPane jGTITabbedPaneConsole;
public de.unisiegen.gtitool.ui.swing.JGTITable jGTITableErrors;
public de.unisiegen.gtitool.ui.swing.JGTITable jGTITableWarnings;
public de.unisiegen.gtitool.ui.netbeans.RegexNodeInfoPanel regexNodeInfoPanel;
public de.unisiegen.gtitool.ui.style.StyledRegexAlphabetParserPanel styledRegexAlphabetParserPanel;
public de.unisiegen.gtitool.ui.style.StyledRegexParserPanel styledRegexParserPanel;
// End of variables declaration//GEN-END:variables
}