1
Fork 0
mirror of https://github.com/Steffo99/unimore-oop-2020-cleaver.git synced 2024-11-21 23:54:20 +00:00

2019-12-05

This commit is contained in:
Steffo 2019-12-05 18:22:22 +01:00
parent de32572bda
commit 3163d3316c
26 changed files with 564 additions and 55 deletions

View file

@ -20,6 +20,10 @@ The documentation for this project is available [here](https://gh.steffo.eu/clea
### Progress
#### 2019-12-05
![](https://i.imgur.com/sLG43Kc.png)
#### 2019-12-04
![](https://i.imgur.com/HnD7k3B.png)

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>All Classes</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">
@ -80,18 +80,54 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui">CleaverFileSelectPanel</a></td>
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverChopAndStitchPanel.html" title="class in eu.steffo.cleaver.gui">CleaverChopAndStitchPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverFrame.html" title="class in eu.steffo.cleaver.gui">CleaverFrame</a></td>
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverChopPanel.html" title="class in eu.steffo.cleaver.gui">CleaverChopPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverModeSelectPanel.html" title="class in eu.steffo.cleaver.gui">CleaverModeSelectPanel</a></td>
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverCompressOptionPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCompressOptionPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverCreateJobButtonPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCreateJobButtonPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverCreateJobPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCreateJobPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverCryptOptionPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCryptOptionPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui">CleaverFileSelectPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverFrame.html" title="class in eu.steffo.cleaver.gui">CleaverFrame</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverSplitOptionPanel.html" title="class in eu.steffo.cleaver.gui">CleaverSplitOptionPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverStitchPanel.html" title="class in eu.steffo.cleaver.gui">CleaverStitchPanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><a href="eu/steffo/cleaver/gui/CleaverTitlePanel.html" title="class in eu.steffo.cleaver.gui">CleaverTitlePanel</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><a href="eu/steffo/cleaver/Main.html" title="class in eu.steffo.cleaver">Main</a></td>
<th class="colLast" scope="row">&nbsp;</th>
</tr>

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>All Packages</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>Constant Field Values</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>Deprecated List</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>API Help</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>Overview</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">

View file

@ -1 +1 @@
memberSearchIndex = [{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"CleaverFileSelectPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFrame","l":"CleaverFrame()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverModeSelectPanel","l":"CleaverModeSelectPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"fileChooser"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFrame","l":"fileSelectPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"getSelectedFiles()"},{"p":"eu.steffo.cleaver","c":"Main","l":"Main()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver","c":"Main","l":"main(String[])","url":"main(java.lang.String[])"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFrame","l":"modeSelectPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"selectedFiles"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"selectedFilesText"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"selectFilesButton"},{"p":"eu.steffo.cleaver.gui","c":"CleaverModeSelectPanel","l":"titleLabel"}]
memberSearchIndex = [{"p":"eu.steffo.cleaver.gui","c":"CleaverChopAndStitchPanel","l":"chopPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFrame","l":"chopStitchPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverChopAndStitchPanel","l":"CleaverChopAndStitchPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverChopPanel","l":"CleaverChopPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCompressOptionPanel","l":"CleaverCompressOptionPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobButtonPanel","l":"CleaverCreateJobButtonPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"CleaverCreateJobPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCryptOptionPanel","l":"CleaverCryptOptionPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"CleaverFileSelectPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFrame","l":"CleaverFrame()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverRowPanel","l":"CleaverRowPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"CleaverSplitOptionPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverStitchPanel","l":"CleaverStitchPanel()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverTitlePanel","l":"CleaverTitlePanel(String)","url":"%3Cinit%3E(java.lang.String)"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCompressOptionPanel","l":"compressionCheckBox"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"compressionCheckBox"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"compressOptionPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobButtonPanel","l":"createJobButton"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"createJobButtonPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCryptOptionPanel","l":"cryptCheckBox"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"cryptOptionPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"fileChooser"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"fileSelectPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"firstSeparator"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCompressOptionPanel","l":"getCompressionEnabled()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCryptOptionPanel","l":"getEncryptionEnabled()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverChopPanel","l":"getPanelText()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"getPanelText()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverStitchPanel","l":"getPanelText()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"getSelectedFiles()"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCryptOptionPanel","l":"keyLabel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCryptOptionPanel","l":"keyTextField"},{"p":"eu.steffo.cleaver","c":"Main","l":"Main()","url":"%3Cinit%3E()"},{"p":"eu.steffo.cleaver","c":"Main","l":"main(String[])","url":"main(java.lang.String[])"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"partsLabel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"partsTextField"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"secondoSeparator"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"selectedFiles"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"selectedFilesText"},{"p":"eu.steffo.cleaver.gui","c":"CleaverFileSelectPanel","l":"selectFilesButton"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCryptOptionPanel","l":"separator"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"sizeLabel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"sizeTextField"},{"p":"eu.steffo.cleaver.gui","c":"CleaverSplitOptionPanel","l":"sizeUnitLabel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"splitOptionPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverChopAndStitchPanel","l":"stitchPanel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverTitlePanel","l":"titleLabel"},{"p":"eu.steffo.cleaver.gui","c":"CleaverCreateJobPanel","l":"titlePanel"}]

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>Generated Documentation (Untitled)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>Class Hierarchy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">
@ -87,8 +87,23 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<ul>
<li class="circle">javax.swing.JPanel (implements javax.accessibility.Accessible)
<ul>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverChopAndStitchPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverChopAndStitchPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverCreateJobPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverCreateJobPanel</span></a>
<ul>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverChopPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverChopPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverStitchPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverStitchPanel</span></a></li>
</ul>
</li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverRowPanel</span></a>
<ul>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverCompressOptionPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverCompressOptionPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverCreateJobButtonPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverCreateJobButtonPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverCryptOptionPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverCryptOptionPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverFileSelectPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverModeSelectPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverModeSelectPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverSplitOptionPanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverSplitOptionPanel</span></a></li>
<li class="circle">eu.steffo.cleaver.gui.<a href="eu/steffo/cleaver/gui/CleaverTitlePanel.html" title="class in eu.steffo.cleaver.gui"><span class="typeNameLink">CleaverTitlePanel</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>

View file

@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 00:56:46 CET 2019 -->
<!-- Generated by javadoc (13.0.1) on Thu Dec 05 18:21:40 CET 2019 -->
<title>Serialized Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-12-05">
@ -75,10 +75,153 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<h2 title="Package">Package&nbsp;eu.steffo.cleaver.gui</h2>
<ul class="blockList">
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverChopAndStitchPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverChopAndStitchPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverChopAndStitchPanel</a> extends javax.swing.JPanel implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>chopPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverChopPanel.html" title="class in eu.steffo.cleaver.gui">CleaverChopPanel</a> chopPanel</pre>
</li>
<li class="blockList">
<h5>stitchPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverStitchPanel.html" title="class in eu.steffo.cleaver.gui">CleaverStitchPanel</a> stitchPanel</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverChopPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverChopPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverChopPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverCreateJobPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCreateJobPanel</a> implements Serializable</h3>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverCompressOptionPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverCompressOptionPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverCompressOptionPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a> implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>compressionCheckBox</h5>
<pre>javax.swing.JCheckBox compressionCheckBox</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverCreateJobButtonPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverCreateJobButtonPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverCreateJobButtonPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a> implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>createJobButton</h5>
<pre>javax.swing.JButton createJobButton</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverCreateJobPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverCreateJobPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverCreateJobPanel</a> extends javax.swing.JPanel implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>compressOptionPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverCompressOptionPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCompressOptionPanel</a> compressOptionPanel</pre>
</li>
<li class="blockList">
<h5>createJobButtonPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverCreateJobButtonPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCreateJobButtonPanel</a> createJobButtonPanel</pre>
</li>
<li class="blockList">
<h5>cryptOptionPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverCryptOptionPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCryptOptionPanel</a> cryptOptionPanel</pre>
</li>
<li class="blockList">
<h5>fileSelectPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui">CleaverFileSelectPanel</a> fileSelectPanel</pre>
</li>
<li class="blockList">
<h5>splitOptionPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverSplitOptionPanel.html" title="class in eu.steffo.cleaver.gui">CleaverSplitOptionPanel</a> splitOptionPanel</pre>
</li>
<li class="blockList">
<h5>titlePanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverTitlePanel.html" title="class in eu.steffo.cleaver.gui">CleaverTitlePanel</a> titlePanel</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverCryptOptionPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverCryptOptionPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverCryptOptionPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a> implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>cryptCheckBox</h5>
<pre>javax.swing.JCheckBox cryptCheckBox</pre>
</li>
<li class="blockList">
<h5>keyLabel</h5>
<pre>javax.swing.JLabel keyLabel</pre>
</li>
<li class="blockList">
<h5>keyTextField</h5>
<pre>javax.swing.JTextField keyTextField</pre>
</li>
<li class="blockList">
<h5>separator</h5>
<pre>javax.swing.JSeparator separator</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverFileSelectPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverFileSelectPanel</a> extends javax.swing.JPanel implements Serializable</h3>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverFileSelectPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a> implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
@ -117,12 +260,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>fileSelectPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverFileSelectPanel.html" title="class in eu.steffo.cleaver.gui">CleaverFileSelectPanel</a> fileSelectPanel</pre>
</li>
<li class="blockList">
<h5>modeSelectPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverModeSelectPanel.html" title="class in eu.steffo.cleaver.gui">CleaverModeSelectPanel</a> modeSelectPanel</pre>
<h5>chopStitchPanel</h5>
<pre><a href="eu/steffo/cleaver/gui/CleaverChopAndStitchPanel.html" title="class in eu.steffo.cleaver.gui">CleaverChopAndStitchPanel</a> chopStitchPanel</pre>
</li>
</ul>
</section>
@ -131,10 +270,72 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverModeSelectPanel">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverRowPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverModeSelectPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverModeSelectPanel</a> extends javax.swing.JPanel implements Serializable</h3>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverRowPanel</a> extends javax.swing.JPanel implements Serializable</h3>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverSplitOptionPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverSplitOptionPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverSplitOptionPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a> implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h4>Serialized Fields</h4>
<ul class="blockList">
<li class="blockList">
<h5>compressionCheckBox</h5>
<pre>javax.swing.JCheckBox compressionCheckBox</pre>
</li>
<li class="blockList">
<h5>firstSeparator</h5>
<pre>javax.swing.JSeparator firstSeparator</pre>
</li>
<li class="blockList">
<h5>partsLabel</h5>
<pre>javax.swing.JLabel partsLabel</pre>
</li>
<li class="blockList">
<h5>partsTextField</h5>
<pre>javax.swing.JTextField partsTextField</pre>
</li>
<li class="blockList">
<h5>secondoSeparator</h5>
<pre>javax.swing.JSeparator secondoSeparator</pre>
</li>
<li class="blockList">
<h5>sizeLabel</h5>
<pre>javax.swing.JLabel sizeLabel</pre>
</li>
<li class="blockList">
<h5>sizeTextField</h5>
<pre>javax.swing.JTextField sizeTextField</pre>
</li>
<li class="blockList">
<h5>sizeUnitLabel</h5>
<pre>javax.swing.JLabel sizeUnitLabel</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverStitchPanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverStitchPanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverStitchPanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverCreateJobPanel.html" title="class in eu.steffo.cleaver.gui">CleaverCreateJobPanel</a> implements Serializable</h3>
</section>
</li>
<li class="blockList">
<section class="serializedClassDetails"><a id="eu.steffo.cleaver.gui.CleaverTitlePanel">
<!-- -->
</a>
<h3>Class <a href="eu/steffo/cleaver/gui/CleaverTitlePanel.html" title="class in eu.steffo.cleaver.gui">eu.steffo.cleaver.gui.CleaverTitlePanel</a> extends <a href="eu/steffo/cleaver/gui/CleaverRowPanel.html" title="class in eu.steffo.cleaver.gui">CleaverRowPanel</a> implements Serializable</h3>
<ul class="blockList">
<li class="blockList">
<section class="detail">

View file

@ -1 +1 @@
typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"eu.steffo.cleaver.gui","l":"CleaverFileSelectPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverFrame"},{"p":"eu.steffo.cleaver.gui","l":"CleaverModeSelectPanel"},{"p":"eu.steffo.cleaver","l":"Main"}]
typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"eu.steffo.cleaver.gui","l":"CleaverChopAndStitchPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverChopPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverCompressOptionPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverCreateJobButtonPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverCreateJobPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverCryptOptionPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverFileSelectPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverFrame"},{"p":"eu.steffo.cleaver.gui","l":"CleaverRowPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverSplitOptionPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverStitchPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverTitlePanel"},{"p":"eu.steffo.cleaver","l":"Main"}]

View file

@ -6,8 +6,6 @@ import eu.steffo.cleaver.gui.CleaverFrame;
public class Main {
public static void main(String[] args) {
System.out.println("Chop chop!");
CleaverFrame cf = new CleaverFrame();
cf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
cf.setVisible(true);

View file

@ -0,0 +1,27 @@
package eu.steffo.cleaver.gui;
import java.awt.*;
import javax.swing.*;
public class CleaverChopAndStitchPanel extends JPanel {
protected CleaverChopPanel chopPanel;
protected CleaverStitchPanel stitchPanel;
public CleaverChopAndStitchPanel() {
super();
this.setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
this.add(Box.createHorizontalStrut(4));
chopPanel = new CleaverChopPanel();
this.add(chopPanel);
this.add(Box.createHorizontalStrut(4));
stitchPanel = new CleaverStitchPanel();
this.add(stitchPanel);
this.add(Box.createHorizontalStrut(4));
}
}

View file

@ -0,0 +1,13 @@
package eu.steffo.cleaver.gui;
public class CleaverChopPanel extends CleaverCreateJobPanel {
@Override
protected String getPanelText() {
return "Chop";
}
public CleaverChopPanel() {
super();
}
}

View file

@ -0,0 +1,20 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
public class CleaverCompressOptionPanel extends CleaverRowPanel {
protected JCheckBox compressionCheckBox;
public CleaverCompressOptionPanel() {
this.add(Box.createHorizontalStrut(8));
compressionCheckBox = new JCheckBox("Compress");
this.add(compressionCheckBox);
this.add(Box.createHorizontalStrut(8));
}
public boolean getCompressionEnabled() {
return compressionCheckBox.isSelected();
}
}

View file

@ -0,0 +1,16 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
public class CleaverCreateJobButtonPanel extends CleaverRowPanel {
protected JButton createJobButton;
public CleaverCreateJobButtonPanel() {
this.add(Box.createHorizontalStrut(8));
createJobButton = new JButton("Create job");
this.add(createJobButton);
this.add(Box.createHorizontalStrut(8));
}
}

View file

@ -0,0 +1,53 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
public abstract class CleaverCreateJobPanel extends JPanel {
protected CleaverTitlePanel titlePanel;
protected CleaverFileSelectPanel fileSelectPanel;
protected CleaverSplitOptionPanel splitOptionPanel;
protected CleaverCryptOptionPanel cryptOptionPanel;
protected CleaverCompressOptionPanel compressOptionPanel;
protected CleaverCreateJobButtonPanel createJobButtonPanel;
protected abstract String getPanelText();
public CleaverCreateJobPanel() {
super();
this.setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
this.setBorder(BorderFactory.createEtchedBorder());
this.add(Box.createVerticalStrut(8));
titlePanel = new CleaverTitlePanel(this.getPanelText());
this.add(titlePanel);
this.add(Box.createVerticalStrut(8));
fileSelectPanel = new CleaverFileSelectPanel();
this.add(fileSelectPanel);
this.add(Box.createVerticalStrut(8));
splitOptionPanel = new CleaverSplitOptionPanel();
this.add(splitOptionPanel);
this.add(Box.createVerticalStrut(8));
cryptOptionPanel = new CleaverCryptOptionPanel();
this.add(cryptOptionPanel);
this.add(Box.createVerticalStrut(8));
compressOptionPanel = new CleaverCompressOptionPanel();
this.add(compressOptionPanel);
this.add(Box.createVerticalStrut(8));
createJobButtonPanel = new CleaverCreateJobButtonPanel();
this.add(createJobButtonPanel);
this.add(Box.createVerticalStrut(8));
}
}

View file

@ -0,0 +1,38 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
public class CleaverCryptOptionPanel extends CleaverRowPanel {
protected JCheckBox cryptCheckBox;
protected JSeparator separator;
protected JLabel keyLabel;
protected JTextField keyTextField;
public CleaverCryptOptionPanel() {
this.add(Box.createHorizontalStrut(8));
cryptCheckBox = new JCheckBox("Encrypt");
this.add(cryptCheckBox);
this.add(Box.createHorizontalStrut(8));
separator = new JSeparator(JSeparator.VERTICAL);
this.add(separator);
this.add(Box.createHorizontalStrut(8));
keyLabel = new JLabel("Key");
this.add(keyLabel);
this.add(Box.createHorizontalStrut(8));
keyTextField = new JTextField();
this.add(keyTextField);
this.add(Box.createHorizontalStrut(8));
}
public boolean getEncryptionEnabled() {
return cryptCheckBox.isSelected();
}
}

View file

@ -1,11 +1,10 @@
package eu.steffo.cleaver.gui;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.File;
public class CleaverFileSelectPanel extends JPanel {
public class CleaverFileSelectPanel extends CleaverRowPanel {
protected JFileChooser fileChooser;
protected JButton selectFilesButton;
protected JTextField selectedFilesText;
@ -14,11 +13,11 @@ public class CleaverFileSelectPanel extends JPanel {
public CleaverFileSelectPanel() {
super();
this.setLayout(new FlowLayout());
fileChooser = new JFileChooser();
fileChooser.setMultiSelectionEnabled(true);
this.add(Box.createHorizontalStrut(8));
selectFilesButton = new JButton("Select files...");
selectFilesButton.addActionListener(e -> {
fileChooser.showOpenDialog(this);
@ -27,20 +26,25 @@ public class CleaverFileSelectPanel extends JPanel {
StringBuilder displayedText = new StringBuilder();
for (File file : selectedFiles) {
displayedText.append("\"");
displayedText.append(file.getName());
displayedText.append("; ");
displayedText.append("\" ");
}
selectedFilesText.setText(displayedText.toString());
});
this.add(selectFilesButton);
selectedFiles = new File[0];
this.add(Box.createHorizontalStrut(8));
selectedFilesText = new JTextField();
selectedFilesText.setMinimumSize(new Dimension(200, 24));
selectedFilesText.setPreferredSize(new Dimension(200, 24));
selectedFilesText.setEditable(false);
this.add(selectedFilesText);
this.add(Box.createHorizontalStrut(8));
}
public File[] getSelectedFiles() {

View file

@ -4,8 +4,7 @@ import java.awt.*;
import javax.swing.*;
public class CleaverFrame extends JFrame {
protected CleaverFileSelectPanel fileSelectPanel;
protected CleaverModeSelectPanel modeSelectPanel;
protected CleaverChopAndStitchPanel chopStitchPanel;
public CleaverFrame() {
super();
@ -15,11 +14,12 @@ public class CleaverFrame extends JFrame {
cp.setLayout(new BoxLayout(cp, BoxLayout.PAGE_AXIS));
fileSelectPanel = new CleaverFileSelectPanel();
cp.add(fileSelectPanel);
this.add(Box.createVerticalStrut(4));
modeSelectPanel = new CleaverModeSelectPanel();
cp.add(modeSelectPanel);
chopStitchPanel = new CleaverChopAndStitchPanel();
cp.add(chopStitchPanel);
this.add(Box.createVerticalStrut(4));
this.pack();
}

View file

@ -1,17 +0,0 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
import java.awt.*;
public class CleaverModeSelectPanel extends JPanel {
protected JLabel titleLabel;
public CleaverModeSelectPanel() {
super();
this.setBorder(BorderFactory.createLineBorder(Color.red));
titleLabel = new JLabel("Cleaver Mode Select");
this.add(titleLabel);
}
}

View file

@ -0,0 +1,14 @@
package eu.steffo.cleaver.gui;
import java.awt.*;
import javax.swing.*;
public abstract class CleaverRowPanel extends JPanel {
public CleaverRowPanel() {
super();
this.setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
this.setAlignmentX(Component.LEFT_ALIGNMENT);
}
}

View file

@ -0,0 +1,58 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
public class CleaverSplitOptionPanel extends CleaverRowPanel {
protected JCheckBox compressionCheckBox;
protected JSeparator firstSeparator;
protected JLabel sizeLabel;
protected JTextField sizeTextField;
protected JLabel sizeUnitLabel;
protected JSeparator secondoSeparator;
protected JLabel partsLabel;
protected JTextField partsTextField;
public CleaverSplitOptionPanel() {
this.add(Box.createHorizontalStrut(8));
compressionCheckBox = new JCheckBox("Split");
this.add(compressionCheckBox);
this.add(Box.createHorizontalStrut(8));
firstSeparator = new JSeparator(JSeparator.VERTICAL);
this.add(firstSeparator);
this.add(Box.createHorizontalStrut(8));
sizeLabel = new JLabel("Part size");
this.add(sizeLabel);
this.add(Box.createHorizontalStrut(8));
sizeTextField = new JTextField();
this.add(sizeTextField);
this.add(Box.createHorizontalStrut(2));
sizeUnitLabel = new JLabel("B");
this.add(sizeUnitLabel);
this.add(Box.createHorizontalStrut(8));
secondoSeparator = new JSeparator(JSeparator.VERTICAL);
this.add(secondoSeparator);
this.add(Box.createHorizontalStrut(8));
partsLabel = new JLabel("Parts");
this.add(partsLabel);
this.add(Box.createHorizontalStrut(8));
partsTextField = new JTextField();
this.add(partsTextField);
this.add(Box.createHorizontalStrut(8));
}
}

View file

@ -0,0 +1,13 @@
package eu.steffo.cleaver.gui;
public class CleaverStitchPanel extends CleaverCreateJobPanel {
@Override
protected String getPanelText() {
return "Stitch";
}
public CleaverStitchPanel() {
super();
}
}

View file

@ -0,0 +1,16 @@
package eu.steffo.cleaver.gui;
import javax.swing.*;
public class CleaverTitlePanel extends CleaverRowPanel {
protected JLabel titleLabel;
public CleaverTitlePanel(String str) {
this.add(Box.createHorizontalStrut(8));
titleLabel = new JLabel(str);
this.add(titleLabel);
this.add(Box.createHorizontalStrut(8));
}
}