Controller, NiftyControl, Window@Deprecated public class WindowControl extends AbstractController implements Window
| Constructor | Description |
|---|---|
WindowControl() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
bind(Nifty nifty,
Screen screen,
Element element,
Parameters parameter) |
Deprecated.
|
void |
bringToFront() |
Deprecated.
|
void |
closeWindow() |
Deprecated.
Close this Window.
|
void |
drag(int mouseX,
int mouseY) |
Deprecated.
|
void |
dragStop() |
Deprecated.
|
Element |
getContent() |
Deprecated.
|
java.lang.String |
getTitle() |
Deprecated.
Get the title of the Window.
|
boolean |
inputEvent(NiftyInputEvent inputEvent) |
Deprecated.
|
void |
moveToFront() |
Deprecated.
Move the window control to the front inside its parent element.
|
void |
onFocus(boolean getFocus) |
Deprecated.
|
void |
onStartScreen() |
Deprecated.
|
void |
setTitle(java.lang.String title) |
Deprecated.
Set the title of the Window.
|
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, init, isBound, isEnabled, layoutCallback, onEndScreen, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthdisable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthpublic void bind(@Nonnull
Nifty nifty,
@Nonnull
Screen screen,
@Nonnull
Element element,
@Nonnull
Parameters parameter)
bind in interface Controllerpublic void onStartScreen()
onStartScreen in interface Controllerpublic boolean inputEvent(@Nonnull
NiftyInputEvent inputEvent)
inputEvent in interface Controllerpublic void onFocus(boolean getFocus)
onFocus in interface ControlleronFocus in class AbstractControllerpublic void bringToFront()
public void drag(int mouseX,
int mouseY)
public void dragStop()
@Nullable public Element getContent()
@Nullable public java.lang.String getTitle()
Windowpublic void setTitle(@Nonnull
java.lang.String title)
Windowpublic void closeWindow()
WindowcloseWindow in interface Windowpublic void moveToFront()
WindowmoveToFront in interface WindowCopyright © 2018. All rights reserved.