Modifier and Type | Method and Description |
---|---|
Screen |
Nifty.getCurrentScreen()
Get current screen.
|
Screen |
Nifty.getScreen(String id)
get a specific screen.
|
Modifier and Type | Method and Description |
---|---|
void |
Nifty.addControl(Screen screen,
Element element,
StandardControl standardControl) |
void |
Nifty.addScreen(String id,
Screen screen) |
Element |
Nifty.createElementFromType(Screen screen,
Element parent,
ElementType type) |
void |
Nifty.moveElement(Screen screen,
Element elementToMove,
Element destination,
EndNotify endNotify) |
void |
Nifty.ElementRemoveAction.perform(Screen screen,
Element element) |
void |
Nifty.ElementMoveAction.perform(Screen screen,
Element element) |
void |
Nifty.removeElement(Screen screen,
Element element) |
void |
Nifty.removeElement(Screen screen,
Element element,
EndNotify endNotify) |
void |
Nifty.showPopup(Screen screen,
String id,
Element defaultFocusElement)
show popup in the given screen.
|
<T,S extends org.bushe.swing.event.EventTopicSubscriber<? extends T>> |
Nifty.subscribe(Screen screen,
String elementId,
Class<T> eventClass,
S subscriber) |
void |
Nifty.unsubscribeElement(Screen screen,
String elementId) |
void |
Nifty.unsubscribeScreen(Screen screen) |
Modifier and Type | Method and Description |
---|---|
Screen |
ScreenBuilder.build(Nifty nifty) |
Modifier and Type | Method and Description |
---|---|
Element |
PopupBuilder.build(Nifty nifty,
Screen screen,
Element parent) |
Element |
ElementBuilder.build(Nifty nifty,
Screen screen,
Element parent) |
Element |
LayerBuilder.build(Nifty nifty,
Screen screen,
Element parent) |
Modifier and Type | Method and Description |
---|---|
void |
Controller.bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes)
Bind this Controller to a certain element.
|
void |
MenuItemControl.bind(Nifty nifty,
Screen screenParam,
Element newElement,
Properties properties,
Attributes controlDefinitionAttributes) |
void |
DefaultController.bind(Nifty nifty,
Screen screen,
Element element,
Properties parameter,
Attributes controlDefinitionAttributes) |
void |
NiftyInputControl.bindControl(Nifty nifty,
Screen screen,
Element element,
Attributes attributes) |
Element |
StandardControl.createControl(Nifty nifty,
Screen screen,
Element parent) |
void |
NiftyInputControl.onEndScreen(Nifty nifty,
Screen screen,
String elementId) |
void |
NiftyInputControl.onStartScreen(Nifty nifty,
Screen screen) |
Modifier and Type | Method and Description |
---|---|
Screen |
ScreenCreator.create(Nifty nifty) |
Modifier and Type | Method and Description |
---|---|
Element |
LayerCreator.create(Nifty nifty,
Screen screen,
Element parent) |
Element |
CustomControlCreator.create(Nifty nifty,
Screen screen,
Element parent) |
Element |
ImageCreator.create(Nifty nifty,
Screen screen,
Element parent) |
Element |
PanelCreator.create(Nifty nifty,
Screen screen,
Element parent) |
Element |
TextCreator.create(Nifty nifty,
Screen screen,
Element parent) |
Modifier and Type | Method and Description |
---|---|
protected Element |
ControlAttributes.createControlInternal(Nifty nifty,
Screen screen,
Element parent) |
protected Element |
ControlAttributes.createImage(Nifty nifty,
Screen screen,
Element parent) |
protected Element |
ControlAttributes.createLayer(Nifty nifty,
Screen screen,
Element parent) |
protected Element |
ControlAttributes.createPanel(Nifty nifty,
Screen screen,
Element parent) |
protected Element |
ControlAttributes.createText(Nifty nifty,
Screen screen,
Element parent) |
Modifier and Type | Method and Description |
---|---|
void |
Element.bindControls(Screen target) |
void |
Element.onEndScreen(Screen screen) |
Modifier and Type | Method and Description |
---|---|
Element |
RootLayerFactory.createRootLayer(String id,
Nifty nifty,
Screen screen,
TimeProvider time) |
Modifier and Type | Method and Description |
---|---|
protected void |
ElementType.applyChildren(Element parent,
Screen screen,
Nifty nifty) |
void |
ElementType.applyEffects(Nifty nifty,
Screen screen,
Element element) |
void |
ElementType.applyInteract(Nifty nifty,
Screen screen,
Element element) |
Element |
ElementType.create(Element parent,
Nifty nifty,
Screen screen,
LayoutPart layoutPart) |
void |
EffectsType.materialize(Nifty nifty,
Element element,
Screen screen,
LinkedList<Object> controllers) |
void |
ElementType.prepare(Nifty nifty,
Screen screen,
ElementType rootElementType) |
void |
ElementType.refreshAttributes(Nifty nifty,
Screen screen,
Element element,
ControlAttributes attributes) |
void |
EffectsType.translateSpecialValues(Nifty nifty,
Screen screen) |
void |
XmlBaseType.translateSpecialValues(Nifty nifty,
Screen screen) |
void |
ElementType.translateSpecialValues(Nifty nifty,
Screen screen) |
Modifier and Type | Class and Description |
---|---|
class |
NullScreen |
Modifier and Type | Method and Description |
---|---|
void |
DefaultScreenController.bind(Nifty nifty,
Screen screen) |
void |
ScreenController.bind(Nifty nifty,
Screen screen)
Bind this ScreenController to a screen.
|
void |
NullScreenController.bind(Nifty nifty,
Screen screen)
bind.
|
Constructor and Description |
---|
TargetElementResolver(Screen screen,
Element baseElement) |
Copyright © 2013. All Rights Reserved.