Widget |
Widget.createChild(int type) |
Creates a dynamic widget child at the end of the children list
|
Widget |
Widget.createChild(int index,
int type) |
Creates a dynamic widget child
|
Widget |
Widget.getChild(int index) |
Gets a dynamic child by index
|
Widget[] |
Widget.getChildren() |
Gets the dynamic children of this widget in a sparse array
|
Widget |
Widget.getDragParent() |
Container this can be dragged in
|
Widget[] |
Widget.getDynamicChildren() |
Gets all dynamic children.
|
Widget[] |
Widget.getNestedChildren() |
Gets all nested children.
|
Widget |
Widget.getParent() |
Gets the parent widget, if this widget is a child.
|
Widget[] |
Widget.getStaticChildren() |
Gets all static children.
|
Widget |
WidgetItem.getWidget() |
The widget which contains this item.
|
Widget |
Widget.setAnimationId(int animationId) |
Sets the sequence ID used to animate the model in the widget
|
Widget |
Widget.setClickMask(int mask) |
Sets the click configuration of the widget.
|
Widget |
Widget.setContentType(int contentType) |
Sets the type of content displayed by the widget.
|
Widget |
Widget.setDragParent(Widget dragParent) |
Container this can be dragged in
|
Widget |
Widget.setFilled(boolean filled) |
Sets if the rectangle is filled or just stroked
|
Widget |
Widget.setFontId(int id) |
Sets the archive id of the font
|
Widget |
Widget.setHasListener(boolean hasListener) |
Sets if the widget has any listeners.
|
Widget |
Widget.setHeightMode(int heightMode) |
Sets the mode controlling widget width.
|
Widget |
Widget.setHidden(boolean hidden) |
Sets the self-hidden state of this widget.
|
Widget |
Widget.setItemId(int itemId) |
Sets the item ID displayed by the widget.
|
Widget |
Widget.setItemQuantity(int quantity) |
Sets the item quantity displayed by the widget.
|
Widget |
Widget.setItemQuantityMode(int itemQuantityMode) |
|
Widget |
Widget.setLineHeight(int lineHeight) |
Set the line height for this widget.
|
Widget |
Widget.setModelId(int id) |
Sets the Model/NPC/Item ID displayed in the widget.
|
Widget |
Widget.setModelType(int type) |
Sets the model type of the widget.
|
Widget |
Widget.setModelZoom(int modelZoom) |
Sets the amount zoomed in on the model displayed in the widget.
|
Widget |
Widget.setName(String name) |
Sets the name of the widget.
|
Widget |
Widget.setOpacity(int transparency) |
Sets the transparency of the rectangle
|
Widget |
Widget.setOriginalHeight(int originalHeight) |
|
Widget |
Widget.setOriginalWidth(int originalWidth) |
|
Widget |
Widget.setOriginalX(int originalX) |
|
Widget |
Widget.setOriginalY(int originalY) |
|
Widget |
Widget.setPos(int x,
int y) |
Sets the X/Y coordinates
|
Widget |
Widget.setPos(int x,
int y,
int xMode,
int yMode) |
|
Widget |
Widget.setRotationX(@org.jetbrains.annotations.Range(from=0L, to=2047L) int modelX) |
Sets the x rotation of the model displayed in the widget.
|
Widget |
Widget.setRotationY(@org.jetbrains.annotations.Range(from=0L, to=2047L) int modelY) |
Sets the y rotation of the model displayed in the widget.
|
Widget |
Widget.setRotationZ(@org.jetbrains.annotations.Range(from=0L, to=2047L) int modelZ) |
Sets the z rotation of the model displayed in the widget.
|
Widget |
Widget.setScrollHeight(int height) |
Sets the size of the widget's viewport in the Y axis
|
Widget |
Widget.setScrollWidth(int width) |
Sets the size of the widget's viewport in the X axis
|
Widget |
Widget.setScrollX(int scrollX) |
Sets the amount of pixels the widget is scrolled in the X axis
|
Widget |
Widget.setScrollY(int scrollY) |
sets the amount of pixels the widget is scrolled in the Y axis
|
Widget |
Widget.setSize(int width,
int height) |
|
Widget |
Widget.setSize(int width,
int height,
int widthMode,
int heightMode) |
|
Widget |
Widget.setSpriteId(int spriteId) |
Sets the sprite ID displayed in the widget.
|
Widget |
Widget.setSpriteTiling(boolean tiling) |
Sets if sprites are repeated or stretched
|
Widget |
Widget.setText(String text) |
Sets the text displayed on this widget.
|
Widget |
Widget.setTextColor(int textColor) |
Sets the RGB color of the displayed text or rectangle.
|
Widget |
Widget.setTextShadowed(boolean shadowed) |
Sets if text should be shadowed
|
Widget |
Widget.setWidthMode(int widthMode) |
Sets the mode controlling widget width.
|
Widget |
Widget.setXPositionMode(int xpm) |
Sets the mode that the X position is calculated from the original X position.
|
Widget |
Widget.setXTextAlignment(int xta) |
Sets the X axis text position mode
|
Widget |
Widget.setYPositionMode(int ypm) |
Sets the mode that the Y position is calculated from the original Y position.
|
Widget |
Widget.setYTextAlignment(int yta) |
Sets the Y axis text position mode
|