it.unipmn.di.Meeting.UIObjects.RWindow.IRWindow |
it.unipmn.di.Meeting.UIObjects.RWindow.RWindow |
The IRWindow interface allows a component to communicate with the window containing it.
L’interfaccia IRWindow permette al componente di comunicare con la finestra che lo contiene.
IRWindow | The IRWindow interface allows a component to communicate with the window containing it. |
Functions | |
addEventListener | Adds a listener for a given event. |
newError | Generates an error message and shows it in the popup area if the popup argument is True. |
pushStatusBarMessage | Adds a message in the window status bar. |
popStatusBarMessage | Removes the last message from the window status bar. |
needToHideContentOnMove | Says if the content is hidden while moving the window. |
needToHideContentOnResize | Says if the content is hidden while resizing the window. |
hide | Hides the window and its content. |
hideContent | Hides only the window content. |
showContent | It is the opposite of hideContent. |
show | It is the opposite of hide. |
getTitle | Returns the window title. |
isTrasparent | Returns True if the window is transparent. |
getTrasparent | Returns True if the window is transparent. |
setTrasparent | Sets the window transparence. |
getWindowStyle | Returns the window style. |
setWindowStyle | Sets the window style. |
getState | Returns the current window state. |
setState | Sets the window state. |
getType | NOT YET IMPLEMENTED |
setType | NOT YET IMPLEMENTED |
setFocus | Gives the current focus to this window. |
getSize | Returns the window size. |
getLastPosition | Returns the last window position. |
setLastPosition | Sets the window position |
getPosition | Returns the current window position. |
setUrgencyHint | Sets the window blink. |
setFullscreen | Makes the window the only one visible on the screen, removing status bar or something. |
setPosition | Moves the window to the specified position. |
moveTo | Moves the window to the specified coordinates. |
setSize | It is called when the window is asked to change its size. |
getMenu | Returns the window menu in the standard format used by the Menu class. |
setMenu | Sets the window menu in the standard format used by the Menu class. |
close | Closes the window. |
function newError( err, popup, level, id ):Void
Generates an error message and shows it in the popup area if the popup argument is True.
Genera un messaggio di errore e lo mostra nell’area di popup se l’argomento popup è True.
err | {String} error message / messaggio di errore |
popup | {Boolean} says if it has to be a popup or not |
level | {String} not used / non usato |
id | {int} not used / non usato |
function hideContent():Void
Hides only the window content.
Useful while moving or resizing a window to avoid frequent updates of the content.
Nasconde solo il contenuto della finestra.
Utile nelle operazioni di spostamento o ridimensionamento per evitare il continuo aggiornamento del contenuto.
function showContent():Void
It is the opposite of hideContent. It shows the window content back.
È opposto a hideContent. Fà apparire nuovamente il contenuto della finestra.
function setPosition( pos: Position ):Void
Moves the window to the specified position.
Colloca la finestra alla posizione indicata.
pos | {Position} position on the screen in WindowManager coordinates / posizione nello schermo in coordinate del WindowManager |
<it.unipmn.di.Meeting.Utils.Position>
function setSize( newWidth: Number, newHeight: Number ):Void
It is called when the window is asked to change its size.
Viene richiamato quando viene richiesta la modifica delle dimensioni della finestra.
newWidth | {Number} new width / nuova larghezza |
newHeight | {Number} new height / nuova altezza |
Adds a listener for a given event.
function addEventListener( eventType: String, listener: Object ):Void
Generates an error message and shows it in the popup area if the popup argument is True.
function newError( err, popup, level, id ):Void
Adds a message in the window status bar.
function pushStatusBarMessage( msg: String ):Void
Removes the last message from the window status bar.
function popStatusBarMessage():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
Hides the window and its content.
function hide():Void
Hides only the window content.
function hideContent():Void
It is the opposite of hideContent.
function showContent():Void
It is the opposite of hide.
function show():Void
Returns the window title.
function getTitle():String
Returns True if the window is transparent.
function isTrasparent():Boolean
Returns True if the window is transparent.
function getTrasparent():Boolean
Sets the window transparence.
function setTrasparent( value: Boolean ):Void
Returns the window style.
function getWindowStyle():Object
Sets the window style.
function setWindowStyle( newStyle: Object ):Void
Returns the current window state.
function getState():String
Sets the window state.
function setState( newState: String ):Void
NOT YET IMPLEMENTED
function getType():String
NOT YET IMPLEMENTED
function setType( newType: String ):Void
Gives the current focus to this window.
function setFocus():Void
Returns the window size.
function getSize():Size
Returns the last window position.
function getLastPosition():Position
Sets the window position
function setLastPosition( pos: Position ):Void
Returns the current window position.
function getPosition():Position
Sets the window blink.
function setUrgencyHint( value: Boolean ):Void
Makes the window the only one visible on the screen, removing status bar or something.
function setFullscreen( value: Boolean ):Void
Moves the window to the specified position.
function setPosition( pos: Position ):Void
Moves the window to the specified coordinates.
function moveTo( x: Number, y: Number ):Void
It is called when the window is asked to change its size.
function setSize( newWidth: Number, newHeight: Number ):Void
Returns the window menu in the standard format used by the Menu class.
function getMenu():XML
Sets the window menu in the standard format used by the Menu class.
function setMenu( newMenu: XML ):Void
Closes the window.
function close():Void