| $#! | |
| $O, ObjectLib | |
| _getCache, Myna. Table | |
| A | |
| abort, Myna | |
| add | |
| addApp, Myna. Permissions | |
| addColumn, Myna. Table | |
| addError, Myna. ValidationResult | |
| addField, Model | |
| addFilter, Controller | |
| addForeignKey, Myna. Table | |
| addIndex, Myna. Table | |
| addKey, Myna. KeyStore | |
| addLayout, Controller | |
| addOpenObject, $application | |
| addPrimaryKey, Myna. Table | |
| addRight, Myna. Permissions | |
| addRights, Myna. Permissions. UserGroup | |
| addUser, Myna. Permissions | |
| addUserGroup, Myna. Permissions | |
| addUsers, Myna. Permissions. UserGroup | |
| addValidator | |
| addValidators | |
| addValue, Myna. QueryParams | |
| after | |
| alert, Myna. Swing | |
| appendBinary, Myna.File | |
| appendChild, XML | |
| appendFunction | |
| appendString, Myna.File | |
| appendUnique, Array | |
| apply, Myna. Template | |
| Apply, Myna. XTemplate | |
| applyBehavior | |
| applyChanges, Myna. Table | |
| applyTo | |
| attribute, XML | |
| attributes, XML | |
| avg, Array | |
| avgByCol, Myna. DataSet | |
| B | |
| backgroundRefresh, Myna. Cache | |
| base64ToByteArray, Myna. JavaUtils | |
| beanToObject | |
| before | |
| begin, Myna. Profiler | |
| belongsTo | |
| bind, Function | |
| build, Myna. Swing | |
| byteArrayToBase64, Myna. JavaUtils | |
| byteArrayToHex, Myna. JavaUtils |
wraps an object with the ObjectLib functions.
if ( typeof $O = = "undefined" )
(private) internal function for caching metadata
Myna.Table.prototype._getCache = function( type, f )
Halts JavaScript execution, optionally showing a message or dumping an object
Myna.abort=function Myna_abort( label, value )
Provides a convenient method of performing basic date arithmetic.
Date.prototype.add = function( interval, value )
creates a thread, adds it to this group, and returns the generated thread
Myna.ThreadGroup.prototype.add=function( func, args, priority )
Adds/updates an application, and returns an instance of Myna.Permissions.App.
addApp:function( options )
Adds a column to an existing table
Myna.Table.prototype.addColumn = function( options )
Adds an error to this result and sets success to false
Myna.ValidationResult.prototype.addError=function( message, property )
adds a field to this Model’s beanClass
addField:function addField( def )
Adds an action filter
Controller.prototype.addFilter = function addFilter( filter, options )
Adds a foreign key to this table
Myna.Table.prototype.addForeignKey = function( options )
Adds an index to an existing table
Myna.Table.prototype.addIndex = function( options )
generate a new key in this keystore
Myna.KeyStore.prototype.addKey = function( status )
adds a layout layer to this this request
Controller.prototype.addLayout = function addLayout( layout )
Add an object to $application to be closed at the end of the thread.
addOpenObject:function( obj )
Adds a primary key to this table
Myna.Table.prototype.addPrimaryKey = function( options )
adds a new right, and returns an instance of Myna.Permissions.Right
addRight:function( options )
adds one or more rights to this group, if not already added
Myna.Permissions.UserGroup.prototype.addRights = function( right_id_list )
adds a new user, and returns an instance of Myna.Permissions.User
addUser:function( options )
adds a new user group, and returns an instance of Myna.UserGroup
addUserGroup:function( options )
adds one or more users to this group, if not already added
Myna.Permissions.UserGroup.prototype.addUsers = function( user_id_list )
adds a validation function to this Model’s validation object
addValidator:function addValidator( colname, validator, options )
adds a validation function to this manager
Myna.Validation.prototype.addValidator=function addValidator( property, validator, options )
add multiple validators
Myna.Validation.prototype.addValidators=function addValidators( validator_config )
adds an sql parameter value to to QueryParams and returns a paceholder.
addValue:function( value, type, isNull )
returns a chain function out of this function and another function, new function second
Function.prototype.after = function( func )
Appends supplied function to the event chain of this object.
Object.prototype.after=function( functionName, functionObj )
Appends supplied function to the event chain of an object.
ObjectLib.after=function( obj, functionName, functionObj )
returns all the characters after the first count characters
String.prototype.after=function( count, caseSensitive )
Creates an alert dialog
alert:function( text, title, type )
appends a strings to this file
Myna.File.prototype.appendBinary = function( byteArray )
appends a strings to this file
Myna.File.prototype.appendString = function( string )
adds a new element to this array, if that element is not already in this array.
Array.prototype.appendUnique=function( val, looseCheck, accessor )
loads a behavior and applies it to this object
Controller.prototype.applyBehavior = function applyBehavior( name, options )
loads a behavior and applies it to this object
applyBehavior:function applyBehavior( name )
Applies the contents of Table.sql to this Table’s datasource.
Myna.Table.prototype.applyChanges = function()
Copies all properties (including Function properties) of this object to another
Object.prototype.applyTo=function( target, shouldOverwrite )
Copies all properties (including Function properties and “hidden”) of an object to another
ObjectLib.applyTo=function( obj, target, shouldOverwrite )
returns an average of the array.
Array.prototype.avg = function( accessor )
returns an average of the column.
DataSet.prototype.avgByCol = function( column, accessor )
refresh this cache in a background thread.
Myna.Cache.prototype.backgroundRefresh = function CacheBackgroundRefresh( args )
returns a Java byte[] from a Base64 string
Myna.JavaUtils.base64ToByteArray = function( string )
Attempts to convert a JavaBean in to JavaScript object
Myna.beanToObject=function Myna_beanToObject( bean )
Attempts to convert a JavaBean in to JavaScript object
Myna.JavaUtils.beanToObject=function( bean )
returns a chain function out of this function and another function, new function first
Function.prototype.before = function( func )
Prepends supplied function to the event chain of this object.
Object.prototype.before=function( functionName, functionObj )
Prepends supplied function to the event chain of an object.
ObjectLib.before=function( obj, functionName, functionObj )
returns all the characters before the last count characters
String.prototype.before=function( count )
Sets begin point for a given label.
Myna.Profiler.prototype.begin = function( label, time )
Sets a “belongsTo” relationship with another model.
belongsTo:function belongsTo( name )
returns a version of this function bound to a specific scope object
Function.prototype.bind = Function.prototype.bind ||function( o )
Creates Swing component from an object config
build:function( config )
returns Base64 string representation of a Java byte[]
Myna.JavaUtils.byteArrayToBase64 = function( bytes, urlSafe )
returns HEX string representation of a Java byte[]
Myna.JavaUtils.byteArrayToHex = function( bytes )