Package | Description |
---|---|
de.lessvoid.nifty.elements | |
de.lessvoid.nifty.elements.render | |
de.lessvoid.nifty.layout | |
de.lessvoid.nifty.layout.align | |
de.lessvoid.nifty.loaderv2.types.apply |
Modifier and Type | Method and Description |
---|---|
HorizontalAlign |
Element.getConstraintHorizontalAlign()
get current horizontal align.
|
Modifier and Type | Method and Description |
---|---|
void |
Element.setConstraintHorizontalAlign(HorizontalAlign newHorizontalAlign)
set new horizontal align.
|
Modifier and Type | Method and Description |
---|---|
HorizontalAlign |
TextRenderer.getTextHAlign() |
Modifier and Type | Method and Description |
---|---|
protected static int |
TextRenderer.getStartXWithHorizontalAlign(int textWidth,
int elementWidth,
HorizontalAlign horizontalAlign)
Get start x for text rendering given the textWidth and the elementWidth.
|
void |
TextRenderer.setTextHAlign(HorizontalAlign newTextHAlign)
set text horizontal alignment.
|
Modifier and Type | Method and Description |
---|---|
HorizontalAlign |
BoxConstraints.getHorizontalAlign()
Get the current horizontal align.
|
Modifier and Type | Method and Description |
---|---|
void |
BoxConstraints.setHorizontalAlign(HorizontalAlign newHorizontalAlign)
Set a new horizontal align.
|
Constructor and Description |
---|
BoxConstraints(SizeValue newX,
SizeValue newY,
SizeValue newWidth,
SizeValue newHeight,
HorizontalAlign newHorizontalAlign,
VerticalAlign newVerticalAlign)
create new BoxConstraints.
|
Modifier and Type | Method and Description |
---|---|
static HorizontalAlign |
HorizontalAlign.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HorizontalAlign[] |
HorizontalAlign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
static HorizontalAlign |
Convert.DEFAULT_HORIZONTAL_ALIGN |
static HorizontalAlign |
Convert.DEFAULT_TEXT_HORIZONTAL_ALIGN |
Modifier and Type | Method and Description |
---|---|
HorizontalAlign |
Convert.horizontalAlign(String value) |
HorizontalAlign |
Convert.textHorizontalAlign(String value) |
Copyright © 2013. All Rights Reserved.