Overview

Namespaces

  • DedicatedApi
    • Structures
    • Xmlrpc
  • ManiaLib
    • Gui
      • Cards
        • Dialogs
        • Navigation
      • Elements
      • Layouts
      • Maniacode
        • Elements
    • Utils
  • ManiaLive
    • Application
    • Config
    • Data
    • Database
      • MySQL
      • SQLite
    • DedicatedApi
      • Callback
    • Event
    • Features
      • Admin
      • ChatCommand
      • Tick
      • WebServices
    • Gui
      • Controls
      • Elements
      • Windows
    • PluginHandler
    • Threading
    • Utilities
  • ManiaLiveApplication
  • Maniaplanet
    • WebServices
      • ManiaConnect
      • ManiaHome
      • Rankings
  • PHP

Classes

  • ActionHandler
  • Container
  • Control
  • CustomUI
  • Element
  • Group
  • GuiHandler
  • ManagedWindow
  • Manialinks
  • Panel
  • Window

Interfaces

  • Containable
  • Overview
  • Namespace
  • Class
  • Tree

Class ManagedWindow

This window will be managed by the windowing system. if there is more than one window displayed at a time, then it will put the oldest ones into a "taskbar".

ManiaLib\Gui\Component
Extended by ManiaLive\Gui\Container
Extended by ManiaLive\Gui\Window implements ManiaLive\Features\Tick\Listener
Extended by ManiaLive\Gui\Panel
Extended by ManiaLive\Gui\ManagedWindow
Namespace: ManiaLive\Gui
Located at libraries/ManiaLive/Gui/ManagedWindow.php
Methods summary
public static ManiaLive\Gui\Windowing\ManagedWindow
# Create( string $recipient = null, boolean $singleton = true )

This will create a new instance of the window that extends this class.

This will create a new instance of the window that extends this class.

Parameters

$recipient
string
$recipient
$singleton
boolean
$singleton

Returns

ManiaLive\Gui\Windowing\ManagedWindow

Throws

Exception

Overrides

ManiaLive\Gui\Window::Create()
public static
# Buzz( )

Buzz all windows of the given type. Will inform players that this window has got some new information for them.

Buzz all windows of the given type. Will inform players that this window has got some new information for them.

public static
# RedrawAll( )

Redraws all window instances that are currently shown on player screens and send buzz signal if a window is minimized.

Redraws all window instances that are currently shown on player screens and send buzz signal if a window is minimized.

Overrides

ManiaLive\Gui\Window::RedrawAll()
protected
# onConstruct( )

Use the static Create method to instanciate a new object of that class.

Use the static Create method to instanciate a new object of that class.

Overrides

ManiaLive\Gui\Panel::onConstruct()
final public boolean
# isMaximized( )

Whether this window is currently maximized.

Whether this window is currently maximized.

Returns

boolean
final public
# maximize( )

Set this window maximized and redraw it onto the screen.

Set this window maximized and redraw it onto the screen.

public
# setMaximizable( boolean $maximizable = true )

Show or hide the maximize button.

Show or hide the maximize button.

Parameters

$maximizable
boolean
$maximizable
public
# onDraw( )

Actions that need to be processed before the Window is being showed. This includes eg. resizing and positioning of Elements and Controls.

Actions that need to be processed before the Window is being showed. This includes eg. resizing and positioning of Elements and Controls.

Overrides

ManiaLive\Gui\Window::onDraw()
protected
# onHide( )

Unmaximize window if needed

Unmaximize window if needed

Overrides

ManiaLive\Gui\Window::onHide()
public
# destroy( )

Remove all references from this Window. Unregister events and remove references to this Window from components.

Remove all references from this Window. Unregister events and remove references to this Window from components.

Overrides

ManiaLive\Gui\Window::destroy()
Methods inherited from ManiaLive\Gui\Panel
getTitle(), makeOpaque(), makeTransparent(), onResize(), setBackgroundStyle(), setTitle(), showCloseButton()
Methods inherited from ManiaLive\Gui\Window
Erase(), EraseAll(), Get(), GetAll(), addCloseCallback(), areLinksDisabled(), centerOn(), centerOnScreen(), createAction(), disableLinks(), enableLinks(), getMaxZ(), getMinZ(), getRecipient(), getTimeout(), hide(), moveAbove(), onShow(), onTick(), redraw(), save(), setTimeout(), show(), showModal()
Methods inherited from ManiaLive\Gui\Container
addComponent(), clearComponents(), countElements(), getComponents(), removeComponent()
Methods inherited from ManiaLib\Gui\Component
getBorderBottom(), getBorderLeft(), getBorderRight(), getBorderTop(), getHalign(), getId(), getParentFrame(), getParentLayout(), getParentNode(), getPosX(), getPosY(), getPosZ(), getRealSizeX(), getRealSizeY(), getRelativeHalign(), getRelativeValign(), getScale(), getScriptEvents(), getSizeX(), getSizeY(), getValign(), incPosX(), incPosY(), incPosZ(), isVisible(), onAlign(), onMove(), onScale(), setAlign(), setHalign(), setId(), setParentFrame(), setParentLayout(), setParentNode(), setPosX(), setPosY(), setPosZ(), setPosition(), setPositionX(), setPositionY(), setPositionZ(), setRelativeAlign(), setRelativeHalign(), setRelativeValign(), setScale(), setScriptEvents(), setSize(), setSizeX(), setSizeY(), setValign(), setVisibility()
Constants inherited from ManiaLive\Gui\Window
RECIPIENT_ALL, RECIPIENT_PLAYERS, RECIPIENT_SPECTATORS, Z_MAX, Z_MAXIMIZED, Z_MIN, Z_MODAL, Z_OFFSET
Properties inherited from ManiaLive\Gui\Panel
$main, $titleBg
Properties inherited from ManiaLib\Gui\Component
$halign, $id, $parentFrame, $parentLayout, $parentNode, $posX, $posY, $posZ, $relativeHalign, $relativeValign, $scale, $scriptEvents, $sizeX, $sizeY, $valign, $visible
ManiaLiveDoc API documentation generated by ApiGen 2.8.0