All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.celldynamics.quimp.plugin.protanalysis.ActionClickPredefinedPoint Maven / Gradle / Ivy

Go to download

QuimP software, a set of plugins for ImageJ to quantify spatio-temporal patterns of fluorescently labeled proteins in the cortex of moving cells.

The newest version!
package com.github.celldynamics.quimp.plugin.protanalysis;

import java.awt.event.ActionEvent;

import javax.swing.JToggleButton;

/**
 * Set mode for {@link CustomCanvas} to get reference point only.
 * 
 * 

Mode is reseted by {@link CustomCanvas#mousePressed(java.awt.event.MouseEvent)} * * @author p.baniukiewicz * */ @SuppressWarnings("serial") public class ActionClickPredefinedPoint extends ProtAnalysisAbstractAction { /** * Action creator. * * @param name name * @param desc description * @param ui reference to outer class. */ public ActionClickPredefinedPoint(String name, String desc, ProtAnalysisUi ui) { super(name, desc, ui); } /* * (non-Javadoc) * * @see * com.github.celldynamics.quimp.plugin.protanalysis.ProtAnalysisAbstractAction#actionPerformed( * java.awt.event.ActionEvent) */ @Override public void actionPerformed(ActionEvent e) { JToggleButton src = (JToggleButton) e.getSource(); if (src.isSelected()) { options.bnGradientPickActive.setTrue(); } else { options.bnGradientPickActive.setFalse(); } logger.trace(ui.getModel().getOptions().serialize()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy