# UIComponent.y [← UIComponent](index.md) · [← Master](../../wiki.md) Parça 1/7 · [sonraki](y-2.md) y(int value) UIComponent Set Y in pixels relative to parent component. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Field Detail DELAY public static final int DELAY See Also: Constant Field Values id public java.lang.String id tooltip public java.lang.String tooltip visible public boolean visible enabled public boolean enabled tooltipDirection public int tooltipDirection marginTop public int marginTop marginBottom public int marginBottom marginLeft public int marginLeft marginRight public int marginRight x public UIUnit x y public UIUnit y w public UIUnit w h public UIUnit h updateDelay public int updateDelay keybinds public java.util.List keybinds context public java.util.List context changedProperties protected java.util.Set changedProperties Constructor Detail UIComponent public UIComponent() Method Detail id public UIComponent id(java.lang.String id) Set the ID of the component. Without ID, the data that can be inputted by players won't be sent into the script handler, so it is required to set component's ID if you want to receive the data from the component. BEWARE: multiple components must not share same ID, if they will it will certainly cause bugs in the data that you'll be receiving from the client and the way you retrieve components using IMappetUIContext.get(String). tooltip public UIComponent tooltip(java.lang.String tooltip) Set a tooltip that will be displayed at the bottom of component's frame. tooltip public UIComponent tooltip(java.lang.String tooltip, int direction)