parent
92113227ea
commit
2811ff7d92
@ -0,0 +1,30 @@
|
||||
package com.connor.chint.yunpi.command;
|
||||
|
||||
import org.eclipse.core.commands.AbstractHandler;
|
||||
import org.eclipse.core.commands.ExecutionEvent;
|
||||
import org.eclipse.core.commands.ExecutionException;
|
||||
|
||||
import com.teamcenter.rac.aif.AbstractAIFApplication;
|
||||
import com.teamcenter.rac.aifrcp.AIFUtility;
|
||||
import com.teamcenter.rac.kernel.TCSession;
|
||||
|
||||
|
||||
|
||||
import com.connor.chint.yunpi.KCommand;
|
||||
import com.teamcenter.rac.aif.AbstractAIFApplication;
|
||||
|
||||
public class QueryZxjcHandler extends KCommand {
|
||||
|
||||
public QueryZxjcHandler(AbstractAIFApplication app, String commandId, String actionInfo) {
|
||||
super(app, commandId, actionInfo);
|
||||
TCSession session = (TCSession) app.getSession();
|
||||
try {
|
||||
|
||||
new QueryZxjcFram(session);
|
||||
}catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,84 @@
|
||||
package com.connor.chint.yunpi.command;
|
||||
|
||||
public class ZxjcMATERIALBean {
|
||||
private int SEQ;
|
||||
private String FACTORY;
|
||||
private String OBJECTNAME;
|
||||
private String SPECIFICATIONS;
|
||||
private int QUANTITY;
|
||||
private String DRAWINGNO;
|
||||
private String UNIT;
|
||||
private String REMARK;
|
||||
public int getSEQ() {
|
||||
return SEQ;
|
||||
}
|
||||
public void setSEQ(int sEQ) {
|
||||
SEQ = sEQ;
|
||||
}
|
||||
public String getFACTORY() {
|
||||
return FACTORY;
|
||||
}
|
||||
public void setFACTORY(String fACTORY) {
|
||||
FACTORY = fACTORY;
|
||||
}
|
||||
public String getOBJECTNAME() {
|
||||
return OBJECTNAME;
|
||||
}
|
||||
public void setOBJECTNAME(String oBJECTNAME) {
|
||||
OBJECTNAME = oBJECTNAME;
|
||||
}
|
||||
public String getSPECIFICATIONS() {
|
||||
return SPECIFICATIONS;
|
||||
}
|
||||
public void setSPECIFICATIONS(String sPECIFICATIONS) {
|
||||
SPECIFICATIONS = sPECIFICATIONS;
|
||||
}
|
||||
public int getQUANTITY() {
|
||||
return QUANTITY;
|
||||
}
|
||||
public void setQUANTITY(int qUANTITY) {
|
||||
QUANTITY = qUANTITY;
|
||||
}
|
||||
public String getDRAWINGNO() {
|
||||
return DRAWINGNO;
|
||||
}
|
||||
public void setDRAWINGNO(String dRAWINGNO) {
|
||||
DRAWINGNO = dRAWINGNO;
|
||||
}
|
||||
public String getUNIT() {
|
||||
return UNIT;
|
||||
}
|
||||
public void setUNIT(String uNIT) {
|
||||
UNIT = uNIT;
|
||||
}
|
||||
public String getREMARK() {
|
||||
return REMARK;
|
||||
}
|
||||
public void setREMARK(String rEMARK) {
|
||||
REMARK = rEMARK;
|
||||
}
|
||||
public ZxjcMATERIALBean(int sEQ, String fACTORY, String oBJECTNAME, String sPECIFICATIONS, int qUANTITY,
|
||||
String dRAWINGNO, String uNIT, String rEMARK) {
|
||||
super();
|
||||
SEQ = sEQ;
|
||||
FACTORY = fACTORY;
|
||||
OBJECTNAME = oBJECTNAME;
|
||||
SPECIFICATIONS = sPECIFICATIONS;
|
||||
QUANTITY = qUANTITY;
|
||||
DRAWINGNO = dRAWINGNO;
|
||||
UNIT = uNIT;
|
||||
REMARK = rEMARK;
|
||||
}
|
||||
public ZxjcMATERIALBean() {
|
||||
super();
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ZxjcMATERIALBean [SEQ=" + SEQ + ", FACTORY=" + FACTORY + ", OBJECTNAME=" + OBJECTNAME
|
||||
+ ", SPECIFICATIONS=" + SPECIFICATIONS + ", QUANTITY=" + QUANTITY + ", DRAWINGNO=" + DRAWINGNO
|
||||
+ ", UNIT=" + UNIT + ", REMARK=" + REMARK + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package com.connor.plm.GZXQ;
|
||||
|
||||
import javax.swing.*;
|
||||
import javax.swing.table.DefaultTableCellRenderer;
|
||||
import javax.swing.table.TableCellRenderer;
|
||||
import java.awt.*;
|
||||
|
||||
public class CenterRenderer extends DefaultTableCellRenderer implements TableCellRenderer {
|
||||
|
||||
public CenterRenderer() {
|
||||
// 设置水平对齐方式为居中
|
||||
setHorizontalAlignment(SwingConstants.CENTER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Component getTableCellRendererComponent(JTable table, Object value,
|
||||
boolean isSelected, boolean hasFocus,
|
||||
int row, int column) {
|
||||
// 调用父类的实现,然后根据需要做进一步的自定义
|
||||
Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
|
||||
|
||||
// 如果需要,可以在这里做更多的自定义,如字体、颜色等
|
||||
return c;
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.connor.plm.GZXQ;
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.*;
|
||||
import javax.swing.table.TableCellRenderer;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class CustomHeaderRenderer extends JLabel implements TableCellRenderer {
|
||||
|
||||
private Border border = new LineBorder(Color.black, 1); // ÉèÖñ߿òÑÕÉ«ºÍ¿í¶È
|
||||
|
||||
public CustomHeaderRenderer() {
|
||||
setOpaque(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Component getTableCellRendererComponent(JTable table, Object value,
|
||||
boolean isSelected, boolean hasFocus,
|
||||
int row, int column) {
|
||||
setText(value.toString());
|
||||
setBorder(border);
|
||||
return this;
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.connor.plm.GZXQ;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Dimension;
|
||||
|
||||
import com.chint.plm.fxUtil.KFrame;
|
||||
|
||||
import javafx.embed.swing.JFXPanel;
|
||||
|
||||
public class GZXQFrame extends KFrame {
|
||||
|
||||
public GZXQFrame() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initUI() throws Exception {
|
||||
this.setTitle("¹¤×°ÐèÇó");
|
||||
this.setLayout(new BorderLayout());
|
||||
this.setPreferredSize(new Dimension(1490, 900));
|
||||
JFXPanel panel = new JFXPanel();
|
||||
panel.setScene(new GZXQPanel(this).getScene());
|
||||
this.add(BorderLayout.CENTER, panel);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.connor.plm.GZXQ;
|
||||
|
||||
import java.awt.Window;
|
||||
|
||||
import com.chint.plm.fxUtil.KFXPanel;
|
||||
|
||||
public class GZXQPanel extends KFXPanel {
|
||||
|
||||
public GZXQPanel(Window dialog) {
|
||||
super(dialog, "a.fxml");
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
package com.connor.plm.GZXQ;
|
||||
//import javax.swing.*;
|
||||
//import javax.swing.table.*;
|
||||
//import java.awt.*;
|
||||
//
|
||||
//public class MultiLineTableCellRenderer extends JTextArea implements TableCellRenderer {
|
||||
//
|
||||
// public MultiLineTableCellRenderer() {
|
||||
// // 设置JTextArea的属性
|
||||
// this.setEditable(false);
|
||||
// this.setLineWrap(true); // 启用自动换行
|
||||
// this.setWrapStyleWord(true); // 保持单词的完整性,不在单词中间换行
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
|
||||
// // 清除样式,避免残留样式影响显示
|
||||
// this.setText(value == null ? "" : value.toString());
|
||||
//
|
||||
// // 可以根据需要设置字体、颜色等样式
|
||||
// if (isSelected) {
|
||||
// this.setBackground(table.getSelectionBackground());
|
||||
// this.setForeground(table.getSelectionForeground());
|
||||
// } else {
|
||||
// this.setBackground(table.getBackground());
|
||||
// this.setForeground(table.getForeground());
|
||||
// }
|
||||
//
|
||||
// return this;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
//import javax.swing.*;
|
||||
//import javax.swing.table.DefaultTableCellRenderer;
|
||||
//import javax.swing.table.TableCellRenderer;
|
||||
//import java.awt.*;
|
||||
//
|
||||
//public class MultiLineTableCellRenderer extends DefaultTableCellRenderer implements TableCellRenderer {
|
||||
//
|
||||
// private JScrollPane scrollPane;
|
||||
//
|
||||
// public MultiLineTableCellRenderer() {
|
||||
// JTextArea textArea = new JTextArea();
|
||||
// textArea.setEditable(false); // 禁止编辑
|
||||
// textArea.setLineWrap(true); // 允许换行
|
||||
// textArea.setWrapStyleWord(true); // 单词整行换行
|
||||
//
|
||||
// scrollPane = new JScrollPane(textArea);
|
||||
// scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
|
||||
// scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
// scrollPane.setBorder(null); // 移除边框
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public Component getTableCellRendererComponent(JTable table, Object value,
|
||||
// boolean isSelected, boolean hasFocus,
|
||||
// int row, int column) {
|
||||
// JTextArea textArea = (JTextArea) scrollPane.getViewport().getView();
|
||||
// textArea.setText(value == null ? "" : value.toString());
|
||||
//
|
||||
// // 设置选中状态的颜色
|
||||
// if (isSelected) {
|
||||
// textArea.setBackground(table.getSelectionBackground());
|
||||
// textArea.setForeground(table.getSelectionForeground());
|
||||
// } else {
|
||||
// textArea.setBackground(table.getBackground());
|
||||
// textArea.setForeground(table.getForeground());
|
||||
// }
|
||||
//
|
||||
// return scrollPane;
|
||||
// }
|
||||
//}
|
||||
|
||||
import javax.swing.*;
|
||||
import javax.swing.table.DefaultTableCellRenderer;
|
||||
import javax.swing.table.TableCellRenderer;
|
||||
import java.awt.*;
|
||||
|
||||
public class MultiLineTableCellRenderer extends DefaultTableCellRenderer implements TableCellRenderer {
|
||||
|
||||
private JTextArea textArea;
|
||||
private JScrollPane scrollPane;
|
||||
|
||||
public MultiLineTableCellRenderer() {
|
||||
textArea = new JTextArea();
|
||||
textArea.setEditable(false);
|
||||
textArea.setLineWrap(true);
|
||||
textArea.setWrapStyleWord(true);
|
||||
|
||||
scrollPane = new JScrollPane(textArea);
|
||||
scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
|
||||
scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
scrollPane.setBorder(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Component getTableCellRendererComponent(JTable table, Object value,
|
||||
boolean isSelected, boolean hasFocus,
|
||||
int row, int column) {
|
||||
textArea.setText(value == null ? "" : value.toString());
|
||||
|
||||
// 设置选中状态的颜色
|
||||
if (isSelected) {
|
||||
textArea.setBackground(table.getSelectionBackground());
|
||||
textArea.setForeground(table.getSelectionForeground());
|
||||
} else {
|
||||
textArea.setBackground(table.getBackground());
|
||||
textArea.setForeground(table.getForeground());
|
||||
}
|
||||
|
||||
// 获取单元格的首选大小
|
||||
Dimension preferredSize = table.getColumnModel().getColumn(column).getPreferredWidth() > 0 ?
|
||||
new Dimension(table.getColumnModel().getColumn(column).getPreferredWidth(), table.getRowHeight(row)) :
|
||||
new Dimension(table.getColumnModel().getColumn(column).getWidth(), table.getRowHeight(row));
|
||||
|
||||
// 设置JScrollPane的大小
|
||||
scrollPane.setPreferredSize(preferredSize);
|
||||
scrollPane.setMaximumSize(preferredSize);
|
||||
scrollPane.setMinimumSize(preferredSize);
|
||||
scrollPane.setSize(preferredSize);
|
||||
|
||||
// 重新计算JScrollPane的布局
|
||||
scrollPane.revalidate();
|
||||
scrollPane.repaint();
|
||||
|
||||
return scrollPane;
|
||||
}
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane fx:id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="840.0" prefWidth="1270.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.connor.plm.GZXQ.GZXQController">
|
||||
<children>
|
||||
<BorderPane fx:id="bpane" layoutX="5.0" layoutY="14.0" prefHeight="840.0" prefWidth="1261.0">
|
||||
<top>
|
||||
<TitledPane fx:id="titlePaneCondition" animated="false" prefHeight="182.0" prefWidth="1034.0" text="条件" BorderPane.alignment="CENTER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="151.0" prefWidth="964.0">
|
||||
<children>
|
||||
<GridPane fx:id="gridPaneCondition" layoutX="13.0" layoutY="11.0" prefHeight="114.0" prefWidth="1218.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="109.0" minWidth="10.0" prefWidth="86.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="216.0" minWidth="10.0" prefWidth="164.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="112.0" minWidth="10.0" prefWidth="93.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="233.0" minWidth="10.0" prefWidth="185.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="103.0" minWidth="10.0" prefWidth="95.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="246.0" minWidth="10.0" prefWidth="191.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="189.0" minWidth="10.0" prefWidth="97.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="212.0" minWidth="10.0" prefWidth="212.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<TextField fx:id="jTextField1" GridPane.columnIndex="1" />
|
||||
<TextField fx:id="jTextField2" prefHeight="30.0" prefWidth="189.0" GridPane.columnIndex="3" />
|
||||
<TextField fx:id="jTextField5" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField6" prefHeight="30.0" prefWidth="152.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField7" GridPane.columnIndex="5" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField3" GridPane.columnIndex="5" />
|
||||
<TextField fx:id="jTextField8" GridPane.columnIndex="7" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField4" prefHeight="30.0" prefWidth="168.0" GridPane.columnIndex="7" />
|
||||
<TextField fx:id="jTextField9" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="jTextField10" GridPane.columnIndex="3" GridPane.rowIndex="2" />
|
||||
<Label text="流程实例ID" GridPane.halignment="CENTER" />
|
||||
<Label text="工装名称" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Label text="产品名称" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
|
||||
<Label text="工艺负责人" GridPane.columnIndex="2" GridPane.halignment="CENTER" />
|
||||
<Label text="委托理由" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Label text="工装等级" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
|
||||
<Label text="产品型号" GridPane.columnIndex="4" GridPane.halignment="CENTER" />
|
||||
<Label text="计划时间" GridPane.columnIndex="4" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Label GridPane.columnIndex="4" GridPane.rowIndex="2" />
|
||||
<Label text="工装编号" GridPane.columnIndex="6" GridPane.halignment="CENTER" />
|
||||
<Label text="申请人" GridPane.columnIndex="6" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Button fx:id="jButton2" mnemonicParsing="false" onAction="#cxAction" prefHeight="30.0" prefWidth="98.0" text="查 询" GridPane.columnIndex="7" GridPane.halignment="CENTER" GridPane.rowIndex="2" GridPane.valignment="BOTTOM">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</top>
|
||||
<center>
|
||||
<TitledPane fx:id="titlePaneResult" animated="false" prefHeight="620.0" prefWidth="966.0" text="结果" BorderPane.alignment="CENTER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="570.0" prefWidth="964.0">
|
||||
<children>
|
||||
<BorderPane fx:id="tablePane" layoutX="8.0" layoutY="6.0" prefHeight="573.0" prefWidth="1245.0">
|
||||
<top>
|
||||
<TableView fx:id="tableView" prefHeight="544.0" prefWidth="1195.0" BorderPane.alignment="CENTER" />
|
||||
</top>
|
||||
<bottom>
|
||||
<GridPane fx:id="gridPaneResult" prefHeight="29.0" prefWidth="948.0" BorderPane.alignment="CENTER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Button fx:id="sy" mnemonicParsing="false" onAction="#firstBtnAction" text="首页" GridPane.columnIndex="2" />
|
||||
<Button fx:id="syy" mnemonicParsing="false" onAction="#lastBtnAction" text="上一页" GridPane.columnIndex="3" />
|
||||
<Button mnemonicParsing="false" onAction="#nextBtnAction" text="下一页" GridPane.columnIndex="4" fx:id="xyy" />
|
||||
<Button fx:id="wy" mnemonicParsing="false" onAction="#tailBtnAction" text="尾页" GridPane.columnIndex="5" />
|
||||
</children>
|
||||
</GridPane>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</center>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</Pane>
|
@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane fx:id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="840.0" prefWidth="1270.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.connor.plm.GZXQ.GZXQController">
|
||||
<children>
|
||||
<BorderPane fx:id="bpane" layoutX="5.0" layoutY="14.0" prefHeight="840.0" prefWidth="1261.0">
|
||||
<top>
|
||||
<TitledPane fx:id="titlePaneCondition" animated="false" prefHeight="182.0" prefWidth="1034.0" text="条件" BorderPane.alignment="CENTER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="151.0" prefWidth="964.0">
|
||||
<children>
|
||||
<GridPane fx:id="gridPaneCondition" layoutX="13.0" layoutY="11.0" prefHeight="114.0" prefWidth="1218.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="109.0" minWidth="10.0" prefWidth="86.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="216.0" minWidth="10.0" prefWidth="164.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="112.0" minWidth="10.0" prefWidth="93.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="233.0" minWidth="10.0" prefWidth="185.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="103.0" minWidth="10.0" prefWidth="95.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="246.0" minWidth="10.0" prefWidth="191.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="189.0" minWidth="10.0" prefWidth="97.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="212.0" minWidth="10.0" prefWidth="212.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<TextField fx:id="jTextField1" GridPane.columnIndex="1" />
|
||||
<TextField fx:id="jTextField2" prefHeight="30.0" prefWidth="189.0" GridPane.columnIndex="3" />
|
||||
<TextField fx:id="jTextField5" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField6" prefHeight="30.0" prefWidth="152.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField3" GridPane.columnIndex="5" />
|
||||
<TextField fx:id="jTextField8" GridPane.columnIndex="7" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="jTextField4" prefHeight="30.0" prefWidth="168.0" GridPane.columnIndex="7" />
|
||||
<TextField fx:id="jTextField9" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="jTextField10" GridPane.columnIndex="3" GridPane.rowIndex="2" />
|
||||
<Label text="流程实例ID" GridPane.halignment="CENTER" />
|
||||
<Label text="工装名称" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Label text="产品名称" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
|
||||
<Label text="工艺负责人" GridPane.columnIndex="2" GridPane.halignment="CENTER" />
|
||||
<Label text="委托理由" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Label text="工装等级" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="2" />
|
||||
<Label text="产品型号" GridPane.columnIndex="4" GridPane.halignment="CENTER" />
|
||||
<Label text="计划时间" GridPane.columnIndex="4" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Label GridPane.columnIndex="4" GridPane.rowIndex="2" />
|
||||
<Label text="工装编号" GridPane.columnIndex="6" GridPane.halignment="CENTER" />
|
||||
<Label text="申请人" GridPane.columnIndex="6" GridPane.halignment="CENTER" GridPane.rowIndex="1" />
|
||||
<Button fx:id="jButton2" mnemonicParsing="false" onAction="#cxAction" prefHeight="30.0" prefWidth="98.0" text="查 询" GridPane.columnIndex="7" GridPane.halignment="CENTER" GridPane.rowIndex="2" GridPane.valignment="BOTTOM">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</Button>
|
||||
<DatePicker GridPane.columnIndex="5" GridPane.rowIndex="1" />
|
||||
<DatePicker fx:id="jTextField7" GridPane.columnIndex="5" GridPane.rowIndex="1" />
|
||||
</children>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</top>
|
||||
<center>
|
||||
<TitledPane fx:id="titlePaneResult" animated="false" prefHeight="620.0" prefWidth="966.0" text="结果" BorderPane.alignment="CENTER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="570.0" prefWidth="964.0">
|
||||
<children>
|
||||
<BorderPane fx:id="tablePane" layoutX="8.0" layoutY="6.0" prefHeight="573.0" prefWidth="1245.0">
|
||||
<top>
|
||||
<TableView fx:id="tableView" prefHeight="544.0" prefWidth="1195.0" BorderPane.alignment="CENTER" />
|
||||
</top>
|
||||
<bottom>
|
||||
<GridPane fx:id="gridPaneResult" prefHeight="29.0" prefWidth="948.0" BorderPane.alignment="CENTER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Button fx:id="sy" mnemonicParsing="false" onAction="#firstBtnAction" text="首页" GridPane.columnIndex="2" />
|
||||
<Button fx:id="syy" mnemonicParsing="false" onAction="#lastBtnAction" text="上一页" GridPane.columnIndex="3" />
|
||||
<Button mnemonicParsing="false" onAction="#nextBtnAction" text="下一页" GridPane.columnIndex="4" fx:id="xyy" />
|
||||
<Button fx:id="wy" mnemonicParsing="false" onAction="#tailBtnAction" text="尾页" GridPane.columnIndex="5" />
|
||||
</children>
|
||||
</GridPane>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</center>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</Pane>
|
Loading…
Reference in new issue