Files

77 lines
1.9 KiB
Markdown

# UITrackpadComponent.limit
[← UITrackpadComponent](index.md) · [← Master](../../wiki.md)
Parça 1/3 · [sonraki](limit-2.md)
limit(double min, double max)
UITrackpadComponent Convenience method that allows to set minimum and maximum, i.e. value range, that this
trackpad field can accept.
---
limit(double min, double max, boolean integer)
UITrackpadComponent Convenience method that allows to set minimum, maximum, and integer options that this
trackpad field can accept.
UITrackpadComponent max(double max)
Set the maximum that this trackpad component can let the user pick.
UITrackpadComponent min(double min)
Set the minimum that this trackpad component can let the user pick.
void populateData(NBTTagCompound tag)
void serializeNBT(NBTTagCompound tag)
UITrackpadComponent value(double value)
Set the value that of trackpad component.
Methods inherited from class mchorse.mappet.api.ui.components.UIComponent
anchor, anchor, anchorX, anchorY, apply, applyKeybinds, change, clearChanges, context, context, createContext,
enabled, getChanges, getChildComponents, h, handleChanges, id, isDataReserved, keybind, keybind, keybind,
keybind, margin, marginBottom, marginLeft, marginRight, marginTop, resetContext, rh, rh, rw, rw, rwh, rx, rx,
rxy, ry, ry, serializeNBT, tooltip, tooltip, updateDelay, visible, w, wh, x, xy, y
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
value
public java.lang.Double value
min
public java.lang.Double min
max
public java.lang.Double max
integer
public boolean integer
normal
public java.lang.Double normal
weak
public java.lang.Double weak
strong
public java.lang.Double strong
increment
public java.lang.Double increment
Constructor Detail