com.opera.core.systems
Class QuickWindow

java.lang.Object
  extended by com.opera.core.systems.QuickWindow

public class QuickWindow
extends java.lang.Object

Represents a window in the Desktop UI.

Author:
Adam Minchinton, Karianne Ekern

Constructor Summary
QuickWindow(DesktopWmProtos.DesktopWindowInfo info)
          Constructor.
 
Method Summary
 java.awt.Point getLocation()
           
 java.lang.String getName()
           
 DesktopWmProtos.DesktopWindowRect getRect()
           
 java.awt.Dimension getSize()
           
 java.lang.String getTitle()
           
 DesktopWmProtos.DesktopWindowInfo.DesktopWindowType getType()
           
 int getWindowID()
           
 boolean isActive()
           
 boolean isOnScreen()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuickWindow

public QuickWindow(DesktopWmProtos.DesktopWindowInfo info)
Constructor.

Parameters:
info - DesktopWindowInfo describing the window
Method Detail

getWindowID

public int getWindowID()
Returns:
window id of this window

getTitle

public java.lang.String getTitle()
Returns:
title of this window

getName

public java.lang.String getName()
Returns:
name of this window

isActive

public boolean isActive()
Returns:
true if window is active

isOnScreen

public boolean isOnScreen()
Returns:
true if the window is on screen, otherwise false

getType

public DesktopWmProtos.DesktopWindowInfo.DesktopWindowType getType()
Returns:
the type of the window

getRect

public DesktopWmProtos.DesktopWindowRect getRect()
Returns:
DesktopWindowRect of the window

getLocation

public java.awt.Point getLocation()
Returns:
Point describing location of window

getSize

public java.awt.Dimension getSize()
Returns:
size of this window

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.