|
|
@ -21,6 +21,7 @@ import com.fr.design.style.color.ColorSelectBox; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.van.chart.designer.TableLayout4VanChartHelper; |
|
|
|
import com.fr.van.chart.designer.TableLayout4VanChartHelper; |
|
|
|
|
|
|
|
import com.fr.van.chart.range.component.LegendGradientBar; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JComponent; |
|
|
|
import javax.swing.JComponent; |
|
|
|
import javax.swing.JFrame; |
|
|
|
import javax.swing.JFrame; |
|
|
@ -102,7 +103,7 @@ public class UIColorPickerPane extends BasicPane implements UIObserver { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
regionNumPane = new UINumberDragPane(1, 6) { |
|
|
|
regionNumPane = new UINumberDragPane(1, LegendGradientBar.COLOR_GRADUAL_NUM_MAX) { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void userEvent(double value) { |
|
|
|
public void userEvent(double value) { |
|
|
|
if(!UIColorPickerPane.this.moveOnColorOrTextPane){ |
|
|
|
if(!UIColorPickerPane.this.moveOnColorOrTextPane){ |
|
|
@ -191,7 +192,7 @@ public class UIColorPickerPane extends BasicPane implements UIObserver { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
regionNumPane = new UINumberDragPane(1, 6) { |
|
|
|
regionNumPane = new UINumberDragPane(1, LegendGradientBar.COLOR_GRADUAL_NUM_MAX) { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void userEvent(double value) { |
|
|
|
public void userEvent(double value) { |
|
|
|
if(!UIColorPickerPane.this.moveOnColorOrTextPane){ |
|
|
|
if(!UIColorPickerPane.this.moveOnColorOrTextPane){ |
|
|
|