
examples.table.TableDialog.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8" ?> <dialog minimumSize="400,240" resizable="true" title="Example Table usage" undecorated="false" alwaysOnTop="true" defaultCloseOperation="JFrame.HIDE_ON_CLOSE" modal="false" > <panel layout="BorderLayout"> <splitpane constraints="BorderLayout.CENTER" orientation="JSplitPane.VERTICAL_SPLIT"> <panel layout="BorderLayout" minimumSize="400,120"> <label constraints="BorderLayout.NORTH" text="Table using meta data from external beanInfo" font="VERDANA-BOLD-16" /> <scrollpane constraints="BorderLayout.CENTER"> <table id="table" action="selectRow" dblClickAction="activateRow" cellSelectionEnabled="true" bindList="${myData}" bindClass="${myDataClass}" /> </scrollpane> </panel> <panel layout="BorderLayout" > <label constraints="BorderLayout.NORTH" text="Table using new sub-tag tableColumn" font="VERDANA-BOLD-16"/> <scrollpane constraints="BorderLayout.CENTER"> <table id="table2" action="selectRow" dblClickAction="activateRow2" cellSelectionEnabled="false" rowSelectionAllowed="true" selectionBackground="red" bindList="${myData2}" > <tableColumn bindWith="field2" type="java.lang.Boolean" maxWidth="20" resizable="false" headerValue="X" editable="true" /> <tableColumn bindWith="field1" type="java.lang.Integer" headerValue="#" maxWidth="50" resizable="false" /> <tableColumn bindWith="field3" preferredWidth="20" editable="true" resizable="true"/> </table> </scrollpane> </panel> </splitpane> </panel> </dialog>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy