Browse Source

调整

feature/big-screen
hades 5 years ago
parent
commit
860f6319ed
  1. 4
      designer-base/src/main/java/com/fr/design/fun/MobileBookMarkStyleProvider.java
  2. 8
      designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/DefaultMobileBookMarkStyleCustomDefinePane.java
  3. 5
      designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/DefaultMobileBookMarkStyleProvider.java
  4. 20
      designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/MobileBookMarkStyleCustomDefinePane.java
  5. 2
      designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/MobileBookMarkStyleDefinePane.java

4
designer-base/src/main/java/com/fr/design/fun/MobileBookMarkStyleProvider.java

@ -1,6 +1,6 @@
package com.fr.design.fun; package com.fr.design.fun;
import com.fr.design.mainframe.mobile.ui.MobileBookMarkStyleCustomDefinePane; import com.fr.design.beans.BasicBeanPane;
import com.fr.form.ui.mobile.MobileBookMarkStyle; import com.fr.form.ui.mobile.MobileBookMarkStyle;
import com.fr.stable.fun.mark.Mutable; import com.fr.stable.fun.mark.Mutable;
@ -27,7 +27,7 @@ public interface MobileBookMarkStyleProvider extends Mutable {
* 书签样式面板 * 书签样式面板
* @return * @return
*/ */
Class<? extends MobileBookMarkStyleCustomDefinePane> classForMobileBookMarkStyleAppearance(); Class<? extends BasicBeanPane<MobileBookMarkStyle>> classForMobileBookMarkStyleAppearance();
String displayName(); String displayName();

8
designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/DefaultMobileBookMarkStyleCustomDefinePane.java

@ -1,5 +1,6 @@
package com.fr.design.mainframe.mobile.ui; package com.fr.design.mainframe.mobile.ui;
import com.fr.design.beans.BasicBeanPane;
import com.fr.form.ui.mobile.MobileBookMarkStyle; import com.fr.form.ui.mobile.MobileBookMarkStyle;
/** /**
@ -7,12 +8,7 @@ import com.fr.form.ui.mobile.MobileBookMarkStyle;
* @version 10.0 * @version 10.0
* Created by hades on 2019/12/24 * Created by hades on 2019/12/24
*/ */
public class DefaultMobileBookMarkStyleCustomDefinePane extends MobileBookMarkStyleCustomDefinePane { public class DefaultMobileBookMarkStyleCustomDefinePane extends BasicBeanPane<MobileBookMarkStyle> {
@Override
protected void initComponent() {
}
@Override @Override
public void populateBean(MobileBookMarkStyle ob) { public void populateBean(MobileBookMarkStyle ob) {

5
designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/DefaultMobileBookMarkStyleProvider.java

@ -1,7 +1,8 @@
package com.fr.design.mainframe.mobile.ui; package com.fr.design.mainframe.mobile.ui;
import com.fr.design.beans.BasicBeanPane;
import com.fr.design.fun.impl.AbstractMobileBookMarkStyleProvider; import com.fr.design.fun.impl.AbstractMobileBookMarkStyleProvider;
import com.fr.form.ui.mobile.DefaultMobileBookMarkStyle; import com.fr.form.ui.mobile.impl.DefaultMobileBookMarkStyle;
import com.fr.form.ui.mobile.MobileBookMarkStyle; import com.fr.form.ui.mobile.MobileBookMarkStyle;
/** /**
@ -17,7 +18,7 @@ public class DefaultMobileBookMarkStyleProvider extends AbstractMobileBookMarkSt
} }
@Override @Override
public Class<? extends MobileBookMarkStyleCustomDefinePane> classForMobileBookMarkStyleAppearance() { public Class<? extends BasicBeanPane<MobileBookMarkStyle>> classForMobileBookMarkStyleAppearance() {
return DefaultMobileBookMarkStyleCustomDefinePane.class; return DefaultMobileBookMarkStyleCustomDefinePane.class;
} }

20
designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/MobileBookMarkStyleCustomDefinePane.java

@ -1,20 +0,0 @@
package com.fr.design.mainframe.mobile.ui;
import com.fr.design.beans.BasicBeanPane;
import com.fr.form.ui.mobile.MobileBookMarkStyle;
/**
* @author hades
* @version 10.0
* Created by hades on 2019/12/23
*/
public abstract class MobileBookMarkStyleCustomDefinePane extends BasicBeanPane<MobileBookMarkStyle> {
public MobileBookMarkStyleCustomDefinePane() {
initComponent();
}
protected abstract void initComponent();
}

2
designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/MobileBookMarkStyleDefinePane.java

@ -18,7 +18,7 @@ import java.awt.*;
*/ */
public class MobileBookMarkStyleDefinePane extends BasicBeanPane<MobileBookMarkStyle> { public class MobileBookMarkStyleDefinePane extends BasicBeanPane<MobileBookMarkStyle> {
private MobileBookMarkStyleCustomDefinePane customDefinePane; private BasicBeanPane<MobileBookMarkStyle> customDefinePane;
private String displayName; private String displayName;
MobileBookMarkStyleDefinePane(MobileBookMarkStyleProvider bookMarkStyleProvider) { MobileBookMarkStyleDefinePane(MobileBookMarkStyleProvider bookMarkStyleProvider) {

Loading…
Cancel
Save