Browse Source

稍微一些代码调整

remotes/1611766341912730171/master
richie 5 years ago
parent
commit
f5d5862ad4
  1. 2
      src/main/java/com/fanruan/api/design/ui/action/UITableEditAction.java
  2. 2
      src/main/java/com/fanruan/api/design/ui/action/UpdateAction.java
  3. 8
      src/main/java/com/fanruan/api/design/ui/component/BasicPane.java
  4. 4
      src/main/java/com/fanruan/api/design/ui/component/ParameterTableModel.java
  5. 2
      src/main/java/com/fanruan/api/design/ui/component/UIIntNumberField.java
  6. 5
      src/main/java/com/fanruan/api/design/ui/container/BasicPane.java
  7. 25
      src/main/java/com/fanruan/api/design/ui/editor/ValueEditorPane.java
  8. 28
      src/main/java/com/fanruan/api/design/ui/model/ParameterTableModel.java
  9. 10
      src/main/java/com/fanruan/api/xml/component/XMLFileManager.java

2
src/main/java/com/fanruan/api/design/ui/component/UITableEditAction.java → src/main/java/com/fanruan/api/design/ui/action/UITableEditAction.java

@ -1,4 +1,4 @@
package com.fanruan.api.design.ui.component;
package com.fanruan.api.design.ui.action;
import java.awt.event.ActionEvent;

2
src/main/java/com/fanruan/api/design/ui/component/UpdateAction.java → src/main/java/com/fanruan/api/design/ui/action/UpdateAction.java

@ -1,4 +1,4 @@
package com.fanruan.api.design.ui.component;
package com.fanruan.api.design.ui.action;
import java.awt.event.ActionEvent;

8
src/main/java/com/fanruan/api/design/ui/component/BasicPane.java

@ -1,8 +0,0 @@
package com.fanruan.api.design.ui.component;
public class BasicPane extends com.fr.design.dialog.BasicPane{
@Override
protected String title4PopupWindow() {
return "";
}
}

4
src/main/java/com/fanruan/api/design/ui/component/ParameterTableModel.java

@ -1,4 +0,0 @@
package com.fanruan.api.design.ui.component;
public class ParameterTableModel extends com.fr.design.gui.itableeditorpane.ParameterTableModel{
}

2
src/main/java/com/fanruan/api/design/ui/component/UIIntNumberField.java

@ -1,5 +1,5 @@
package com.fanruan.api.design.ui.component;
public class UIIntNumberField extends com.fr.design.gui.itextfield.UIIntNumberField{
public class UIIntNumberField extends com.fr.design.gui.itextfield.UIIntNumberField {
}

5
src/main/java/com/fanruan/api/design/ui/container/BasicPane.java

@ -0,0 +1,5 @@
package com.fanruan.api.design.ui.container;
public abstract class BasicPane extends com.fr.design.dialog.BasicPane {
}

25
src/main/java/com/fanruan/api/design/ui/editor/ValueEditorPane.java

@ -0,0 +1,25 @@
package com.fanruan.api.design.ui.editor;
import com.fr.design.editor.editor.Editor;
/**
* @author richie
* @version 10.0
* Created by richie on 2019-08-27
* 多指选择器
* com.fr.design.editor.editor.Editor是一个可靠的API类
*/
public class ValueEditorPane extends com.fr.design.editor.ValueEditorPane {
public ValueEditorPane(Editor[] editors) {
super(editors);
}
public ValueEditorPane(Editor[] editors, String popupName, String textEditorValue) {
super(editors, popupName, textEditorValue);
}
public ValueEditorPane(Editor[] editors, String popupName, String textEditorValue, int centerPaneWidth) {
super(editors, popupName, textEditorValue, centerPaneWidth);
}
}

28
src/main/java/com/fanruan/api/design/ui/model/ParameterTableModel.java

@ -0,0 +1,28 @@
package com.fanruan.api.design.ui.model;
import com.fanruan.api.design.ui.editor.ValueEditorPane;
import java.awt.*;
/**
* 表格模型
*/
public class ParameterTableModel extends com.fr.design.gui.itableeditorpane.ParameterTableModel {
public ParameterTableModel() {
super();
}
public ParameterTableModel(int paraUseType) {
super(paraUseType);
}
public ParameterTableModel(int paraUseType, Component component) {
super(paraUseType, component);
}
public ParameterTableModel(ValueEditorPane valueEditorPane, ValueEditorPane valueRenderPane, Component component) {
super(valueEditorPane, valueRenderPane, component);
}
}

10
src/main/java/com/fanruan/api/xml/xml/component/XMLFileManager.java → src/main/java/com/fanruan/api/xml/component/XMLFileManager.java

@ -1,18 +1,16 @@
package com.fanruan.api.xml.xml.component;
package com.fanruan.api.xml.component;
import com.fr.stable.xml.XMLPrintWriter;
import com.fr.stable.xml.XMLableReader;
public class XMLFileManager extends com.fr.file.XMLFileManager {
@Override
public String fileName() {
return "";
}
public abstract class XMLFileManager extends com.fr.file.XMLFileManager {
@Override
public void writeXML(XMLPrintWriter writer) {
}
@Override
public void readXML(XMLableReader reader) {
}
}
Loading…
Cancel
Save