protected JCheckBox rightAlign = new JCheckBox();
protected JCheckBox showUnconserved = new JCheckBox();
+ protected JCheckBox showDbRefTooltip = new JCheckBox();
+ protected JCheckBox showNpTooltip = new JCheckBox();
protected JCheckBox idItalics = new JCheckBox();
showGroupConservation.setHorizontalTextPosition(SwingConstants.LEFT);
showGroupConservation.setSelected(true);
showGroupConservation.setText("Conservation");
+ showNpTooltip.setEnabled(true);
+ showNpTooltip.setFont(verdana11);
+ showNpTooltip.setHorizontalAlignment(SwingConstants.RIGHT);
+ showNpTooltip.setHorizontalTextPosition(SwingConstants.LEFT);
+ showNpTooltip.setSelected(true);
+ showNpTooltip.setText("Non-positional Features");
+ showDbRefTooltip.setEnabled(true);
+ showDbRefTooltip.setFont(verdana11);
+ showDbRefTooltip.setHorizontalAlignment(SwingConstants.RIGHT);
+ showDbRefTooltip.setHorizontalTextPosition(SwingConstants.LEFT);
+ showDbRefTooltip.setSelected(true);
+ showDbRefTooltip.setText("Database References");
annotations.setFont(verdana11);
annotations.setHorizontalAlignment(SwingConstants.RIGHT);
annotations.setHorizontalTextPosition(SwingConstants.LEADING);
showUnconserved.setFont(verdana11);
showUnconserved.setHorizontalAlignment(SwingConstants.RIGHT);
showUnconserved.setHorizontalTextPosition(SwingConstants.LEFT);
- //showUnconserved.setBounds(new Rectangle(169, 40, 200, 23));
showUnconserved.setSelected(true);
showUnconserved.setText("Show Unconserved");
showUnconserved.addActionListener(new ActionListener()
shareSelections.setFont(verdana11);
shareSelections.setHorizontalAlignment(SwingConstants.RIGHT);
shareSelections.setHorizontalTextPosition(SwingConstants.LEFT);
- //showUnconserved.setBounds(new Rectangle(169, 40, 200, 23));
shareSelections.setSelected(true);
shareSelections.setText("Share selection across views");
followHighlight.setFont(verdana11);
jPanel2.setBounds(new Rectangle(7, 17, 158, 278));
jPanel2.setLayout(gridLayout2);
gridLayout2.setRows(13);
- // jPanel3.setBounds(new Rectangle(173, 35, 274, 26));
- //jPanel3.setBounds(new Rectangle(173, 35, 274, 78));
- //jPanel3.setLayout(new GridLayout(3,3));
-// autoAnnotSettings1.setBounds(new Rectangle(173,53,274,26));// new Rectangle(173, 116, 274, 78));
-// autoAnnotSettings2.setBounds(new Rectangle(173,72,274,26));
exportTab.setLayout(null);
epsLabel.setFont(verdana11);
epsLabel.setHorizontalAlignment(SwingConstants.RIGHT);
annsettingsPanel.add(autoAnnotSettings2);
annsettingsPanel.add(autoAnnotSettings3);
autoAnnotSettings1.setLayout(new GridLayout(3,1,0,0));
-// autoAnnotSettings1.setPreferredSize(new Dimensions())
autoAnnotSettings2.setLayout(new GridLayout(3,1,0,0));
autoAnnotSettings3.setLayout(new GridLayout(3,1,0,0));
visualTab.add(annsettingsPanel);
- //visualTab.add(autoAnnotSettings1);
- //visualTab.add(autoAnnotSettings2);
Border jb = new EmptyBorder(1,1,4,5);
quality.setBorder(jb);
conservation.setBorder(jb);
autoAnnotSettings2.add(conservation);
autoAnnotSettings1.add(quality);
autoAnnotSettings3.add(identity);
-
- /*FlowLayout fl = new FlowLayout();
- fl.setAlignment(FlowLayout.LEFT);
- autoAnnotSettings1.setLayout(fl);
- fl = new FlowLayout();
- fl.setAlignment(FlowLayout.LEFT);
- autoAnnotSettings2.setLayout(fl); */
- autoAnnotSettings1.add(showGroupbits);
+autoAnnotSettings1.add(showGroupbits);
autoAnnotSettings3.add(showGroupConsensus);
autoAnnotSettings2.add(showGroupConservation);
autoAnnotSettings1.add(showConsensbits);
autoAnnotSettings2.add(showConsensHistogram);
autoAnnotSettings3.add(showConsensLogo);
+
+ JPanel tooltipSettings = new JPanel();
+ tooltipSettings.setBorder(new TitledBorder("Sequence ID Tooltip"));
+ tooltipSettings.setBounds(173, 130, 200,62);
+ tooltipSettings.setLayout(new GridLayout(2,1));
+ tooltipSettings.add(showDbRefTooltip);
+ tooltipSettings.add(showNpTooltip);
+ visualTab.add(tooltipSettings);
visualTab.add(jPanel2);
linkPanel.add(editLinkButtons, BorderLayout.EAST);