UIRect
Complete API reference for UIRect, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIRect extends Component
Constructors
| Signature | Description |
|---|---|
UIRect() | Creates a new instance of UIRect. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
autoSH | boolean | set | Virtual attribute exposed by setAutoSH. Access it like a field to read or write the underlying value. |
autoSW | boolean | set | Virtual attribute exposed by setAutoSW. Access it like a field to read or write the underlying value. |
marginBottom | int | get/set | Virtual attribute exposed by getMarginBottom. Access it like a field to read or write the underlying value. |
marginLeft | int | get/set | Virtual attribute exposed by getMarginLeft. Access it like a field to read or write the underlying value. |
marginRight | int | get/set | Virtual attribute exposed by getMarginRight. Access it like a field to read or write the underlying value. |
marginTop | int | get/set | Virtual attribute exposed by getMarginTop. Access it like a field to read or write the underlying value. |
paddingBottom | int | get/set | Virtual attribute exposed by getPaddingBottom. Access it like a field to read or write the underlying value. |
paddingLeft | int | get/set | Virtual attribute exposed by getPaddingLeft. Access it like a field to read or write the underlying value. |
paddingRight | int | get/set | Virtual attribute exposed by getPaddingRight. Access it like a field to read or write the underlying value. |
paddingTop | int | get/set | Virtual attribute exposed by getPaddingTop. Access it like a field to read or write the underlying value. |
position | Point2 | get | Virtual attribute exposed by getPosition. Access it like a field to read or write the underlying value. |
positionX | int | get/set | Virtual attribute exposed by getPositionX. Access it like a field to read or write the underlying value. |
positionY | int | get/set | Virtual attribute exposed by getPositionY. Access it like a field to read or write the underlying value. |
size | Point2 | get | Virtual attribute exposed by getSize. Access it like a field to read or write the underlying value. |
sizeX | int | get/set | Virtual attribute exposed by getSizeX. Access it like a field to read or write the underlying value. |
sizeY | int | get/set | Virtual attribute exposed by getSizeY. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
getScreenWidth() | int | Returns the current screenWidth value. |
getScreenHeight() | int | Returns the current screenHeight value. |
getScreenPositionX() | int | Returns the current screenPositionX value. |
getScreenPositionY() | int | Returns the current screenPositionY value. |
getMarginBottom() | int | Returns the current marginBottom value. |
getMarginLeft() | int | Returns the current marginLeft value. |
getMarginRight() | int | Returns the current marginRight value. |
getMarginTop() | int | Returns the current marginTop value. |
getPaddingBottom() | int | Returns the current paddingBottom value. |
getPaddingLeft() | int | Returns the current paddingLeft value. |
getPaddingRight() | int | Returns the current paddingRight value. |
getPaddingTop() | int | Returns the current paddingTop value. |
getPosition() | Point2 | Returns the current position value. |
getPositionX() | int | Returns the current positionX value. |
getPositionY() | int | Returns the current positionY value. |
getSize() | Point2 | Returns the current size value. |
getSizeX() | int | Returns the current sizeX value. |
getSizeY() | int | Returns the current sizeY value. |
isAutoSH() | boolean | Returns whether autoSH is true. |
isAutoSW() | boolean | Returns whether autoSW is true. |
setAutoSH(boolean) | void | Sets autoSH. |
setAutoSW(boolean) | void | Sets autoSW. |
setMarginBottom(int) | void | Sets marginBottom. |
setMarginLeft(int) | void | Sets marginLeft. |
setMarginRight(int) | void | Sets marginRight. |
setMarginTop(int) | void | Sets marginTop. |
setPaddingBottom(int) | void | Sets paddingBottom. |
setPaddingLeft(int) | void | Sets paddingLeft. |
setPaddingRight(int) | void | Sets paddingRight. |
setPaddingTop(int) | void | Sets paddingTop. |
setPosition(int, int) | void | Sets position. |
setPositionX(int) | void | Sets positionX. |
setPositionY(int) | void | Sets positionY. |
setSize(int, int) | void | Sets size. |
setSizeX(int) | void | Sets sizeX. |
setSizeY(int) | void | Sets sizeY. |