table.setDefaultEditor(FeatureMatcherSet.class, new FilterEditor(this));
table.setDefaultRenderer(FeatureMatcherSet.class, new FilterRenderer());
table.setDefaultEditor(FeatureMatcherSet.class, new FilterEditor(this));
table.setDefaultRenderer(FeatureMatcherSet.class, new FilterRenderer());
TableColumn colourColumn = new TableColumn(COLOUR_COLUMN, 75,
new ColorRenderer(), new ColorEditor(this));
table.addColumn(colourColumn);
TableColumn colourColumn = new TableColumn(COLOUR_COLUMN, 75,
new ColorRenderer(), new ColorEditor(this));
table.addColumn(colourColumn);
* colour will have already been set in the FeatureRenderer
*/
FeatureColourI fci = fr.getFeatureColours().get(type);
* colour will have already been set in the FeatureRenderer
*/
FeatureColourI fci = fr.getFeatureColours().get(type);
table.validate();
}
else
{
// probably the color chooser!
table.setValueAt(new FeatureColour(colorChooser.getColor()),
table.validate();
}
else
{
// probably the color chooser!
table.setValueAt(new FeatureColour(colorChooser.getColor()),
table.validate();
me.updateFeatureRenderer(
((FeatureTableModel) table.getModel()).getData(),
table.validate();
me.updateFeatureRenderer(
((FeatureTableModel) table.getModel()).getData(),
JalviewFileChooser chooser = new JalviewFileChooser("fc",
SEQUENCE_FEATURE_COLOURS);
chooser.setFileView(new JalviewFileView());
JalviewFileChooser chooser = new JalviewFileChooser("fc",
SEQUENCE_FEATURE_COLOURS);
chooser.setFileView(new JalviewFileView());
JalviewFileChooser chooser = new JalviewFileChooser("fc",
SEQUENCE_FEATURE_COLOURS);
chooser.setFileView(new JalviewFileView());
JalviewFileChooser chooser = new JalviewFileChooser("fc",
SEQUENCE_FEATURE_COLOURS);
chooser.setFileView(new JalviewFileView());
// Set up the editor (from the table's point of view),
// which is a button.
// This button brings up the color chooser dialog,
// Set up the editor (from the table's point of view),
// which is a button.
// This button brings up the color chooser dialog,