gnu.gcj.xlib

Class Screen


public final class Screen
extends Object

A flyweight class that denotes an X11 screen. Display and screen number is the only data kept by this class. The real screen structure is stored in the display. There may exist several objects denoting the same screen.

Constructor Summary

Screen(Display display)
Screen(Display display, int screenNumber)

Method Summary

int
findScreenNumber()
Colormap
getDefaultColormap()
int
getDefaultColormapXID()
Display
getDisplay()
int
getRootDepth()
Visual
getRootVisual()
Window
getRootWindow()
int
getRootWindowXID()
int
getScreenNumber()

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

Screen

public Screen(Display display)

Screen

public Screen(Display display,
              int screenNumber)

Method Details

findScreenNumber

public int findScreenNumber()

getDefaultColormap

public Colormap getDefaultColormap()

getDefaultColormapXID

public int getDefaultColormapXID()

getDisplay

public final Display getDisplay()

getRootDepth

public int getRootDepth()

getRootVisual

public Visual getRootVisual()

getRootWindow

public Window getRootWindow()

getRootWindowXID

public int getRootWindowXID()

getScreenNumber

public final int getScreenNumber()

Copyright (C) 2000 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.