Nonesole.com > Easywork > Exui

Exui Project

There are two parts of this project.First,the swing components support some format data.Just like List<Objtct> and so on. Second,users can edit xml to build a frame which includes menu,multi-toolbar,multi-type-inner-frame,statusbar,and welcome-window.Users just need create child panels and actions in working.

Users can choose to use Exui as an Open Source/Free Software product under the terms of the GNU General Public License.

1. Public Version

  • V1.01 released in 2011-03.

2. Source and Download

3. API Document

4. Introduction of frame

XML config :

window :

         id="win" 
         x="100"
         y="100"
         center="true" 
         width="800" 
         height="600" 
         name="Easy-work Projects Demo - Nonesole.com" 
         icon="/images/win_icon.gif" 
         toolbarflow="false" 
         debug="true"
		
center : If it is ture , x and y is useless.
toolbarflow : Set whether or not take toolbars in the same row.true means yes.
debug : Set whether or not show exeptions of frame on console.

welcome :

         id="welcome"
         show="true"
         object="com.nonesole.demo.easyworks.WelcomeDemo"
		
object : Show welcome window before main frame showing.

menu :

         show="true"
		

toolbar :

         id="201" 
         show="true" 
         buttonclass="com.nonesole.swing.plaf.basic.button.UButton"
		
buttonclass : Users can set self-make class which exntends JButton.If buttonclass is empty,the system will use JButton objects in toolbar.

childwin :

         id="childwin" 
         internalframe="false" 
         tabbedpane="false" 
         welcome="com.nonesole.demo.easyworks.InnerWelcomeDemo"
		
welcome : Users can set inner welcome panel.
internalframe : Set whether or not use internal frames in main frame.
tabbedpane : When internalframe is true, it can be used.If it is true ,the internal frames are in tabbedpane.



1. internalframe="false" tabbedpane="false"



2. internalframe="true" tabbedpane="false"



3. internalframe="true" tabbedpane="true"

statusbar :

         id="301" 
         show="true" 
         topline="true" 
         gapline="true"
		
topline : Set whether or not show top line of statusbar.
gapline : Set whether or not show upright line between items of statusbar.

item :

         id="102" 
         name="Close" 
         key="ctrl+c+shift" / key="c" 
         action="com.nonesole.demo.easyworks.CloseWindowAction" 
         icon="" 
         show="true"
		 width="150" / width="0.5"
		
key : shortcut key.key="c" means "alt+c"
action : Set action of item.
width : If width < = 1 , screen width multiplied by width equals frame width.


Copyright (C) 2009-2011 NoneSole.com