Constructor and Description |
---|
WindowControl() |
Modifier and Type | Method and Description |
---|---|
void |
bind(de.lessvoid.nifty.Nifty nifty,
de.lessvoid.nifty.screen.Screen screen,
de.lessvoid.nifty.elements.Element element,
Properties parameter,
de.lessvoid.xml.xpp3.Attributes controlDefinitionAttributes) |
void |
closeWindow()
Close this Window.
|
void |
drag(int mouseX,
int mouseY) |
void |
dragStart(int mouseX,
int mouseY) |
void |
dragStop() |
de.lessvoid.nifty.elements.Element |
getContent() |
String |
getTitle()
Get the title of the Window.
|
boolean |
inputEvent(de.lessvoid.nifty.input.NiftyInputEvent inputEvent) |
void |
onFocus(boolean getFocus) |
void |
onStartScreen() |
void |
setTitle(String title)
Set the title of the Window.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
public void bind(de.lessvoid.nifty.Nifty nifty, de.lessvoid.nifty.screen.Screen screen, de.lessvoid.nifty.elements.Element element, Properties parameter, de.lessvoid.xml.xpp3.Attributes controlDefinitionAttributes)
bind
in interface de.lessvoid.nifty.controls.Controller
public void onStartScreen()
onStartScreen
in interface de.lessvoid.nifty.controls.Controller
public boolean inputEvent(de.lessvoid.nifty.input.NiftyInputEvent inputEvent)
inputEvent
in interface de.lessvoid.nifty.controls.Controller
public void onFocus(boolean getFocus)
onFocus
in interface de.lessvoid.nifty.controls.Controller
onFocus
in class de.lessvoid.nifty.controls.AbstractController
public void dragStart(int mouseX, int mouseY)
public void drag(int mouseX, int mouseY)
public void dragStop()
public de.lessvoid.nifty.elements.Element getContent()
public String getTitle()
Window
public void setTitle(String title)
Window
public void closeWindow()
Window
closeWindow
in interface Window
Copyright © 2013. All Rights Reserved.