Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
I
 iesucks
 imgnode
 include, VegUIManager
 init, VegUIEffect
 init_bridge, VegUIManager
 init_close, VegUIMenu
 init_fx, VegUIManager
 initialize, VegUIFXManager
 input_go, VegUIDataset
 input_halt, VegUIDataset
 is_active, VegUIMenu
 is_hidden, VegUINode
 is_parent, VegUINode
 is_selected, VegUIList
 is_x, VegUIScrollbar
K
 key_is_blocked, VegUIManager
 kill, VegUINode
L
 link, VegUIScrollbar
 link_menu, VegUIMenu
 lose_focus_node, VegUINode
M
 maximize, VegUIWindow
 merge
 minimize, VegUIWindow
 move, VegUINode
 mresize, VegUIWindow
N
 new_request, VegUIBridge
O
 onbuild, VegUINode
 onchange, VegUINode
 onclose, VegUIWindow
 ondock, VegUINode
 onfocuslose, VegUINode
 onfocusset, VegUINode
 onhide, VegUINode
 onkill, VegUINode
 onmaximize, VegUIWindow
 onmaxtimeouts, VegUIBridge
 onminimize, VegUIWindow
 onmove, VegUINode
 onresize, VegUINode
 ontimeout, VegUIBridge
 ontoback, VegUIWindow
 ontofront, VegUIWindow
 onwinfocus, VegUIWindow
 open, VegUIList
 overflow, VegUIScrollbar
 overlaps, VegUINode
P
 pi
 poll, VegUIFXManager
 poll_timeouts, VegUIBridge
 popup, VegUIMenu
 process_request, VegUIBridge
 put_shadow, VegUIWindow
R
 rebuild, VegUIDataset
 request, VegUIClient
 resize, VegUINode
 row_add, VegUIDataset
 row_get, VegUIDataset
 row_update, VegUIDataset
var browser_str = navigator.userAgent.toLowerCase(); function iesucks(Node)
Internet explorer 6 leaks memory in closures, in order to fix that iesucks is called when the page is unloaded if the browser is ie6
function imgnode(src,
w,
h,
parentNode)
Wrapper for document.createElement to create an image node with the option to define proportions and image source right away
this.include = function(path,
ondone,
async)
Includes javascript code from a file and executes is
this.init = function(Element,
Manager)
Initialize effect
this.init_bridge = function()
initializes common VegUIBridge object that can be accessed by all spawned VegUIElements by accessing it over their Manager property
this.init_close = function()
Starts a timer that will close the menu in this.<closeTime> ms.
this.init_fx = function(interval)
initializes common VegUIFXManager object that can be accessed by all spawned VegUIElements by accessing it over their Manager attribute
Initializes the manager at the set interval, note that this does not start the interval timer, it just sets the speed.
this.input_go = function(id,
cell)
Toggles input mode on a column field in a certain row
this.input_halt = function()
Stops input mode
this.is_active = function()
Checks if this or any of the child menues of this menu is active
this.is_hidden = function()
Checks if the HTML node controlled by this element is hidden or visible
this.is_parent = function(Obj)
Check if a vegui element is the parent element of this element somewhere down the parent chain
this.is_selected = function(value)
Checks if the item with a certain value is selected
this.is_x = function()
Checks if scroll bar is an x axis or an y axis scroll bar
this.key_is_blocked = function(keyCode)
Check if a keycode has been blocked with block_key
this.kill = function(removeSelf,
keepBase)
Removes the HTMLnode controlled by this element and/or destroys the element it self.
this.link = function(CHolder,
Content)
Links two VegUIElement as CHolder and Content.
this.link_menu = function(itemIdx,
Menu)
Links another VegUIMenu element as a subment to this menu.
this.lose_focus = this.lose_focus_node = function(bail)
Takes focus away from this element, the first parent that can have focus set on it will gain passive focus.
this.maximize = function()
Maximizes the window, moving it to the position this.maxX,maxY and resizing it to this.maxW, this.maxH
function merge(srcObj,
trgObj)
Attempt to append the properties of trgObj to srcObj
this.minimize = function()
Minimizes the window, hiding it from the user but never destroying it
this.move = function(x,
y)
moves the HTML node controlled by this element to new coordinates
this.mresize = function(dir)
Resizes the WinShadow element in relation to the mouse cursor coordinates
this.new_request = function(toElement)
Spawns a new XMLHttpRequest object and returns it in the form of a VegUIRequest object
triggered after element was built
varies from element to element
when close is called
triggered by dock method
triggered when element loses focus
triggered when element gains focus
triggered by hide method
triggered by kill method
when maximize is called
triggered when the maximum number of timeouts is reched
when minimize is called
called when the element is moved via the set_x, set_y or move methods
called when the element is resized via the set_width, set_height or resize methods
triggered everytime a request times out, submits the timed out request as a parameter
when window is moved to the background
when window is brought to the front
when set_focus_win is called
this.open = function()
Expands the list if it is a dropdown list
this.overflow = function()
Calculate content overflow ratio
this.overlaps = function(Node,
yDiffS,
yDiffT)
Checks if this element overlaps with another element.
function pi(str)
wrapper for parseInt, because its too long and i need it a lot ;D
this.poll = function()
This is the function that is repeatedly called by the fx timer.
this.poll_timeouts = function()
Polls the Request array for any timed out requests and handles them arcordingly.
this.popup = function(x,
y)
Shows the menu.
this.process_request = function(vreq)
When a request gets a response from the server then it will go through this function where it will determine if it was a successful request or not
this.put_shadow = function()
This makes the WinShadow element visible and molds it to fit the window’s proportions and position
this.rebuild = function()
Rebuilds the dataset according to the current data in columns and rows
this.request = function(scriptName,
parameters,
method)
Sends a request to the server
this.resize = function(w,
h,
noAlign)
resizes the HTML node controlled by this element
this.row_add = function(fields,
id)
Adds a row to the rows array
this.row_get = function(rowId,
getIdx)
Returns the fields object for the row with the submitted id
this.row_update = function(fields)
Rebuilds the submitted row in the dataset