JustGo
unread,Aug 6, 2010, 5:36:37 AM8/6/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsLINB
UI controls Removed:
linb.UI.LinkList
UI controls Added:
linb.UI.Span
linb.UI.StatusButtons
linb.UI.ColLayout
linb.UI.TreeView
linb.UI.FusionChart
linb.UI.FusionChartFree
------------------------------------------------
_
Added: asyHTML
Added _.resetRun.exists to determine if a specific asynchronous
function is waiting to run
_.arr
Added functions: removeDuplicate
linb.Event:
Added key, type, ctrlKey, shiftKey, altKey to the result of getKey
function
linb.Profile
Added functions: getProperties, setProperties
linb.Com
Added functions: AddComponents, setAlias, getAlias, setHost,
initialize, getAllComponents
Modified functions: create. If you set threadid paramter to false,
create function will be synchronous
With synchronous create, you can append a UI com to Dom
directly(no ComFactory):
[code]
var com = new App.SubDom;
com.setProperties(...
com.setEvents(...
SPA.ctl_panel.append(com);
[/code]
As a contrast(asynchronous):
[code]
linb.ComFactory.newCom("App.SubDom",function(){
this.setProperties(...
this.setEvents(...
this.show(SPA.ctl_panel);
});
[/code]
linb.absIO(linb.Ajax/linb.IAjax/linb.SAjax)
Modified: set retry time to 0
linb.UI
Added functions: setTheme(for specific controls)
Added functions: setAlias, getAlias, setHost, getHost. host/alias
were deprecated!
Modified the default alias to 'ctl_' beginning
Added properties: className
linb.absValue
Added properties: readonly
linb.UI.Resizer
Added events:onDblclick
linb.UI.Panel/linb.UI.Dialog
Added properties: refreshBtn
linb.UI.Dialog
Added functions: showModal
linb.UI.Input/ComboInput
Added properties: hAlign for text-align
Added events: onCancel
linb.UI.ComboInput
Added funcitons: formatCurrency(static function)
linb.UI.Tabs
Added properties: lazyAppend
Added properties to item object: iframeAutoLoad/ajaxAutoLoad/html
linb.UI.Panel/linb.UI.Tabs
Modified properties: from landBtn to popBtn
linb.UI.Panel/Group/Dialog
Added properties: iframeAutoLoad/ajaxAutoLoad for loading outter
html/text file
linb.UI.Panel/linb.UI.Dialog
Added events:onRefresh
linb.UI.TreeGrid
Added properties: currencyTpl
Added functions: getCell, editCell, focusCell, focusCellbyRowCol,
getDirtied, getCells
Added events: onNewLineTriggerred, afterCellFocused
Modified funcitons: Add triggerEvent parameter to updateCell
function.
linb.UI.PageBar
Modified: use number to replace '>' or '...' when pages is less
then 6
------------------------------------------------
*** A new UI Builder
------------------------------------------------
JavaScript-based source code editor Integrated(based on codemirror
right now)
1. Syntax highlight
2. Syntax Check
3. Line numbers
4. Search & replace
5. Undo/Redo
6. Code folding
7. Class outline enabled
8. Code Intellisense(show Code Suggestion and API Tips
dynamically)
press DOT character
press Ctrl + Atl + SPACE
double click a word
9. Custom variable types allowed
10. quick documentation, and navigation
11. Indent, syntax, selected block
12. Bracket matching for [], () and {}:
Ctrl + [ or ] : looking for the matching character, flash
characters for a moment
Ctrl + Shift + [ or ] : Jump to the matching character
13. WYSIWYG Designer
Building UI by drag & drop
Dblclick a control will bring up the code editor and locate to
its declaration code.
Click the event button will bring up the code editor and
automatically write the beginning code to handle the click event.
Ann, tons of bugs fixed
------------------------------------------------
Just check it out.