private CardLayout switchableViewsLayout = (CardLayout) (switchableViewsPanel
.getLayout());
+
private JPanel noGraphFilterView = new JPanel();
private JPanel graphFilterView = new JPanel();
@Override
public void actionPerformed(ActionEvent e)
{
- ok_actionPerformed(e);
+ ok_actionPerformed();
}
});
@Override
public void actionPerformed(ActionEvent e)
{
- cancel_actionPerformed(e);
+ cancel_actionPerformed();
}
});
@Override
public void actionPerformed(ActionEvent e)
{
- threshold_actionPerformed(e);
+ threshold_actionPerformed();
}
});
@Override
public void actionPerformed(ActionEvent e)
{
- thresholdValue_actionPerformed(e);
+ thresholdValue_actionPerformed();
}
});
String defaultTtip = MessageManager
.getString("info.change_threshold_mode_to_enable");
- String threshold = getThreshold().getSelectedItem().toString();
- if (threshold.equalsIgnoreCase("No Threshold"))
+ String thresh = getThreshold().getSelectedItem().toString();
+ if (thresh.equalsIgnoreCase("No Threshold"))
{
thresholdValue.setToolTipText(defaultTtip);
slider.setToolTipText(defaultTtip);
}
}
+
+ @Override
public void reset()
{
if (this.getOldColumnSelection() != null)
}
+ @Override
public void valueChanged(boolean updateAllAnnotation)
{
if (slider.isEnabled())
updateView();
}
-
public class FurtherActionPanel extends JPanel
{
private AnnotationColumnChooser aColChooser;
{
if (aColChooser.getActionOption() == AnnotationColumnChooser.ACTION_OPTION_HIDE)
{
- this.optionsGroup.setSelected(this.hideOption.getModel(),
- true);
+ this.optionsGroup.setSelected(this.hideOption.getModel(), true);
}
else
{
JvSwingUtils.jvInitComponent(searchBox);
searchBox.setToolTipText(MessageManager
.getString("info.enter_search_text_here"));
- searchBox.getDocument().addDocumentListener(
- new DocumentListener()
- {
- @Override
- public void insertUpdate(DocumentEvent e)
- {
- searchStringAction();
- }
-
- @Override
- public void removeUpdate(DocumentEvent e)
- {
- searchStringAction();
- }
-
- @Override
- public void changedUpdate(DocumentEvent e)
- {
- searchStringAction();
- }
- });
+ searchBox.getDocument().addDocumentListener(new DocumentListener()
+ {
+ @Override
+ public void insertUpdate(DocumentEvent e)
+ {
+ searchStringAction();
+ }
+
+ @Override
+ public void removeUpdate(DocumentEvent e)
+ {
+ searchStringAction();
+ }
+
+ @Override
+ public void changedUpdate(DocumentEvent e)
+ {
+ searchStringAction();
+ }
+ });
JvSwingUtils.jvInitComponent(displayName, "label.label");
displayName.setEnabled(false);
{
String defaultTtip = MessageManager
.getString("info.enter_search_text_to_enable");
- String labelTtip = MessageManager
-.formatMessage(
+ String labelTtip = MessageManager.formatMessage(
"info.search_in_annotation_label", annotations
.getSelectedItem().toString());
- String descTtip = MessageManager
-.formatMessage(
+ String descTtip = MessageManager.formatMessage(
"info.search_in_annotation_description", annotations
.getSelectedItem().toString());
- displayName.setToolTipText(displayName.isEnabled() ? labelTtip : defaultTtip);
+ displayName.setToolTipText(displayName.isEnabled() ? labelTtip
+ : defaultTtip);
description.setToolTipText(description.isEnabled() ? descTtip
: defaultTtip);
}