You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
671 B
32 lines
671 B
package com.fr.design.designer.creator; |
|
|
|
import java.awt.Rectangle; |
|
|
|
import javax.swing.JComponent; |
|
|
|
import com.fr.design.mainframe.BaseJForm; |
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
public interface XComponent { |
|
|
|
/** |
|
* 返回组件的位置大小 |
|
* @return 返回bound |
|
*/ |
|
Rectangle getBounds(); |
|
|
|
/** |
|
* 设置组件的位置大小 |
|
* @param oldbounds bound大小 |
|
*/ |
|
void setBounds(Rectangle oldbounds); |
|
|
|
/** |
|
* 生成工具菜单界面 |
|
* @param jform BaseJForm类 |
|
* @param formeditor 设计界面组件 |
|
* @return 返回工具界面 |
|
*/ |
|
JComponent createToolPane(BaseJForm jform, FormDesigner formeditor); |
|
|
|
} |