(function(y,z,A,B,C,D,j,v,h,q,r,E,F,l,G,u,m,H,s,w,p,I,x,J,K,L,M,t,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,c,e){j("JSV.dialog");h(["JSV.dialog.JSVDialog"],"JSV.dialog.IntegrationDialog",["JU.DF","JSV.common.Annotation"],function(){var b=r(function(){this.lastNorm=1;q(this,arguments)},JSV.dialog,"IntegrationDialog",JSV.dialog.JSVDialog);l(b,function(){p(this,JSV.dialog.IntegrationDialog,[]);this.type=JSV.common.Annotation.AType.Integration});e(b,"getPosXY",function(){return JSV.dialog.IntegrationDialog.posXY});
c(b,"addUniqueControls",function(){this.txt1=this.dialog.addTextField("txtBaselineOffset","Baseline Offset",null,"%",""+this.vwr.parameters.integralOffset,!0);this.txt2=this.dialog.addTextField("txtScale","Scale",null,"%",""+this.vwr.parameters.integralRange,!0);this.dialog.addButton("btnApply","Apply");this.addApplyBtn=!1;this.dialog.addButton("btnAuto","Auto");this.dialog.addButton("btnDelete","Delete");this.dialog.addButton("btnNormalize","Normalize")});e(b,"applyFromFields",function(){this.apply(t(-1,
[this.dialog.getText(this.txt1),this.dialog.getText(this.txt2)]))});e(b,"callback",function(a,f){var d;try{if(a.equals("SHOWSELECTION")){for(d=0;d<this.xyData.size();d++)if(JU.DF.formatDecimalDbl(this.xyData.get(d).getXVal(),2).equals(f)){this.iSelected=d;this.jsvp.getPanelData().setXPointers(this.$spec,this.xyData.get(d).getXVal(),this.$spec,this.xyData.get(d).getXVal2());this.jsvp.doRepaint(!0);break}return!0}if(!a.equals("windowClosing")&&!a.equals("FOCUS")){if(a.equals("btnAuto")||null==this.xyData||
0==this.xyData.size())return this.vwr.runScript("integrate auto"),this.eventApply(),!0;this.setFocus(!0)}if(a.equals("btnDelete"))this.deleteIntegral();else if(a.equals("btnNormalize")){if(!this.checkSelectedIntegral())return!0;var b=this.manager.getDialogInput(this.dialog,"Enter a normalization factor","Normalize",3,null,null,""+this.lastNorm);d=Double.parseDouble(b);0<d&&this.xyData.setSelectedIntegral(this.xyData.get(this.iSelected),this.lastNorm=d);this.eventApply()}else return this.callbackAD(a,
f)}catch(n){if(!u(n,Exception))throw n;}return!0},"~S,~S");c(b,"checkSelectedIntegral",function(){return 0>this.iSelected?(this.showMessage("Select a line on the table first, then click this button.","Integration",1),!1):!0});c(b,"deleteIntegral",function(){this.checkSelectedIntegral()&&(this.xyData.removeItemAt(this.iSelected),this.iRowColSelected=this.iSelected=-1,this.applyFromFields())});b.posXY=m(-1,[-2147483648,0])});j("JSV.dialog");h(["JSV.dialog.JSVDialog"],"JSV.dialog.PeakListDialog",["JSV.common.Annotation"],
function(){var b=s(JSV.dialog,"PeakListDialog",JSV.dialog.JSVDialog);l(b,function(){p(this,JSV.dialog.PeakListDialog,[]);this.type=JSV.common.Annotation.AType.PeakList});e(b,"getPosXY",function(){return JSV.dialog.PeakListDialog.posXY});c(b,"addUniqueControls",function(){this.txt1=this.dialog.addTextField("txtThreshold","Threshold",null,"","",!0);this.dialog.setPreferredSize(780,350);this.setThreshold(NaN);this.combo1=this.dialog.addSelectOption("cmbInterpolation","Interpolation",t(-1,["parabolic",
"none"]),0,!0)});e(b,"callback",function(a,f){if(a.equals("cmbInterpolation")||a.equals("txtThreshold"))a="btnApply";return this.callbackAD(a,f)},"~S,~S");b.posXY=m(-1,[-2147483648,0])});j("JSV.dialog");h(["JSV.dialog.JSVDialog"],"JSV.dialog.MeasurementsDialog",["JSV.common.Annotation"],function(){var b=s(JSV.dialog,"MeasurementsDialog",JSV.dialog.JSVDialog);l(b,function(){p(this,JSV.dialog.MeasurementsDialog,[]);this.type=JSV.common.Annotation.AType.Measurements});c(b,"addUniqueControls",function(){});
e(b,"getPosXY",function(){return JSV.dialog.MeasurementsDialog.posXY});e(b,"callback",function(a,f){return this.callbackAD(a,f)},"~S,~S");b.posXY=m(-1,[-2147483648,0])});j("JSV.dialog");h(["JSV.dialog.JSVDialog"],"JSV.dialog.OverlayLegendDialog",["JSV.common.Annotation"],function(){var b=s(JSV.dialog,"OverlayLegendDialog",JSV.dialog.JSVDialog);l(b,function(){p(this,JSV.dialog.OverlayLegendDialog,[]);this.type=JSV.common.Annotation.AType.OverlayLegend});e(b,"getPosXY",function(){return JSV.dialog.OverlayLegendDialog.posXY});
c(b,"addUniqueControls",function(){});e(b,"callback",function(){return!1},"~S,~S");b.posXY=m(-1,[-2147483648,0])});j("JSV.dialog");h(["JSV.dialog.JSVDialog"],"JSV.dialog.ViewsDialog",["JU.Lst","$.PT","$.SB","JSV.common.Annotation"],function(){var b=r(function(){this.viewSelectedButton=this.combineSelectedButton=this.closeSelectedButton=this.checkBoxes=this.treeNodes=null;this.checking=!1;q(this,arguments)},JSV.dialog,"ViewsDialog",JSV.dialog.JSVDialog);l(b,function(){p(this,JSV.dialog.ViewsDialog,
[]);this.type=JSV.common.Annotation.AType.Views});e(b,"getPosXY",function(){return JSV.dialog.ViewsDialog.posXY});c(b,"addUniqueControls",function(){this.checkBoxes=new JU.Lst;this.treeNodes=new JU.Lst;this.dialog.addButton("btnSelectAll","Select All");this.dialog.addButton("btnSelectNone","Select None");this.txt2=this.dialog.addTextField("txtOffset","Offset",""+this.vwr.parameters.viewOffset,"%",null,!0);this.viewSelectedButton=this.dialog.addButton("btnViewSelected","View Selected");this.combineSelectedButton=
this.dialog.addButton("btnCombineSelected","Combine Selected");this.closeSelectedButton=this.dialog.addButton("btnCloseSelected","Close Selected");this.dialog.addButton("btnDone","Done");this.dialog.setPreferredSize(800,350);this.txt1=this.dialog.addCheckBox(null,null,0,!1);this.addCheckBoxes(this.vwr.spectraTree.getRootNode(),0,!0);this.addCheckBoxes(this.vwr.spectraTree.getRootNode(),0,!1)});c(b,"addCheckBoxes",function(a,f,d){for(a=a.children();a.hasMoreElements();){var b=a.nextElement(),n=b.getPanelNode();
if(n.isView==d){var c=n.toString();0<=c.indexOf("\n")&&(c=c.substring(0,c.indexOf("\n")));var e="chkBox"+this.treeNodes.size(),n=this.dialog.addCheckBox(e,c,f,n.isSelected);b.setIndex(this.treeNodes.size());this.treeNodes.addLast(b);this.checkBoxes.addLast(n);this.addCheckBoxes(b,f+1,d)}}},"JSV.api.JSVTreeNode,~N,~B");e(b,"checkEnables",function(){for(var a=0,f=0;f<this.checkBoxes.size();f++)this.dialog.isSelected(this.checkBoxes.get(f))&&null!=this.treeNodes.get(f).getPanelNode().jsvp&&a++;System.out.println("viewsdialog n="+
a);this.dialog.setEnabled(this.closeSelectedButton,0<a);this.dialog.setEnabled(this.combineSelectedButton,1<a);this.dialog.setEnabled(this.viewSelectedButton,1<=a)});c(b,"check",function(a){var f=JU.PT.parseInt(a.substring(a.indexOf("_")+1));a=this.treeNodes.get(f);var d=this.checkBoxes.get(f),f=this.dialog.isSelected(d);if(null==a.getPanelNode().jsvp){!this.checking&&(f&&this.dialog.getText(d).startsWith("Overlay"))&&(this.checking=!0,this.selectAll(!1),this.dialog.setSelected(d,!0),a.getPanelNode().isSelected=
!0,this.checking=!1);for(d=a.children();d.hasMoreElements();){var b=d.nextElement();this.dialog.setSelected(this.checkBoxes.get(b.getIndex()),f);b.getPanelNode().isSelected=f;a.getPanelNode().isSelected=f}}else a.getPanelNode().isSelected=f;if(f)for(f=this.treeNodes.size();0<=--f;)this.treeNodes.get(f).getPanelNode().isView!=a.getPanelNode().isView&&(this.dialog.setSelected(this.checkBoxes.get(this.treeNodes.get(f).getIndex()),!1),this.treeNodes.get(f).getPanelNode().isSelected=!1);this.checkEnables()},
"~S");c(b,"selectAll",function(a){for(var f=this.checkBoxes.size();0<=--f;)this.dialog.setSelected(this.checkBoxes.get(f),a),this.treeNodes.get(f).getPanelNode().isSelected=a;this.checkEnables()},"~B");c(b,"combineSelected",function(){});c(b,"viewSelected",function(){for(var a=new JU.SB,f=null,b=0,g=0;g<this.checkBoxes.size();g++){var c=this.checkBoxes.get(g),e=this.treeNodes.get(g).getPanelNode();if(this.dialog.isSelected(c)&&null!=e.jsvp){if(e.isView){f=e;b=2;break}b++;c=this.dialog.getText(c);
a.append(" ").append(c.substring(0,c.indexOf(":")))}}g=null;1<b&&(this.eventApply(),g="STACKOFFSETY "+this.vwr.parameters.viewOffset);null==f?(this.vwr.execView(a.toString().trim(),!1),this.layoutDialog()):this.vwr.setNode(f);null!=g&&this.vwr.runScript(g)});c(b,"closeSelected",function(){this.vwr.runScript("close !selected");this.layoutDialog()});e(b,"callback",function(a,f){if(a.equals("btnSelectAll"))this.selectAll(!0);else if(a.equals("btnSelectNone"))this.selectAll(!1);else if(a.equals("btnViewSelected"))this.viewSelected();
else if(a.equals("btnCombineSelected"))this.viewSelected();else if(a.equals("btnCloseSelected"))this.closeSelected();else if(a.equals("btnDone"))this.viewSelected(),this.dispose(),this.done();else if(a.equals("txtOffset"))this.eventApply(),this.viewSelected();else if(a.startsWith("chk"))this.checkEnables();else return this.callbackAD(a,f);return!0},"~S,~S");e(b,"applyFromFields",function(){this.apply(t(-1,[this.dialog.getText(this.txt2)]))});b.posXY=m(-1,[-2147483648,0])});j("JSV.js2d");h(["JSV.dialog.DialogManager"],
"JSV.js2d.JsDialogManager","JU.PT JSV.js2d.DialogTableModel $.JsDialog JS.Dimension $.JDialog $.JEditorPane $.JLabel $.JScrollPane $.JTable".split(" "),function(){var b=s(JSV.js2d,"JsDialogManager",JSV.dialog.DialogManager);l(b,function(){p(this,JSV.js2d.JsDialogManager,[])});e(b,"getDialog",function(a){return new JSV.js2d.JsDialog(this,a,this.registerDialog(a))},"JSV.dialog.JSVDialog");e(b,"getDialogInput",function(a,f,b,g,c,e,j){return prompt(f,j)},"~O,~S,~S,~N,~O,~A,~S");e(b,"showMessageDialog",
function(a,f){alert(f)},"~O,~S,~S,~N");e(b,"getLocationOnScreen",function(){return m(2,0)},"~O");e(b,"getOptionFromDialog",function(a,f,b,g,c){return this.vwr.html5Applet.getOption(f,g,c)},"~O,~A,JSV.api.JSVPanel,~S,~S");e(b,"showProperties",function(a,f){var b=new JS.JDialog;b.setTitle("Header Information");var g=f.getHeaderRowDataAsArray(),c=t(-1,["Label","Description"]),g=new JSV.js2d.DialogTableModel(c,g,!1,!0),g=new JS.JTable(g);g.setPreferredScrollableViewportSize(new JS.Dimension(400,195));
g=new JS.JScrollPane(g);b.getContentPane().add(g);b.pack();b.setVisible(!0);b.toFront()},"~O,JSV.common.Spectrum");e(b,"showMessage",function(a,f,b){a=new JS.JDialog;a.manager=this;a.setTitle(b);0<=f.indexOf("</div>")?b=new JS.JLabel(f):(b=new JS.JEditorPane,b.setText(f));a.getContentPane().add(b);a.pack();a.setVisible(!0);a.toFront()},"~O,~S,~S");c(b,"actionPerformed",function(a){var b=a.indexOf("/JT");if(0<=b){var d=a.lastIndexOf("_"),g=a.lastIndexOf("_",d-1),g=JU.PT.parseInt(a.substring(g+1,d)),
d=JU.PT.parseInt(a.substring(d+1));this.processTableEvent(a.substring(0,b)+"/ROWCOL",g,d,!1)}else this.processClick(a)},"~S")});j("JSV.dialog");h(null,"JSV.dialog.DialogManager",["java.util.Hashtable","JU.PT","JSV.common.JSVFileManager","$.JSViewer"],function(){var b=r(function(){this.options=this.htDialogs=this.htSelectors=this.vwr=null;q(this,arguments)},JSV.dialog,"DialogManager",null);c(b,"set",function(a){this.vwr=a;this.htSelectors=new java.util.Hashtable;this.htDialogs=new java.util.Hashtable;
return this},"JSV.common.JSViewer");c(b,"registerDialog",function(a){var b=a.optionKey;b.endsWith("!")||(b+=" "+(""+Math.random()).substring(3));this.htDialogs.containsKey(b)&&this.htDialogs.get(b).dispose();this.htDialogs.put(b,a);return b},"JSV.dialog.JSVDialog");c(b,"registerSelector",function(a,b){this.htSelectors.put(b,a)},"~S,~O");c(b,"getSelectorName",function(a){return this.htSelectors.get(a)},"~O");c(b,"showSourceErrors",function(a,b){if(null==b)this.showMessageDialog(a,"Please Select a Spectrum.",
"Select Spectrum",2);else{var d=b.getErrorLog();null!=d&&0<d.length?this.showMessage(a,d,JSV.dialog.DialogManager.fixTitle(b.getFilePath())):this.showMessageDialog(a,"No errors found.","Error Log",1)}},"~O,JSV.source.JDXSource");c(b,"showSource",function(a,b){var d=b.getFilePath();if(null==d)this.showMessageDialog(a,"Please Select a Spectrum","Select Spectrum",2);else if("[inline]"===d)this.showMessage(null,b.getInlineData(),"Inline data");else try{var g=JSV.common.JSVFileManager.getFileAsString(d);
JSV.common.JSViewer.isJS&&(g=JU.PT.rep(g,"<","&lt;"));this.showMessage(null,g,JSV.dialog.DialogManager.fixTitle(d))}catch(c){if(u(c,Exception))this.showMessageDialog(a,"File Not Found","SHOWSOURCE",0);else throw c;}},"~O,JSV.common.Spectrum");c(b,"processClick",function(a){var b=a.lastIndexOf("/"),d=a.substring(b+1);a=a.substring(0,b);this.dialogCallback(a,d,null)},"~S");c(b,"processTableEvent",function(a,b,d,g){var c=a.lastIndexOf("/"),e=a.substring(0,c);a="&selector="+a.substring(c+1)+"&index="+
b+(0>d?"&adjusting="+g:"&index2="+d);this.dialogCallback(e,"tableSelect",a)},"~S,~N,~N,~B");c(b,"processWindowClosing",function(a){this.dialogCallback(a,"windowClosing",null);this.htDialogs.remove(a)},"~S");c(b,"dialogCallback",function(a,b,d){a=this.htDialogs.get(a);null!=a&&a.callback(b,d)},"~S,~S,~S");c(b,"getDialogOptions",function(){null==this.options&&(this.options=new java.util.Hashtable);return this.options});b.fixTitle=c(b,"fixTitle",function(a){return 50<a.length?a.substring(0,50)+"...":
a},"~S")});j("JSV.js2d");h(["JS.AbstractTableModel"],"JSV.js2d.DialogTableModel",["JU.CU"],function(){var b=r(function(){this.data=this.columnNames=null;this.asString=!1;this.widths=null;this.thisCol=0;this.tableCellAlignLeft=!1;q(this,arguments)},JSV.js2d,"DialogTableModel",null,JS.AbstractTableModel);l(b,function(a,b,d,c){this.columnNames=a;this.data=b;this.asString=d;this.widths=0==b.length?m(0,0):m(b[0].length,0);this.tableCellAlignLeft=c},"~A,~A,~B,~B");c(b,"getColumnCount",function(){return this.columnNames.length});
c(b,"getRowCount",function(){return this.data.length});c(b,"getColumnName",function(a){return this.columnNames[a]},"~N");c(b,"getValueAt",function(a,b){var d=this.data[a][b];return this.asString?" "+d+" ":d},"~N,~N");e(b,"getColumn",function(a){this.thisCol=a;return this},"~N");e(b,"setPreferredWidth",function(a){this.widths[this.thisCol]=a},"~N");e(b,"toHTML",function(a,b,d){if(!(null==this.data||null==this.data[0]||0==this.data[0].length))for(var c=this.data.length,e=this.columnNames.length,k=-1;k<
c;k++){var j=b+"_"+k;a.append("\n<tr id='"+j+"' class='JTable_"+(-1==k?"header":"row")+"' style='height:25px'>");for(var h=0;h<e;h++)-1==k?this.getCellHtml(a,b+"_h"+h,k,h,this.columnNames[h],!1):this.getCellHtml(a,j+"_"+h,k,h,this.data[k][h],d.get(k));a.append("</tr>")}},"JU.SB,~S,JU.BS");c(b,"getCellHtml",function(a,b,d,c,e,h){d=this.getCellStyle(b,d,c,e,h);a.append("<td id='"+b+"'"+d+" onclick=SwingController.click(this)>"+e+"</td>")},"JU.SB,~S,~N,~N,~O,~B");c(b,"getCellStyle",function(a,b,d,c,
e){a="padding:1px 1px 1px 1px";0>b?a+=";font-weight:bold":v(c,"javajs.api.GenericColor")?a+=";background-color:"+JU.CU.toCSSString(c):(a+=";text-align:",a=this.tableCellAlignLeft?a+"left":0==d?a+"center":a+"right",a+=";border:"+(e?3:1)+"px solid #000");return" style='"+a+"'"},"~S,~N,~N,~O,~B")});j("JSV.js2d");h(["JSV.api.PlatformDialog","JS.JDialog","$.Insets"],"JSV.js2d.JsDialog","java.util.Hashtable JSV.common.Annotation JSV.js2d.DialogTableModel JS.Color $.Dimension $.FlowLayout $.GridBagConstraints $.GridBagLayout $.JButton $.JCheckBox $.JComboBox $.JLabel $.JPanel $.JScrollPane $.JSplitPane $.JTable $.JTextField".split(" "),
function(){var b=r(function(){this.dataTable=this.thisPanel=this.rightPanel=this.mainSplitPane=this.leftPanel=this.type=this.manager=this.options=this.registryKey=this.optionKey=null;this.iRow=0;this.tableCellAlignLeft=this.haveColors=!1;this.haveTwoPanels=!0;this.panelInsets=this.buttonInsets=null;this.selectedRow=-1;q(this,arguments)},JSV.js2d,"JsDialog",JS.JDialog,JSV.api.PlatformDialog);w(b,function(){this.buttonInsets=new JS.Insets(5,5,5,5);this.panelInsets=new JS.Insets(0,0,2,2)});l(b,function(a,
b,d){p(this,JSV.js2d.JsDialog);this.defaultHeight=350;this.manager=a;this.registryKey=d;this.optionKey=b.optionKey;this.type=b.getAType();this.options=b.options;null==this.options&&(this.options=new java.util.Hashtable);this.getContentPane().setBackground(JS.Color.get3(230,230,230));this.toFront()},"JSV.dialog.DialogManager,JSV.dialog.JSVDialog,~S");c(b,"onFocus",function(){this.toFront()});e(b,"setFocus",function(a){a&&this.toFront()},"~B");e(b,"addButton",function(a,b){var d=new JS.JButton;d.setPreferredSize(new JS.Dimension(120,
25));d.setText(b);d.setName(this.registryKey+"/"+a);d.addActionListener(this.manager);this.thisPanel.add(d,new JS.GridBagConstraints(0,this.iRow++,3,1,0,0,10,0,this.buttonInsets,0,0));return d},"~S,~S");e(b,"addCheckBox",function(a,b,d,c){if(null==a)return this.iRow=0,this.thisPanel=this.rightPanel,null;var e=new JS.JCheckBox;e.setSelected(c);e.setText(b);e.setName(this.registryKey+"/"+a);e.addActionListener(this.manager);a=new JS.Insets(0,20*d,2,2);this.thisPanel.add(e,new JS.GridBagConstraints(0,
this.iRow++,1,1,0,0,17,0,a,0,0));return e},"~S,~S,~N,~B");c(b,"addPanelLine",function(a,b,d,c){this.thisPanel.add(new JS.JLabel(null==b?a:b),new JS.GridBagConstraints(0,this.iRow,1,1,0,0,13,0,this.panelInsets,0,0));null==c?this.thisPanel.add(d,new JS.GridBagConstraints(1,this.iRow,2,1,0,0,17,0,this.panelInsets,0,0)):(this.thisPanel.add(d,new JS.GridBagConstraints(1,this.iRow,1,1,0,0,10,0,this.panelInsets,0,0)),this.thisPanel.add(new JS.JLabel(c),new JS.GridBagConstraints(2,this.iRow,1,1,0,0,17,0,
this.panelInsets,0,0)));this.iRow++},"~S,~S,JS.JComponent,~S");e(b,"addSelectOption",function(a,b,d,c,e){d=new JS.JComboBox(d);d.setSelectedIndex(c);d.setName(this.registryKey+"/"+a);e&&(d.addActionListener(this.manager),this.addPanelLine(a,b,d,null));return d},"~S,~S,~A,~N,~B");e(b,"addTextField",function(a,b,d,c,e,h){var j=this.optionKey+"_"+a;null==d&&(d=this.options.get(j),null==d&&this.options.put(j,d=e));d=new JS.JTextField(d);d.setName(this.registryKey+"/"+a);h&&(d.setPreferredSize(new JS.Dimension(45,
15)),d.addActionListener(this.manager),this.addPanelLine(a,b,d,c));return d},"~S,~S,~S,~S,~S,~B");e(b,"createTable",function(a,b,d){try{var c=new JS.JScrollPane(this.dataTable=this.getDataTable(a,b,d,null==this.leftPanel?this.defaultHeight:this.leftPanel.getHeight()-50));null==this.mainSplitPane?this.getContentPane().add(c):this.mainSplitPane.setRightComponent(c)}catch(e){if(!u(e,Exception))throw e;}this.validate();this.repaint()},"~A,~A,~A");e(b,"endLayout",function(){this.getContentPane().removeAll();
this.getContentPane().add(this.mainSplitPane);this.pack()});c(b,"getDataTable",function(a,b,d){this.selectedRow=-1;a=new JSV.js2d.DialogTableModel(b,a,!this.haveColors,this.tableCellAlignLeft);a=new JS.JTable(a);var c=a.getSelectionModel();c.addListSelectionListener(this.manager);this.manager.registerSelector(this.registryKey+"/ROW",c);c=a.getColumnModel().getSelectionModel();c.addListSelectionListener(this.manager);this.manager.registerSelector(this.registryKey+"/COLUMN",c);for(c=0;c<b.length;c++)a.getColumnModel().getColumn(c).setPreferredWidth(d[c]);
return a},"~A,~A,~A,~N");e(b,"getSelectedIndex",function(a){return a.getSelectedIndex()},"~O");e(b,"getSelectedItem",function(a){return a.getSelectedItem()},"~O");c(b,"getText",function(a){return a.getText()},"~O");e(b,"isSelected",function(a){return a.isSelected()},"~O");e(b,"selectTableRow",function(a){this.selectedRow=a;this.dataTable.clearSelection();0<=this.selectedRow&&(this.dataTable.setRowSelectionAllowed(!0),this.dataTable.setRowSelectionInterval(this.selectedRow,this.selectedRow+1),this.repaint())},
"~N");e(b,"setCellSelectionEnabled",function(a){this.dataTable.setCellSelectionEnabled(a)},"~B");c(b,"setEnabled",function(a,b){a.setEnabled(b)},"~O,~B");e(b,"setIntLocation",function(a){var b=new JS.Dimension(0,0);SwingController.getScreenDimensions(b);a[0]=Math.min(b.width-50,a[0]);a[1]=Math.min(b.height-50,a[1]);this.setLocation(a)},"~A");c(b,"setPreferredSize",function(a,b){this.setPreferredSize(new JS.Dimension(a,b))},"~N,~N");e(b,"setSelected",function(a,b){a.setSelected(b)},"~O,~B");e(b,"setSelectedIndex",
function(a,b){a.setSelectedIndex(b)},"~O,~N");c(b,"setText",function(a,b){a.setText(b)},"~O,~S");e(b,"startLayout",function(){this.setPreferredSize(new JS.Dimension(600,370));this.getContentPane().removeAll();this.thisPanel=this.rightPanel=new JS.JPanel(new JS.FlowLayout);switch(this.type){case JSV.common.Annotation.AType.OverlayLegend:this.haveColors=this.tableCellAlignLeft=!0;this.haveTwoPanels=!1;break;case JSV.common.Annotation.AType.Views:this.rightPanel=new JS.JPanel(new JS.GridBagLayout)}this.haveTwoPanels&&
(this.thisPanel=this.leftPanel=new JS.JPanel(new JS.GridBagLayout),this.leftPanel.setMinimumSize(new JS.Dimension(200,300)),this.mainSplitPane=new JS.JSplitPane(1),this.mainSplitPane.setLeftComponent(this.leftPanel),this.mainSplitPane.setRightComponent(new JS.JScrollPane(this.rightPanel)))});c(b,"getColumnCentering",function(a){return this.tableCellAlignLeft?2:0==a?0:4},"~N")});j("JSV.api");x(JSV.api,"PlatformDialog")})(Clazz,Clazz.getClassName,Clazz.newLongArray,Clazz.doubleToByte,Clazz.doubleToInt,
Clazz.doubleToLong,Clazz.declarePackage,Clazz.instanceOf,Clazz.load,Clazz.instantialize,Clazz.decorateAsClass,Clazz.floatToInt,Clazz.floatToLong,Clazz.makeConstructor,Clazz.defineEnumConstant,Clazz.exceptionOf,Clazz.newIntArray,Clazz.newFloatArray,Clazz.declareType,Clazz.prepareFields,Clazz.superConstructor,Clazz.newByteArray,Clazz.declareInterface,Clazz.newShortArray,Clazz.innerTypeInstance,Clazz.isClassDefined,Clazz.prepareCallback,Clazz.newArray,Clazz.castNullAs,Clazz.floatToShort,Clazz.superCall,
Clazz.decorateAsType,Clazz.newBooleanArray,Clazz.newCharArray,Clazz.implementOf,Clazz.newDoubleArray,Clazz.overrideConstructor,Clazz.clone,Clazz.doubleToShort,Clazz.getInheritedLevel,Clazz.getParamsType,Clazz.isAF,Clazz.isAB,Clazz.isAI,Clazz.isAS,Clazz.isASS,Clazz.isAP,Clazz.isAFloat,Clazz.isAII,Clazz.isAFF,Clazz.isAFFF,Clazz.tryToSearchAndExecute,Clazz.getStackTrace,Clazz.inheritArgs,Clazz.alert,Clazz.defineMethod,Clazz.overrideMethod,Clazz.declareAnonymous,Clazz.cloneFinals);
