|
|
|
@ -2,7 +2,7 @@ package com.fr.plugin.present.ui;
|
|
|
|
|
|
|
|
|
|
import com.fr.design.beans.FurtherBasicBeanPane; |
|
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
|
import com.fr.plugin.present.fun.MyPresent; |
|
|
|
|
import com.fr.plugin.present.fun.StarPresent; |
|
|
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ import java.awt.*;
|
|
|
|
|
* @date 2015-05-24 |
|
|
|
|
* @since 8.0 |
|
|
|
|
*/ |
|
|
|
|
public class MyPresentPane extends FurtherBasicBeanPane<MyPresent>{ |
|
|
|
|
public class MyPresentPane extends FurtherBasicBeanPane<StarPresent>{ |
|
|
|
|
private UITextField textField; |
|
|
|
|
|
|
|
|
|
public MyPresentPane() { |
|
|
|
@ -27,7 +27,7 @@ public class MyPresentPane extends FurtherBasicBeanPane<MyPresent>{
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean accept(Object ob) { |
|
|
|
|
return ob instanceof MyPresent; |
|
|
|
|
return ob instanceof StarPresent; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -41,12 +41,12 @@ public class MyPresentPane extends FurtherBasicBeanPane<MyPresent>{
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void populateBean(MyPresent ob) { |
|
|
|
|
public void populateBean(StarPresent ob) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public MyPresent updateBean() { |
|
|
|
|
return new MyPresent(); |
|
|
|
|
public StarPresent updateBean() { |
|
|
|
|
return new StarPresent(); |
|
|
|
|
} |
|
|
|
|
} |