Browse Source

REPORT-92628 控件支持主题切换-部分控件未实现主题样式设置--代码格式

release/11.0
John.Ying-应志浩 2 years ago
parent
commit
a0a5863234
  1. 2
      designer-form/src/main/java/com/fr/design/widget/ui/btn/AbstractExtraButtonPane.java
  2. 2
      designer-form/src/main/java/com/fr/design/widget/ui/btn/FormSubmitButtonDetailPane.java
  3. 6
      designer-realize/src/main/java/com/fr/design/widget/ui/btn/AppendRowButtonDefinePane.java
  4. 2
      designer-realize/src/main/java/com/fr/design/widget/ui/btn/DefaultButtonDetailPane.java
  5. 2
      designer-realize/src/main/java/com/fr/design/widget/ui/btn/DeleteRowButtonDefinePane.java
  6. 2
      designer-realize/src/main/java/com/fr/design/widget/ui/btn/FreeButtonDetailPane.java
  7. 2
      designer-realize/src/main/java/com/fr/design/widget/ui/btn/TreeNodeToogleButtonDefinePane.java

2
designer-form/src/main/java/com/fr/design/widget/ui/btn/ExtraButtonPane.java → designer-form/src/main/java/com/fr/design/widget/ui/btn/AbstractExtraButtonPane.java

@ -28,7 +28,7 @@ import java.util.Set;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public abstract class ExtraButtonPane<T extends Button> extends ButtonWithHotkeysDetailPane<T> { public abstract class AbstractExtraButtonPane<T extends Button> extends ButtonWithHotkeysDetailPane<T> {
protected JPanel extraPane; protected JPanel extraPane;
protected boolean containsExtraPane; protected boolean containsExtraPane;
protected static double F = TableLayout.FILL; protected static double F = TableLayout.FILL;

2
designer-form/src/main/java/com/fr/design/widget/ui/btn/FormSubmitButtonDetailPane.java

@ -11,7 +11,7 @@ import java.awt.*;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public class FormSubmitButtonDetailPane extends ExtraButtonPane<FormSubmitButton> { public class FormSubmitButtonDetailPane extends AbstractExtraButtonPane<FormSubmitButton> {
@Override @Override
protected Component createCenterPane() { protected Component createCenterPane() {

6
designer-realize/src/main/java/com/fr/design/widget/ui/btn/AppendRowButtonDefinePane.java

@ -3,10 +3,10 @@ package com.fr.design.widget.ui.btn;
import com.fr.base.IconManager; import com.fr.base.IconManager;
import com.fr.design.layout.TableLayoutHelper;
import com.fr.report.web.button.write.AppendRowButton; import com.fr.report.web.button.write.AppendRowButton;
import com.fr.design.widget.btn.ButtonWithHotkeysDetailPane;
import java.awt.*; import java.awt.*;
@ -18,7 +18,7 @@ import java.awt.*;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public class AppendRowButtonDefinePane<T extends AppendRowButton> extends ExtraButtonPane<AppendRowButton> { public class AppendRowButtonDefinePane<T extends AppendRowButton> extends AbstractExtraButtonPane<AppendRowButton> {
private DefineAppendColumnRowPane defineColumnRowPane; private DefineAppendColumnRowPane defineColumnRowPane;
// @Override // @Override

2
designer-realize/src/main/java/com/fr/design/widget/ui/btn/DefaultButtonDetailPane.java

@ -15,7 +15,7 @@ import java.awt.*;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public class DefaultButtonDetailPane extends ExtraButtonPane<Button> { public class DefaultButtonDetailPane extends AbstractExtraButtonPane<Button> {
@Override @Override
protected Component createCenterPane() { protected Component createCenterPane() {

2
designer-realize/src/main/java/com/fr/design/widget/ui/btn/DeleteRowButtonDefinePane.java

@ -13,7 +13,7 @@ import java.awt.*;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public class DeleteRowButtonDefinePane<T extends DeleteRowButton> extends ExtraButtonPane<DeleteRowButton> { public class DeleteRowButtonDefinePane<T extends DeleteRowButton> extends AbstractExtraButtonPane<DeleteRowButton> {
private DefineDeleteColumnRowPane ddcp; private DefineDeleteColumnRowPane ddcp;
@Override @Override

2
designer-realize/src/main/java/com/fr/design/widget/ui/btn/FreeButtonDetailPane.java

@ -11,7 +11,7 @@ import com.fr.form.ui.FreeButton;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public class FreeButtonDetailPane extends ExtraButtonPane<FreeButton> { public class FreeButtonDetailPane extends AbstractExtraButtonPane<FreeButton> {
private ButtonSytleDefinedPane buttonSytleDefinedPane; private ButtonSytleDefinedPane buttonSytleDefinedPane;
@Override @Override

2
designer-realize/src/main/java/com/fr/design/widget/ui/btn/TreeNodeToogleButtonDefinePane.java

@ -20,7 +20,7 @@ import java.awt.*;
* @since 11.0 * @since 11.0
* Created on 2023/4/19 * Created on 2023/4/19
*/ */
public class TreeNodeToogleButtonDefinePane<T extends TreeNodeToggleButton> extends ExtraButtonPane<Button> { public class TreeNodeToogleButtonDefinePane<T extends TreeNodeToggleButton> extends AbstractExtraButtonPane<Button> {
public TreeNodeToogleButtonDefinePane() { public TreeNodeToogleButtonDefinePane() {
initComponents(); initComponents();

Loading…
Cancel
Save