|
|
@ -24,6 +24,7 @@ import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.backgroundpane.GradientBackgroundQuickPane; |
|
|
|
import com.fr.form.ui.LayoutBorderStyle; |
|
|
|
import com.fr.form.ui.LayoutBorderStyle; |
|
|
|
import com.fr.form.ui.WidgetTitle; |
|
|
|
import com.fr.form.ui.WidgetTitle; |
|
|
|
import com.fr.general.Background; |
|
|
|
import com.fr.general.Background; |
|
|
@ -51,7 +52,7 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Shadow") |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Shadow") |
|
|
|
}; |
|
|
|
}; |
|
|
|
private static final Dimension BUTTON_SIZE = new Dimension(20, 20); |
|
|
|
private static final Dimension BUTTON_SIZE = new Dimension(20, 20); |
|
|
|
private static final int SETTING_LABEL_WIDTH = 60; |
|
|
|
public static final int SETTING_LABEL_WIDTH = 60; |
|
|
|
|
|
|
|
|
|
|
|
protected LayoutBorderStyle style = new LayoutBorderStyle(); |
|
|
|
protected LayoutBorderStyle style = new LayoutBorderStyle(); |
|
|
|
|
|
|
|
|
|
|
@ -124,7 +125,7 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
borderStyleCombo = new UIComboBox(BORDER_STYLE); |
|
|
|
borderStyleCombo = new UIComboBox(BORDER_STYLE); |
|
|
|
borderLineAndImagePane = new BorderLineAndImagePane(); |
|
|
|
borderLineAndImagePane = new BorderLineAndImagePane(); |
|
|
|
cornerSpinner = new UISpinner(0,1000,1,0); |
|
|
|
cornerSpinner = new UISpinner(0,1000,1,0); |
|
|
|
backgroundPane = new BackgroundSpecialPane(); |
|
|
|
backgroundPane = new LayoutBackgroundSpecialPane(); |
|
|
|
backgroundOpacityPane = new UIPercentDragPane(); |
|
|
|
backgroundOpacityPane = new UIPercentDragPane(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -229,7 +230,7 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_StyleAlignment_Right") |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_StyleAlignment_Right") |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
titleBackgroundPane = new BackgroundSpecialPane(); |
|
|
|
titleBackgroundPane = new LayoutBackgroundSpecialPane(); |
|
|
|
|
|
|
|
|
|
|
|
titleBackgroundOpacityPane = new UIPercentDragPane(); |
|
|
|
titleBackgroundOpacityPane = new UIPercentDragPane(); |
|
|
|
} |
|
|
|
} |
|
|
@ -499,4 +500,11 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
g2d.setColor(oldColor); |
|
|
|
g2d.setColor(oldColor); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected static class LayoutBackgroundSpecialPane extends BackgroundSpecialPane { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected GradientBackgroundQuickPane createGradientBackgroundQuickPane() { |
|
|
|
|
|
|
|
return new GradientBackgroundQuickPane(140); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|