com.threerings.opengl.gui
Class DecoratedWindow

java.lang.Object
  extended by com.threerings.opengl.gui.Component
      extended by com.threerings.opengl.gui.Container
          extended by com.threerings.opengl.gui.Window
              extended by com.threerings.opengl.gui.DecoratedWindow
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Comparable<Window>

public class DecoratedWindow
extends Window

A top-level window with a border, a background and a title bar. Note that a decorated window uses a stretching GroupLayout and adds a label at the top in the window_title style if a title was specified.


Field Summary
 
Fields inherited from class com.threerings.opengl.gui.Component
DEFAULT, DISABLED, HOVER
 
Constructor Summary
DecoratedWindow(GlContext ctx, String title)
          Creates a decorated window using the supplied look and feel.
 
Method Summary
 
Methods inherited from class com.threerings.opengl.gui.Window
center, compareTo, dismiss, getLayer, getParentWindow, getRoot, invalidate, isAdded, isModal, isOverlay, pack, pack, setBounds, setLayer, setModal, setParent, setParentWindow, shouldShadeBehind
 
Methods inherited from class com.threerings.opengl.gui.Container
add, add, add, add, getComponent, getComponentCount, getComponentIndex, getHitComponent, getLayoutManager, remove, remove, removeAll, replace, setAlpha, setEnabled, setHoverable, setLayoutManager, validate
 
Methods inherited from class com.threerings.opengl.gui.Component
acceptsFocus, addListener, boundsToString, configUpdated, contains, createDefaultTooltipComponent, createDefaultTooltipComponent, dispatchEvent, getAbsoluteX, getAbsoluteY, getAlpha, getBackground, getBorder, getBounds, getColor, getContext, getCursor, getFocusTarget, getHeight, getInsets, getParent, getPreferredSize, getProperty, getState, getStyleConfigs, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, getTransferHandler, getWidth, getX, getY, hasFocus, isEnabled, isHoverable, isShowing, isTooltipRelativeToMouse, isValid, isVisible, removeAllListeners, removeAllListeners, removeListener, render, requestFocus, scrollRectToVisible, setBackground, setCursor, setLocation, setPreferredSize, setPreferredSize, setProperty, setSize, setStyleConfig, setStyleConfig, setStyleConfig, setStyleConfigs, setTooltipRelativeToMouse, setTooltipText, setTransferHandler, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratedWindow

public DecoratedWindow(GlContext ctx,
                       String title)
Creates a decorated window using the supplied look and feel.

Parameters:
title - the title of the window or null if no title bar is desired.


Copyright © 2011. All Rights Reserved.