A | |
addEventListener, it. | |
addLocalComponent, it. | |
addNetworkComponent, it. | |
C | |
close | |
connectLocal, it. | |
connectNetwork, it. | |
D | |
disconnectLocal, it. | |
disconnectNetwork, it. | |
downloadFile, it. | |
G | |
getClass, it. | |
getInfo, it. | |
getLastPosition, it. | |
getMenu, it. | |
getMinimumSize, it. | |
getPosition, it. | |
getPreferredSize, it. | |
getSize, it. | |
getState, it. | |
getTitle, it. | |
getTrasparent, it. | |
getType, it. | |
getURI, it. | |
getWindowStyle, it. | |
H | |
hide, it. | |
hideContent, it. | |
I | |
isConnected, it. | |
isTrasparent, it. | |
M | |
moveTo, it. | |
N | |
needToHideContentOnMove, it. | |
needToHideContentOnResize, it. | |
newError, it. | |
O | |
onConnect, it. | |
onDisconnect, it. | |
onStatus, it. | |
openLocal, it. | |
openNetwork, it. | |
P | |
popStatusBarMessage, it. | |
pushStatusBarMessage, it. | |
R | |
recordNetStream, it. | |
recordSharedObject, it. | |
removeLocalComponent, it. | |
removeNetworkComponent, it. | |
S | |
send, it. | |
setFocus, it. | |
setFullscreen, it. | |
setLastPosition, it. | |
setMenu, it. | |
setPosition, it. | |
setReceiver, it. | |
setSize | |
setState, it. | |
setTrasparent, it. | |
setType, it. | |
setUrgencyHint, it. | |
setWindowStyle, it. | |
show, it. | |
showContent, it. | |
U | |
unrecordAllSharedObject, it. | |
unrecordNetStream, it. | |
unrecordSharedObject, it. | |
uploadFile, it. |
Adds a listener for a given event.
function addEventListener( eventType: String, listener: Object ):Void
This method is usually called by a component that wants to be added to the list of local components (connected through LocalConnection).
function addLocalComponent ( component: IClientComponent ):Void
This method is usually called by a component that wants to be added to the list of network components.
function addNetworkComponent ( component: IClientComponent ):Void
This method is called when the window is asked to be closed.
function close ( ):Void
Closes the window.
function close():Void
This method fully connects all already added local components and the Connector itself.
function connectLocal ():Void
This method fully connects all already added network components and the Connector itself.
function connectNetwork ():Void
This method fully disconnects all local components and the Connector itself.
function disconnectLocal ():Void
This method fully disconnects all network components and the Connector itself.
function disconnectNetwork ():Void
This method downloads a file of name name from the address specified by URL, after having set the callbacks.
function downloadFile( url: String, callback: Object, name: String ):Void
This method must return the class name implemented on the server.
function getClass():String
This method returns all the messages generated by the connection.
function getInfo ():Array
Returns the last window position.
function getLastPosition():Position
Returns the window menu in the standard format used by the Menu class.
function getMenu():XML
This method is called when the minimum window size is requested.
function getMinimumSize():Size
Returns the current window position.
function getPosition():Position
This method is called when the default window size is requested.
function getPreferredSize():Size
Returns the window size.
function getSize():Size
Returns the current window state.
function getState():String
Returns the window title.
function getTitle():String
Returns True if the window is transparent.
function getTrasparent():Boolean
NOT YET IMPLEMENTED
function getType():String
This method must return the unique id of the server side class instance the component wants to ask for.
function getURI():String
Returns the window style.
function getWindowStyle():Object
Hides the window and its content.
function hide():Void
Hides only the window content.
function hideContent():Void
This method returns a boolean value that says if the Connector is connected.
function isConnected():Boolean
Returns True if the window is transparent.
function isTrasparent():Boolean
Moves the window to the specified coordinates.
function moveTo( x: Number, y: Number ):Void
Says if the content is hidden while moving the window.
function needToHideContentOnMove():Boolean
Says if the content is hidden while resizing the window.
function needToHideContentOnResize():Boolean
Generates an error message and shows it in the popup area if the popup argument is True.
function newError( err, popup, level, id ):Void
This event is generated by the Core on component connection.
function onConnect( con: IConnector ):Void
This event is generated on component disconnection, for any reason.
function onDisconnect():Void
This event is generated on every notification by the Connector object.
function onStatus ( info: Object ):Void
not fully implemented
function openLocal ( uri: String ):Void
This method opens a network connection.
function openNetwork ( uri: String, params: Object ):IConnector
Removes the last message from the window status bar.
function popStatusBarMessage():Void
Adds a message in the window status bar.
function pushStatusBarMessage( msg: String ):Void
This method allows a component to register a NetStream.
function recordNetStream ( name: String, component: IClientComponent, listener: Object, object: Object, callbacks: Object ):NetStream
This method allows a component to register a SharedObject.
function recordSharedObject ( name: String, component: IClientComponent, listener: Object, object: Object, persistence: Boolean, callbacks: Object ):SharedObject
This method is usually called by a component that wants to be removed from the list of local components (connected through LocalConnection).
function removeLocalComponent ( component: IClientComponent ):Void
This method is usually called by a component that wants to be removed from the list of network components.
function removeNetworkComponent ( component: IClientComponent ) :Void
This method sends a message to the specified URI.
function send ( uri: String, method: String, param: Object ):Void
Gives the current focus to this window.
function setFocus():Void
Makes the window the only one visible on the screen, removing status bar or something.
function setFullscreen( value: Boolean ):Void
Sets the window position
function setLastPosition( pos: Position ):Void
Sets the window menu in the standard format used by the Menu class.
function setMenu( newMenu: XML ):Void
Moves the window to the specified position.
function setPosition( pos: Position ):Void
This method allows the component to receive a message from the server at a specified URI, using a method indicated by the method parameter.
function setReceiver ( uri: String, method: String, callback: Object, object: Object ):Void
This method is called when the window is asked to be resized.
function setSize ( newWidth: Number, newHeight: Number ):Void
It is called when the window is asked to change its size.
function setSize( newWidth: Number, newHeight: Number ):Void
Sets the window state.
function setState( newState: String ):Void
Sets the window transparence.
function setTrasparent( value: Boolean ):Void
NOT YET IMPLEMENTED
function setType( newType: String ):Void
Sets the window blink.
function setUrgencyHint( value: Boolean ):Void
Sets the window style.
function setWindowStyle( newStyle: Object ):Void
It is the opposite of hide.
function show():Void
It is the opposite of hideContent.
function showContent():Void
This method allows the component to unregister all the SharedObjects previously registered on the server.
function unrecordAllSharedObject ( component: IClientComponent ):Void
This method allows a component to unregister a NetStream previously registered on the server.
function unrecordNetStream ( name: String, component: IClientComponent ):Void
This method allows a component to unregister a SharedObject previously registered on the server.
function unrecordSharedObject ( name: String, component: IClientComponent ):Void
This method uploads a file of type(s) fileTypes to the address specified by URL, after having set the callbacks.
function uploadFile ( fileTypes: Array, url: String, callback: Object ):Void