public class WindowControl extends AbstractController implements Window
Constructor and Description |
---|
WindowControl() |
Modifier and Type | Method and Description |
---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes) |
void |
closeWindow()
Close this Window.
|
void |
drag(int mouseX,
int mouseY) |
void |
dragStart(int mouseX,
int mouseY) |
void |
dragStop() |
Element |
getContent() |
String |
getTitle()
Get the title of the Window.
|
boolean |
inputEvent(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind
in interface Controller
public void onStartScreen()
onStartScreen
in interface Controller
public boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent
in interface Controller
public void onFocus(boolean getFocus)
onFocus
in interface Controller
onFocus
in class AbstractController
public void dragStart(int mouseX, int mouseY)
public void drag(int mouseX, int mouseY)
public void dragStop()
public 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.