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