Files

56 lines
1.2 KiB
Markdown

# UIComponent — giriş
[← UIComponent](index.md) · [← Master](../../wiki.md)
mchorse.mappet.api.ui.components
Class UIComponent
java.lang.Object
mchorse.mappet.api.ui.components.UIComponent
Direct Known Subclasses:
UIClickComponent, UIGraphicsComponent, UIIconButtonComponent, UILabelBaseComponent,
UIMorphComponent, UIParentComponent, UIStackComponent, UIStringListComponent,
UITrackpadComponent
public abstract class UIComponent
extends java.lang.Object
Base UI component.
Every UI component in UI API is based off this base component, and therefore they have all of the methods
available for changing ID, margins, frame (x, y, width, and height), tooltip, visibility, enabled, keybinds and update
delay.
Field Summary
Fields
Modifier and Type Field and Description
protected java.util.Set<java.lang.String> changedProperties
java.util.List<UIContextItem> context
static int DELAY
boolean enabled
UIUnit h
java.lang.String id
java.util.List<UIKeybind> keybinds
int marginBottom
int marginLeft
int marginRight
int marginTop
java.lang.String tooltip
int tooltipDirection
int updateDelay
boolean visible
UIUnit w
UIUnit x
UIUnit y
Constructor Summary
Constructors
Constructor and Description