|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.fr.design.mainframe; |
|
|
|
|
|
|
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
|
import com.fine.theme.utils.FineClientProperties; |
|
|
|
|
import com.fine.theme.utils.FineUIScale; |
|
|
|
|
import com.fine.theme.utils.FineUIUtils; |
|
|
|
|
import com.formdev.flatlaf.ui.FlatUIUtils; |
|
|
|
@ -35,7 +34,6 @@ import java.math.BigDecimal;
|
|
|
|
|
|
|
|
|
|
import static com.fine.theme.utils.FineUIStyle.LIGHT_GREY; |
|
|
|
|
import static com.fine.theme.utils.FineUIStyle.setStyle; |
|
|
|
|
import static com.formdev.flatlaf.FlatClientProperties.BUTTON_TYPE; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -108,7 +106,6 @@ public class JFormSliderPane extends JPanel {
|
|
|
|
|
}; |
|
|
|
|
downButton.setBorderPainted(false); |
|
|
|
|
downButton.setToolTipText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Scale_Down")); |
|
|
|
|
downButton.putClientProperty(BUTTON_TYPE, FineClientProperties.BUTTON_TYPE_TRANSPARENT); |
|
|
|
|
upButton = new UIButton(new LazyIcon("zoomIn")) { |
|
|
|
|
public Point getToolTipLocation(MouseEvent event) { |
|
|
|
|
return new Point(event.getX(), event.getY() - TOOLTIP_Y); |
|
|
|
@ -120,7 +117,6 @@ public class JFormSliderPane extends JPanel {
|
|
|
|
|
upButton.setActionCommand("more"); |
|
|
|
|
downButton.addActionListener(buttonActionListener); |
|
|
|
|
upButton.addActionListener(buttonActionListener); |
|
|
|
|
upButton.putClientProperty(BUTTON_TYPE, FineClientProperties.BUTTON_TYPE_TRANSPARENT); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initShowValField() { |
|
|
|
|