|
|
|
@ -1,16 +1,16 @@
|
|
|
|
|
package com.tptj.demo.hg.table.data.ui; |
|
|
|
|
|
|
|
|
|
import com.fanruan.api.design.work.BaseTableDataPane; |
|
|
|
|
import com.fanruan.api.design.ui.component.UITextArea; |
|
|
|
|
import com.fanruan.api.design.ui.container.UIScrollPane; |
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
|
import com.fr.base.Parameter; |
|
|
|
|
import com.fr.design.data.datapane.preview.PreviewTablePane; |
|
|
|
|
import com.fr.design.data.tabledata.tabledatapane.AbstractTableDataPane; |
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
|
import com.fr.design.gui.icontainer.UIScrollPane; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.itableeditorpane.ParameterTableModel; |
|
|
|
|
import com.fr.design.gui.itableeditorpane.UITableEditorPane; |
|
|
|
|
import com.fr.design.gui.itableeditorpane.UITableModelAdapter; |
|
|
|
|
import com.fr.design.gui.itextarea.UITextArea; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
import com.fr.script.Calculator; |
|
|
|
@ -27,12 +27,13 @@ import java.awt.event.ActionListener;
|
|
|
|
|
* @version 10.0 |
|
|
|
|
* Created by 秃破天际 on 2021-03-29 |
|
|
|
|
**/ |
|
|
|
|
public class DemoTableDataPane extends BaseTableDataPane<DemoTableData> { |
|
|
|
|
public class DemoTableDataPane extends AbstractTableDataPane<DemoTableData> { |
|
|
|
|
|
|
|
|
|
private UITextArea config = new UITextArea(); |
|
|
|
|
private UITextArea config; |
|
|
|
|
private UITableEditorPane<ParameterProvider> parameterTableEditorPane; |
|
|
|
|
|
|
|
|
|
public DemoTableDataPane(){ |
|
|
|
|
config = new UITextArea(); |
|
|
|
|
setLayout(new BorderLayout()); |
|
|
|
|
|
|
|
|
|
UIButton preview = new UIButton(BaseUtils.readIcon("/com/fr/design/images/m_file/preview.png")); |
|
|
|
|