001 /**
002 * "TRMSim-WSN, Trust and Reputation Models Simulator for Wireless
003 * Sensor Networks" is free software: you can redistribute it and/or
004 * modify it under the terms of the GNU Lesser General Public License
005 * as published by the Free Software Foundation, either version 3 of
006 * the License, or (at your option) any later version always keeping
007 * the additional terms specified in this license.
008 *
009 * This program is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012 * GNU Lesser General Public License for more details.
013 *
014 *
015 * Additional Terms of this License
016 * --------------------------------
017 *
018 * 1. It is Required the preservation of specified reasonable legal notices
019 * and author attributions in that material and in the Appropriate Legal
020 * Notices displayed by works containing it.
021 *
022 * 2. It is limited the use for publicity purposes of names of licensors or
023 * authors of the material.
024 *
025 * 3. It is Required indemnification of licensors and authors of that material
026 * by anyone who conveys the material (or modified versions of it) with
027 * contractual assumptions of liability to the recipient, for any liability
028 * that these contractual assumptions directly impose on those licensors
029 * and authors.
030 *
031 * 4. It is Prohibited misrepresentation of the origin of that material, and it is
032 * required that modified versions of such material be marked in reasonable
033 * ways as different from the original version.
034 *
035 * 5. It is Declined to grant rights under trademark law for use of some trade
036 * names, trademarks, or service marks.
037 *
038 * You should have received a copy of the GNU Lesser General Public License
039 * along with this program (lgpl.txt). If not, see <http://www.gnu.org/licenses/>
040 */
041
042 package es.ants.felixgm.trmsim_wsn.gui.parameterpanels;
043
044 import es.ants.felixgm.trmsim_wsn.trm.TRMParameters;
045 import es.ants.felixgm.trmsim_wsn.trm.templatetrm.TemplateTRM_Parameters;
046
047 /**
048 * <p>This class represents the panel used to retrieve the parameters of TemplateTRM</p>
049 * @author <a href="http://ants.dif.um.es/~felixgm/en" target="_blank">Félix Gómez Mármol</a>, <a href="http://webs.um.es/gregorio" target="_blank">Gregorio Martínez Pérez</a>
050 * @version 0.3
051 * @since 0.3
052 */
053 public class TemplateTRM_ParametersPanel extends TRMParametersPanel {
054
055 /** Creates new form TemplateTRM_ParametersPanel */
056 public TemplateTRM_ParametersPanel() {
057 initComponents();
058 }
059
060 /** This method is called from within the constructor to
061 * initialize the form.
062 * WARNING: Do NOT modify this code. The content of this method is
063 * always regenerated by the Form Editor.
064 */
065 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
066 private void initComponents() {
067
068 javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
069 this.setLayout(layout);
070 layout.setHorizontalGroup(
071 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
072 .addGap(0, 400, Short.MAX_VALUE)
073 );
074 layout.setVerticalGroup(
075 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
076 .addGap(0, 300, Short.MAX_VALUE)
077 );
078 }// </editor-fold>//GEN-END:initComponents
079
080 @Override
081 public TRMParameters get_TRMParameters() {
082 TemplateTRM_Parameters templateTRMParameters = new TemplateTRM_Parameters();
083
084 return templateTRMParameters;
085 }
086
087 @Override
088 public void set_TRMParameters(TRMParameters trmParameters) {
089
090 }
091
092 @Override
093 public void setEnabled(boolean enabled) {
094
095 }
096 // Variables declaration - do not modify//GEN-BEGIN:variables
097 // End of variables declaration//GEN-END:variables
098 }