transparency.setValue(100 - transparencyAsPercent);
inConstruction = incon;
}
+
/**
* Constructor
*
});
frame.setLayer(JLayeredPane.PALETTE_LAYER);
}
- inConstruction = false;
- }
+ inConstruction = false;
+ }
/**
* Sets the state of buttons to show complement features from viewport
change = null;
}
- /**
- * Constructs and shows a popup menu of possible actions on the selected row and
- * feature type
- *
- * @param rowSelected
- * @param type
- * @param typeCol
- * @param pt
- */
- protected void showPopupMenu(final int rowSelected, final String type, final Object typeCol, final Point pt)
+ /**
+ * Constructs and shows a popup menu of possible actions on the selected row
+ * and feature type
+ *
+ * @param rowSelected
+ * @param type
+ * @param typeCol
+ * @param pt
+ */
+ protected void showPopupMenu(final int rowSelected, final String type,
+ final Object typeCol, final Point pt)
{
JPopupMenu men = new JPopupMenu(MessageManager
.formatMessage("label.settings_for_param", new String[]
}
/**
- * close ourselves but leave any existing UI handlers (e.g a CDS/Protein tabbed
- * feature settings dialog) intact
+ * close ourselves but leave any existing UI handlers (e.g a CDS/Protein
+ * tabbed feature settings dialog) intact
*/
public void closeOldSettings()
{
}
});
- final String byScoreLabel = MessageManager.getString("label.seq_sort_by_score");
+ final String byScoreLabel = MessageManager
+ .getString("label.seq_sort_by_score");
JButton sortByScore = new JButton(byScoreLabel);
sortByScore.setFont(JvSwingUtils.getLabelFont());
sortByScore.addActionListener(new ActionListener()
}
}
});
- final String byDensityLabel = MessageManager.getString("label.sequence_sort_by_density");
+ final String byDensityLabel = MessageManager
+ .getString("label.sequence_sort_by_density");
JButton sortByDens = new JButton(byDensityLabel);
sortByDens.setFont(JvSwingUtils.getLabelFont());
sortByDens.addActionListener(new ActionListener()
}
}
});
- // Cancel for a SplitFrame should just revert changes to the currently displayed
+ // Cancel for a SplitFrame should just revert changes to the currently
+ // displayed
// settings. May want to do this for either or both - so need a splitview
// feature settings cancel/OK.
JButton cancel = new JButton(MessageManager
MessageManager.getString("label.transparency_tip"));
boolean nucleotide = af.getViewport().getAlignment().isNucleotide();
- String text = MessageManager.formatMessage("label.show_linked_features",
- nucleotide
- ? MessageManager.getString("label.protein")
- .toLowerCase(Locale.ROOT)
- : "CDS");
+ String text = MessageManager
+ .formatMessage("label.show_linked_features",
+ nucleotide
+ ? MessageManager.getString("label.protein")
+ .toLowerCase(Locale.ROOT)
+ : "CDS");
showComplement = new JCheckBox(text);
showComplement.addActionListener(new ActionListener()
{
*
* @param fcol
* @param withHint
- * if true include 'click to edit' and similar text
+ * if true include 'click to edit' and similar text
* @return
*/
public static String getColorTooltip(FeatureColourI fcol,