Modifier and Type | Method and Description |
---|---|
Element |
Nifty.createElementFromType(Screen screen,
Element parent,
ElementType type) |
Modifier and Type | Method and Description |
---|---|
ElementType |
ElementBuilder.buildElementType()
This method is called whenever we need the ElementType instead of a real
Element instance.
|
Modifier and Type | Method and Description |
---|---|
ElementType |
LayerCreator.createType() |
ElementType |
CustomControlCreator.createType() |
ElementType |
ImageCreator.createType() |
ElementType |
PopupCreator.createType() |
ElementType |
PanelCreator.createType() |
ElementType |
ControlDefinitionCreator.createType() |
ElementType |
TextCreator.createType() |
Modifier and Type | Method and Description |
---|---|
ElementType |
ControlAttributes.createType() |
Modifier and Type | Method and Description |
---|---|
void |
ControlAttributes.connect(ElementType e) |
Modifier and Type | Method and Description |
---|---|
ElementType |
Element.getElementType()
get element type.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ControlDefinitionType |
class |
ControlType |
class |
ImageType |
class |
LayerType |
class |
PanelType |
class |
PopupType |
class |
TextType |
Modifier and Type | Field and Description |
---|---|
protected List<ElementType> |
ElementType.elements |
Modifier and Type | Method and Description |
---|---|
ElementType |
ElementType.copy() |
ElementType |
ControlType.copy() |
ElementType |
ControlDefinitionType.copy() |
ElementType |
ImageType.copy() |
ElementType |
ControlDefinitionType.getControlElementType() |
ElementType |
ElementType.getFirstElement() |
Modifier and Type | Method and Description |
---|---|
Collection<ElementType> |
ElementType.getElements() |
Modifier and Type | Method and Description |
---|---|
void |
ElementType.addControl(ElementType text) |
void |
ElementType.addElementType(ElementType type) |
void |
ElementType.addImage(ElementType image) |
void |
ElementType.addLabel(ElementType label) |
void |
ElementType.addPanel(ElementType panel) |
void |
ElementType.addText(ElementType text) |
void |
StyleType.applyTo(ElementType elementType,
StyleResolver styleResolver) |
void |
ElementType.prepare(Nifty nifty,
Screen screen,
ElementType rootElementType) |
Constructor and Description |
---|
ElementType(ElementType src) |
Copyright © 2013. All Rights Reserved.