LuaComponent
Complete API reference for LuaComponent, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Lua
Component: yes
public class LuaComponent extends Component
Constructors
| Signature | Description |
|---|---|
LuaComponent(LuaComponent) | Executes LuaComponent and returns after the underlying engine call finishes. |
LuaComponent(Engine) | Executes LuaComponent and returns after the underlying engine call finishes. |
LuaComponent() | Creates a new instance of LuaComponent. |
Attributes
| Name | Type | Description |
|---|---|---|
instance | LuaComponent | Represents the instance value stored on this instance. Read or assign to update the property. |
Methods
| Signature | Returns | Description |
|---|---|---|
get(String) | LuaValue | Returns the current value. |
set(String, LuaValue) | void | Sets or updates the the value. |
set(String, float) | void | Sets or updates the the value. |
set(String, double) | void | Sets or updates the the value. |
set(String, int) | void | Sets or updates the the value. |
set(String, long) | void | Sets or updates the the value. |
set(String, String) | void | Sets or updates the the value. |
set(String, boolean) | void | Sets or updates the the value. |
getFloat(String) | float | Returns the current float. |
getDouble(String) | double | Returns the current double. |
getInt(String) | float | Returns the current int. |
getLong(String) | long | Returns the current long. |
getString(String) | String | Returns the current string. |
getBoolean(String) | boolean | Returns the current boolean. |
getVar(String) | ValueObject | Returns the current var. |
setVar(String, ValueObject) | void | Sets or updates the var. |
setFloat(String, float) | void | Sets or updates the float. |
setDouble(String, double) | void | Sets or updates the double. |
setInt(String, int) | void | Sets or updates the int. |
setLong(String, long) | void | Sets or updates the long. |
setString(String, String) | void | Sets or updates the string. |
setBoolean(String, boolean) | void | Sets or updates the boolean. |
call(String) | void | Performs the call operation using the provided parameters (name). |
call(String, int) | void | Performs the call operation using the provided parameters (name, args). |
call(String, float) | void | Performs the call operation using the provided parameters (name, args). |
call(String, String) | void | Performs the call operation using the provided parameters (name, args). |
call(String, boolean) | void | Performs the call operation using the provided parameters (name, args). |
call(String, Object...) | void | Performs the call operation using the provided parameters (name, args). |