All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.swixml.ExplorerFrame.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" ?>
<frame size="${frameSize}" resizable="true" alwaysOnTop="true" title="Client Attribute Sample" defaultCloseOperation="JFrame.EXIT_ON_CLOSE">

<panel layout="BorderLayout">

<tabbedpane constraints="BorderLayout.CENTER">

<panel name="table-tree" layout="BorderLayout">
	<splitpane constraints="BorderLayout.CENTER">
	<scrollpane>
	<tree model="${myTree}" action="selectNode"/>
	</scrollpane>
	
	<scrollpane>
	<table id="testTable" action="selectRow" dblClickAction="activateRow" cellSelectionEnabled="true" rowSelectionAllowed="true" selectionBackground="red" bindList="${myData}" >
		<tableColumn bindWith="name" type="java.lang.String" headerValue="NAME" minWidth="100" resizable="true"  editable="true" />
		<tableColumn bindWith="age" type="java.lang.Integer" headerValue="AGE" maxWidth="50" resizable="true"  editable="true" />
	</table>
	
	</scrollpane>
	
	</splitpane>
</panel>


<panel name="commons" layout="FlowLayout(FlowLayout.LEFT)">
<vbox gap="20">

	<hbox>
	<checkbox text="test button enabled" bindWith="connected" />
	<box.hglue/>
	</hbox>
	
	<hbox gap="5">
	<label text="texField Binding"/>
	<textfield id="tv" bindWith="testValue" columns="20" ></textfield>
	<box.hglue/>
	</hbox>

	<hbox>
	<combobox  bindList="${comboList}" action="comboAction"/>
	<box.hglue/>
	</hbox>

	<hbox>
	<scrollpane>
	<list  bindList="${comboList}" action="listAction" cellRenderer="${listRenderer}" />
	</scrollpane>
	<box.glue/>	
	</hbox>
      
	<hbox gap="10">        
	<button id="btn" Text="Show Client Attributes" X="Client" Y="Attribute" action="show"/>
	
	<button action="test">Test Button</button>

    </hbox>     
       
</vbox>
</panel>


</tabbedpane>        

    <vbox constraints="BorderLayout.SOUTH" background="blue">
   
        <scrollpane >
            <textarea bindWith="message" rows="3"></textarea>
        </scrollpane>

        <box.vstrut height="5"/>
		<hbox>
        <label id="statusbar" bindWith="status" foreground="gray">status</label><box.hglue/>
    	</hbox>
    </vbox>
  </panel>
</frame>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy