31 lines
987 B
Markdown
31 lines
987 B
Markdown
# UIComponent.UIComponent
|
|
|
|
[← UIComponent](index.md) · [← Master](../../wiki.md)
|
|
|
|
UIComponent()
|
|
|
|
Method Summary
|
|
All Methods Instance Methods Abstract Methods Concrete Methods
|
|
|
|
Modifier and Type Method and Description
|
|
UIComponent anchor(float anchor)
|
|
|
|
Set horizontal and vertical alignment anchor.
|
|
UIComponent anchor(float anchorX, float anchorY)
|
|
|
|
Set horizontal and vertical alignment anchor.
|
|
UIComponent anchorX(float anchor)
|
|
|
|
Set horizontal alignment anchor.
|
|
UIComponent anchorY(float anchor)
|
|
|
|
Set vertical alignment anchor.
|
|
protected GuiElement apply(GuiElement element, UIContext context)
|
|
protected GuiElement applyKeybinds(GuiElement element, UIContext context)
|
|
protected void applyProperty(UIContext context, java.lang.String key, GuiElement element)
|
|
protected void change(java.lang.String... properties)
|
|
void clearChanges()
|
|
UIComponent context(java.lang.String icon, java.lang.String action, java.lang.String label)
|
|
|
|
Add a context menu item.
|