Modifier and Type | Method and Description |
---|---|
Element |
Nifty.createElementFromType(Screen screen,
Element parent,
ElementType type) |
Element |
Nifty.createPopup(String popupId) |
Element |
Nifty.createPopupWithId(String popupId,
String id) |
Element |
Nifty.createPopupWithStyle(String popupId,
String style) |
Element |
Nifty.createPopupWithStyle(String popupId,
String style,
Attributes parameters) |
Element |
Nifty.createPopupWithStyle(String popupId,
String id,
String style) |
Element |
Nifty.findPopupByName(String id) |
Element |
Nifty.getTopMostPopup() |
Modifier and Type | Method and Description |
---|---|
void |
Nifty.addControl(Screen screen,
Element element,
StandardControl standardControl) |
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.
|
Constructor and Description |
---|
Nifty.ElementMoveAction(Element destinationElement) |
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 |
---|---|
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 |
---|---|
Element |
StandardControl.createControl(Nifty nifty,
Screen screen,
Element parent) |
Element |
FocusHandler.findElement(String defaultFocusElementId) |
Element |
AbstractController.getElement() |
Element |
NiftyControl.getElement()
Get the attached internal Nifty element for this Nifty control.
|
Element |
FocusHandler.getFirstFocusElement()
get first entry.
|
Element |
FocusHandler.getKeyboardFocusElement() |
Element |
FocusHandler.getMouseFocusElement() |
Element |
FocusHandler.getNext(Element current)
get next element.
|
Element |
FocusHandler.getPrev(Element current)
get prev element.
|
Modifier and Type | Method and Description |
---|---|
void |
FocusHandler.addElement(Element element)
add the given element to the focushandler (as the last element).
|
void |
FocusHandler.addElement(Element element,
Element focusableInsertBeforeElement)
add an element to the focus handler.
|
protected void |
AbstractController.bind(Element element) |
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) |
boolean |
FocusHandler.canProcessMouseEvents(Element element) |
Element |
StandardControl.createControl(Nifty nifty,
Screen screen,
Element parent) |
Element |
FocusHandler.getNext(Element current)
get next element.
|
Element |
FocusHandler.getPrev(Element current)
get prev element.
|
boolean |
FocusHandler.hasExclusiveMouseFocus(Element element) |
void |
FocusHandler.lostKeyboardFocus(Element elementThatLostFocus) |
void |
FocusHandler.lostMouseFocus(Element elementThatLostFocus) |
void |
FocusHandler.remove(Element element)
remove this element.
|
void |
FocusHandler.requestExclusiveMouseFocus(Element newFocusElement) |
void |
FocusHandler.setKeyFocus(Element newFocusElement)
set the focus to the given element.
|
Constructor and Description |
---|
NextPrevHelper(Element elementParam,
FocusHandler focusHandlerParam) |
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 |
---|---|
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 |
---|---|
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 |
EffectImpl.activate(Nifty nifty,
Element element,
EffectProperties parameter)
initialize effect.
|
void |
EffectManager.begin(NiftyRenderEngine renderDevice,
Element element)
prepare rendering.
|
void |
EffectImpl.execute(Element element,
float effectTime,
Falloff falloff,
NiftyRenderEngine r)
execute the effect.
|
void |
EffectManager.handleHover(Element element,
int x,
int y)
handle mouse hover effects.
|
void |
EffectManager.handleHoverDeactivate(Element element,
int x,
int y) |
void |
EffectManager.handleHoverStartAndEnd(Element element,
int x,
int y) |
void |
Effect.init(Element elementParam,
EffectImpl effectImplParam,
EffectProperties parameterParam,
TimeProvider timeParam,
LinkedList<Object> controllers) |
boolean |
Falloff.isInside(Element widget,
int x,
int y) |
void |
EffectManager.renderOverlay(NiftyRenderEngine renderEngine,
Element element) |
void |
EffectManager.renderPost(NiftyRenderEngine renderEngine,
Element element) |
void |
EffectManager.renderPre(NiftyRenderEngine renderEngine,
Element element) |
void |
EffectManager.startEffect(EffectEventId id,
Element w,
TimeProvider time,
EndNotify listener)
start all effects with the given id for the given element.
|
void |
EffectManager.startEffect(EffectEventId id,
Element w,
TimeProvider time,
EndNotify listener,
String customKey) |
void |
Falloff.updateFalloffValue(Element element,
int mouseX,
int mouseY)
calc falloff diszance.
|
Modifier and Type | Method and Description |
---|---|
void |
FadeMusic.activate(Nifty niftyParam,
Element element,
EffectProperties parameter) |
void |
RenderQuad.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ChangeMouseCursor.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Nop.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
SimpleHint.activate(Nifty niftyParam,
Element element,
EffectProperties parameter)
initialize.
|
void |
Hint.activate(Nifty niftyParam,
Element element,
EffectProperties parameter) |
void |
ImageOverlay.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ImageSizePulsate.activate(Nifty nifty,
Element element,
EffectProperties parameter)
initialize.
|
void |
Move.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ImageOverlayPulsate.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Pulsate.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Remote.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
RenderElement.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
RestoreState.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
FadeSound.activate(Nifty niftyParam,
Element element,
EffectProperties parameter) |
void |
AlphaHide.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ColorBar.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
TextSizePulsate.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ChangeImage.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
BlendMode.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
FollowMouse.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
TextColor.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Show.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Fade.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Hide.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
TextSize.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Clip.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Border.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ChangeFont.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ImageSize.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
TextColorAnimated.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Shake.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
AutoScroll.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Focus.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
PlaySound.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
SaveState.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
Gradient.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
ColorPulsate.activate(Nifty nifty,
Element element,
EffectProperties parameter) |
void |
FadeMusic.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
RenderQuad.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ChangeMouseCursor.execute(Element element,
float effectTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Nop.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
SimpleHint.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r)
execute the effect.
|
void |
Hint.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ImageOverlay.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ImageSizePulsate.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r)
execute the effect.
|
void |
Move.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ImageOverlayPulsate.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Pulsate.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Remote.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
RenderElement.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
RestoreState.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
FadeSound.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
AlphaHide.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ColorBar.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
TextSizePulsate.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ChangeImage.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
BlendMode.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
FollowMouse.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
TextColor.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Show.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Fade.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Hide.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
TextSize.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Clip.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Border.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ChangeFont.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ImageSize.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
TextColorAnimated.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Shake.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
AutoScroll.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Focus.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
PlaySound.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
SaveState.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
Gradient.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
void |
ColorPulsate.execute(Element element,
float normalizedTime,
Falloff falloff,
NiftyRenderEngine r) |
Modifier and Type | Field and Description |
---|---|
protected Element |
MouseClickMethods.element |
Modifier and Type | Method and Description |
---|---|
Element |
Element.findElementByName(String name)
find an element by name.
|
Element |
Element.getParent()
get parent.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
Element.getElements()
get all child elements of this element.
|
Modifier and Type | Method and Description |
---|---|
void |
Element.add(Element widget)
add a child element.
|
void |
Element.markForMove(Element destination) |
void |
Element.markForMove(Element destination,
EndNotify endNotify) |
boolean |
ElementInteraction.onMouseOver(Element element,
NiftyMouseInputEvent inputEvent) |
boolean |
ElementInteraction.onMouseWheel(Element element,
NiftyMouseInputEvent inputEvent) |
void |
Element.setParent(Element element) |
Constructor and Description |
---|
Element(Nifty newNifty,
ElementType newElementType,
String newId,
Element newParent,
FocusHandler newFocusHandler,
boolean newVisibleToMouseEvents,
TimeProvider newTimeProvider,
ElementRenderer... newElementRenderer)
construct new instance of Element.
|
Element(Nifty newNifty,
ElementType newElementType,
String newId,
Element newParent,
LayoutPart newLayoutPart,
FocusHandler newFocusHandler,
boolean newVisibleToMouseEvents,
TimeProvider newTimeProvider,
ElementRenderer... newElementRenderer)
construct new instance of Element using the given layoutPart instance.
|
ElementInteraction(Nifty niftyParam,
Element element) |
ElementInteractionClickHandler(Nifty nifty,
Element element,
MouseClickMethods mouseMethods) |
ElementInteractionMoveHandler(Nifty nifty,
Element element) |
MouseClickMethods(Element element) |
PrimaryClickMouseMethods(Element element) |
SecondaryClickMouseMethods(Element element) |
TertiaryClickMouseMethods(Element element) |
Modifier and Type | Method and Description |
---|---|
Element |
ElementEnableEvent.getElement() |
Element |
ElementHideEvent.getElement() |
Element |
NiftyMouseWheelEvent.getElement() |
Element |
NiftyMouseEvent.getElement() |
Element |
NiftyMouseBaseEvent.getElement() |
Element |
ElementDisableEvent.getElement() |
Element |
ElementShowEvent.getElement() |
Element |
NiftyMouseMovedEvent.getElement() |
Modifier and Type | Method and Description |
---|---|
void |
ImageRenderer.render(Element element,
NiftyRenderEngine r)
render it.
|
void |
TextRenderer.render(Element w,
NiftyRenderEngine r)
render the stuff.
|
void |
PanelRenderer.render(Element element,
NiftyRenderEngine r)
render it.
|
void |
ElementRenderer.render(Element w,
NiftyRenderEngine r)
render the element.
|
void |
TextRenderer.resetLayout(Element element) |
void |
TextRenderer.setWidthConstraint(Element element,
SizeValue elementConstraintWidth,
int parentWidth,
NiftyRenderEngine renderEngine) |
Modifier and Type | Method and Description |
---|---|
Element |
RootLayerFactory.createRootLayer(String id,
Nifty nifty,
Screen screen,
TimeProvider time) |
Modifier and Type | Method and Description |
---|---|
Element |
ElementType.create(Element parent,
Nifty nifty,
Screen screen,
LayoutPart layoutPart) |
Modifier and Type | Method and Description |
---|---|
void |
ElementType.applyAttributes(Element element,
Attributes work,
NiftyRenderEngine renderEngine) |
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) |
void |
ElementType.applyPostAttributes(Element element,
Attributes work,
NiftyRenderEngine renderEngine) |
void |
ElementType.connectParentControls(Element parent)
usually when elements (incl.
|
Element |
ElementType.create(Element parent,
Nifty nifty,
Screen screen,
LayoutPart layoutPart) |
void |
EffectType.materialize(Nifty nifty,
Element element,
EffectEventId effectEventId,
Attributes effectsTypeAttibutes,
LinkedList<Object> controllers) |
void |
InteractType.materialize(Nifty nifty,
Element element,
Object... controller) |
void |
EffectsType.materialize(Nifty nifty,
Element element,
Screen screen,
LinkedList<Object> controllers) |
void |
ElementType.refreshAttributes(Nifty nifty,
Screen screen,
Element element,
ControlAttributes attributes) |
Modifier and Type | Method and Description |
---|---|
void |
ApplyRenderText.apply(Element element,
Attributes attributes,
NiftyRenderEngine renderEngine) |
void |
ApplyRendererPanel.apply(Element element,
Attributes attributes,
NiftyRenderEngine renderEngine) |
void |
ApplyRendererImage.apply(Element element,
Attributes attributes,
NiftyRenderEngine renderEngine) |
void |
ApplyRenderer.apply(Element element,
Attributes attributes,
NiftyRenderEngine renderEngine) |
Modifier and Type | Method and Description |
---|---|
Element |
Screen.findElementByName(String name)
find an element by name.
|
Element |
Screen.getRootElement()
Get RootElement.
|
Element |
Screen.getTopMostPopup() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
Screen.getLayerElements() |
Modifier and Type | Method and Description |
---|---|
void |
Screen.addLayerElement(Element layerElement) |
void |
MouseOverHandler.addMouseElement(Element element) |
void |
MouseOverHandler.addMouseOverElement(Element element)
Add Element.
|
void |
Screen.addPopup(Element popup,
Element defaultFocusElement) |
void |
Screen.closePopup(Element popup,
EndNotify closeNotify) |
boolean |
Screen.isActivePopup(Element element) |
String |
Screen.outputElement(Element w,
String offset,
String regexpElement,
String regexpAttribute) |
void |
MouseOverHandler.processMouseOverEvent(Element rootElement,
NiftyMouseInputEvent mouseEvent,
long eventTime) |
void |
Screen.removeLayerElement(Element layerElement) |
void |
Screen.setRootElement(Element rootElementParam)
Set RootElement.
|
Constructor and Description |
---|
Screen.ElementWithEndNotify(Element element,
EndNotify closeNotify) |
Modifier and Type | Method and Description |
---|---|
Element |
TargetElementResolver.resolve(String id) |
Constructor and Description |
---|
TargetElementResolver(Screen screen,
Element baseElement) |
Copyright © 2013. All Rights Reserved.