forked from fanruan/design
Browse Source
* commit 'd941231d760c72ad4861bd9146b884d88788b301': 去掉无用返回值 private 改成循环存取 邮件图片导出设置part5 in 5master
superman
9 years ago
8 changed files with 160 additions and 63 deletions
@ -0,0 +1,13 @@
|
||||
package com.fr.design.fun; |
||||
|
||||
import com.fr.design.dialog.BasicPane; |
||||
|
||||
/** |
||||
* Created by vito on 16/5/5. |
||||
*/ |
||||
public abstract class AbstractExportPane extends BasicPane { |
||||
|
||||
public abstract void populate(Object t); |
||||
|
||||
public abstract void update(Object t); |
||||
} |
@ -0,0 +1,22 @@
|
||||
package com.fr.design.fun; |
||||
|
||||
import com.fr.stable.fun.Level; |
||||
|
||||
import javax.swing.*; |
||||
|
||||
/** |
||||
* Created by vito on 16/5/5. |
||||
*/ |
||||
public interface ExportAttrTabProvider extends Level{ |
||||
String XML_TAG = "ExportAttrTabProvider"; |
||||
|
||||
int CURRENT_LEVEL = 1; |
||||
|
||||
JComponent toSwingComponent(); |
||||
|
||||
AbstractExportPane toExportPane(); |
||||
|
||||
String title(); |
||||
|
||||
String tag(); |
||||
} |
@ -0,0 +1,19 @@
|
||||
package com.fr.design.fun.impl; |
||||
|
||||
import com.fr.design.fun.ExportAttrTabProvider; |
||||
import com.fr.stable.fun.impl.AbstractProvider; |
||||
|
||||
/** |
||||
* Created by vito on 16/5/5. |
||||
*/ |
||||
public abstract class AbstractExportAttrTabProvider extends AbstractProvider implements ExportAttrTabProvider { |
||||
@Override |
||||
public int currentAPILevel() { |
||||
return CURRENT_LEVEL; |
||||
} |
||||
|
||||
@Override |
||||
public String mark4Provider() { |
||||
return this.getClass().getName(); |
||||
} |
||||
} |
Loading…
Reference in new issue