Package bs.bs2d.fea.processing

Examples of bs.bs2d.fea.processing.Operation


    private void btnResetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnResetActionPerformed
        alUpdatePlot.actionPerformed(null);
    }//GEN-LAST:event_btnResetActionPerformed

    private void btnNewActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNewActionPerformed
        opModel.add(new Operation(Operation.Type.SMOOTH));
    }//GEN-LAST:event_btnNewActionPerformed
View Full Code Here


            sfop.setType(ScalarFieldOp.Type.valueOf(el.getElementsByTagName("Type").item(0).getTextContent()));
           
            NodeList opList = el.getElementsByTagName("Operation");
            for (int j = 0; j < opList.getLength(); j++) {
                Element opEl = (Element) opList.item(j);
                Operation op = new Operation(Operation.Type.SMOOTH);
                String type = opEl.getElementsByTagName("OpType").item(0).getTextContent();
                op.setType(Operation.Type.valueOf(type));
                String param = opEl.getElementsByTagName("OpParam").item(0).getTextContent();
                op.setParameter(Float.parseFloat(param));
                sfop.addOperation(op);
            }
           
            ops.add(sfop);
        }
View Full Code Here

                return ops.get(rowIndex).isParameterRequired();
        }
       
        @Override
        public Object getValueAt(int rowIndex, int columnIndex) {
            Operation op = ops.get(rowIndex);
            if(columnIndex == 0)
                return op.getType();
            else if (op.isParameterRequired())
                return op.getParameter();
            else
                return "";
        }
View Full Code Here

TOP

Related Classes of bs.bs2d.fea.processing.Operation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.