de.lessvoid.nifty.controls
Interface Window

All Superinterfaces:
NiftyControl
All Known Implementing Classes:
WindowControl

public interface Window
extends NiftyControl

This is a Nifty Window that can be dragged around.

Author:
void

Method Summary
 void closeWindow()
          Close this Window.
 String getTitle()
          Get the title of the Window.
 void setTitle(String title)
          Set the title of the Window.
 
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
 

Method Detail

getTitle

String getTitle()
Get the title of the Window.

Returns:
title the title of the window

setTitle

void setTitle(String title)
Set the title of the Window.

Parameters:
title - the new title to be displayed in the Title bar

closeWindow

void closeWindow()
Close this Window.



Copyright © 2011. All Rights Reserved.