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, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic boolean inputEvent(NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void onFocus(boolean getFocus)
onFocus in interface ControlleronFocus in class AbstractControllerpublic void dragStart(int mouseX,
int mouseY)
public void drag(int mouseX,
int mouseY)
public void dragStop()
public Element getContent()
public String getTitle()
Windowpublic void setTitle(String title)
Windowpublic void closeWindow()
WindowcloseWindow in interface WindowCopyright © 2013. All Rights Reserved.