|
|
|
@ -12,13 +12,12 @@ import com.fr.plugin.chart.base.format.AttrTooltipFormat;
|
|
|
|
|
import com.fr.stable.Constants; |
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import java.text.Format; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Point; |
|
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
|
import java.awt.event.MouseListener; |
|
|
|
|
import java.text.Format; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Created by Mitisky on 16/2/23. |
|
|
|
@ -54,32 +53,7 @@ public abstract class VanChartFormatPaneWithCheckBox extends JPanel{
|
|
|
|
|
this.add(formatButton, BorderLayout.EAST); |
|
|
|
|
|
|
|
|
|
initFormatListener(); |
|
|
|
|
isSelectedBox.addMouseListener(new MouseListener() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
isDirty = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseReleased(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseEntered(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
isSelectedBox.addChangeListener((e)-> isDirty = true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected abstract String getCheckBoxText(); |
|
|
|
|