Package net.zxmushroom63.plugins
Class BaseData
- java.lang.Object
-
- net.zxmushroom63.plugins.BaseData
-
- All Implemented Interfaces:
org.teavm.jso.JSObject
- Direct Known Subclasses:
PluginData
public abstract class BaseData extends java.lang.Object implements org.teavm.jso.JSObject
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description BaseData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseData
execFuncBaseData(java.lang.String key)
org.teavm.jso.JSObject
execFuncObject(java.lang.String key)
java.lang.String
execFuncString(java.lang.String key)
BaseData
getBaseData(java.lang.String key)
BaseData[]
getBaseDataArr(java.lang.String key)
boolean
getBoolean(java.lang.String key)
boolean[]
getBooleanArr(java.lang.String key)
byte
getByte(java.lang.String key)
byte[]
getByteArr(java.lang.String key)
char
getChar(java.lang.String key)
char[]
getCharArr(java.lang.String key)
double
getDouble(java.lang.String key)
double[]
getDoubleArr(java.lang.String key)
float
getFloat(java.lang.String key)
float[]
getFloatArr(java.lang.String key)
int
getInt(java.lang.String key)
int[]
getIntArr(java.lang.String key)
org.teavm.jso.JSObject
getObject(java.lang.String key)
org.teavm.jso.JSObject[]
getObjectArr(java.lang.String key)
short
getShort(java.lang.String key)
short[]
getShortArr(java.lang.String key)
java.lang.String
getString(java.lang.String key)
java.lang.String[]
getStringArr(java.lang.String key)
boolean
has(java.lang.String key)
void
set(java.lang.String key, boolean value)
void
set(java.lang.String key, boolean[] value)
void
set(java.lang.String key, byte value)
void
set(java.lang.String key, byte[] value)
void
set(java.lang.String key, char value)
void
set(java.lang.String key, char[] value)
void
set(java.lang.String key, double value)
void
set(java.lang.String key, double[] value)
void
set(java.lang.String key, float value)
void
set(java.lang.String key, float[] value)
void
set(java.lang.String key, int value)
void
set(java.lang.String key, int[] value)
void
set(java.lang.String key, short value)
void
set(java.lang.String key, short[] value)
void
set(java.lang.String key, java.lang.String value)
void
set(java.lang.String key, java.lang.String[] value)
void
set(java.lang.String key, BaseData value)
void
set(java.lang.String key, BaseData[] value)
void
set(java.lang.String key, org.teavm.jso.JSObject value)
void
set(java.lang.String key, org.teavm.jso.JSObject[] value)
void
setCallbackBoolean(java.lang.String key, BaseData.BooleanCallback value)
void
setCallbackBooleanArr(java.lang.String key, BaseData.BooleanCallbackArr value)
void
setCallbackBooleanArrWithDataArg(java.lang.String key, BaseData.DataBooleanCallbackArr value)
void
setCallbackBooleanWithDataArg(java.lang.String key, BaseData.DataBooleanCallback value)
void
setCallbackDouble(java.lang.String key, BaseData.DoubleCallback value)
void
setCallbackDoubleArr(java.lang.String key, BaseData.DoubleCallbackArr value)
void
setCallbackDoubleArrWithDataArg(java.lang.String key, BaseData.DataDoubleCallbackArr value)
void
setCallbackDoubleWithDataArg(java.lang.String key, BaseData.DataDoubleCallback value)
void
setCallbackFloat(java.lang.String key, BaseData.FloatCallback value)
void
setCallbackFloatArr(java.lang.String key, BaseData.FloatCallbackArr value)
void
setCallbackFloatArrWithDataArg(java.lang.String key, BaseData.DataFloatCallbackArr value)
void
setCallbackFloatWithDataArg(java.lang.String key, BaseData.DataFloatCallback value)
void
setCallbackInt(java.lang.String key, BaseData.IntCallback value)
void
setCallbackIntArr(java.lang.String key, BaseData.IntCallbackArr value)
void
setCallbackIntArrWithDataArg(java.lang.String key, BaseData.DataIntCallbackArr value)
void
setCallbackIntWithDataArg(java.lang.String key, BaseData.DataIntCallback value)
void
setCallbackObject(java.lang.String key, BaseData.ObjectCallback value)
void
setCallbackObjectArr(java.lang.String key, BaseData.ObjectCallbackArr value)
void
setCallbackObjectArrWithDataArg(java.lang.String key, BaseData.DataObjectCallbackArr value)
void
setCallbackObjectWithDataArg(java.lang.String key, BaseData.DataObjectCallback value)
void
setCallbackString(java.lang.String key, BaseData.StringCallback value)
void
setCallbackStringArr(java.lang.String key, BaseData.StringCallbackArr value)
void
setCallbackStringArrWithDataArg(java.lang.String key, BaseData.DataStringCallbackArr value)
void
setCallbackStringWithDataArg(java.lang.String key, BaseData.DataStringCallback value)
void
setCallbackVoid(java.lang.String key, BaseData.VoidCallback value)
void
setCallbackVoidWithDataArg(java.lang.String key, BaseData.DataVoidCallback value)
void
setNull(java.lang.String key)
-
-
-
Method Detail
-
set
public void set(java.lang.String key, java.lang.String value)
-
set
public void set(java.lang.String key, int value)
-
set
public void set(java.lang.String key, boolean value)
-
set
public void set(java.lang.String key, float value)
-
set
public void set(java.lang.String key, byte value)
-
set
public void set(java.lang.String key, char value)
-
set
public void set(java.lang.String key, double value)
-
set
public void set(java.lang.String key, org.teavm.jso.JSObject value)
-
set
public void set(java.lang.String key, BaseData value)
-
set
public void set(java.lang.String key, java.lang.String[] value)
-
set
public void set(java.lang.String key, int[] value)
-
set
public void set(java.lang.String key, boolean[] value)
-
set
public void set(java.lang.String key, float[] value)
-
set
public void set(java.lang.String key, byte[] value)
-
set
public void set(java.lang.String key, char[] value)
-
set
public void set(java.lang.String key, double[] value)
-
set
public void set(java.lang.String key, org.teavm.jso.JSObject[] value)
-
set
public void set(java.lang.String key, BaseData[] value)
-
set
public void set(java.lang.String key, short[] value)
-
set
public void set(java.lang.String key, short value)
-
setNull
public void setNull(java.lang.String key)
-
setCallbackVoid
public void setCallbackVoid(java.lang.String key, BaseData.VoidCallback value)
-
setCallbackBoolean
public void setCallbackBoolean(java.lang.String key, BaseData.BooleanCallback value)
-
setCallbackInt
public void setCallbackInt(java.lang.String key, BaseData.IntCallback value)
-
setCallbackString
public void setCallbackString(java.lang.String key, BaseData.StringCallback value)
-
setCallbackDouble
public void setCallbackDouble(java.lang.String key, BaseData.DoubleCallback value)
-
setCallbackFloat
public void setCallbackFloat(java.lang.String key, BaseData.FloatCallback value)
-
setCallbackObject
public void setCallbackObject(java.lang.String key, BaseData.ObjectCallback value)
-
setCallbackBooleanWithDataArg
public void setCallbackBooleanWithDataArg(java.lang.String key, BaseData.DataBooleanCallback value)
-
setCallbackDoubleWithDataArg
public void setCallbackDoubleWithDataArg(java.lang.String key, BaseData.DataDoubleCallback value)
-
setCallbackFloatWithDataArg
public void setCallbackFloatWithDataArg(java.lang.String key, BaseData.DataFloatCallback value)
-
setCallbackIntWithDataArg
public void setCallbackIntWithDataArg(java.lang.String key, BaseData.DataIntCallback value)
-
setCallbackStringWithDataArg
public void setCallbackStringWithDataArg(java.lang.String key, BaseData.DataStringCallback value)
-
setCallbackObjectWithDataArg
public void setCallbackObjectWithDataArg(java.lang.String key, BaseData.DataObjectCallback value)
-
setCallbackVoidWithDataArg
public void setCallbackVoidWithDataArg(java.lang.String key, BaseData.DataVoidCallback value)
-
setCallbackBooleanArrWithDataArg
public void setCallbackBooleanArrWithDataArg(java.lang.String key, BaseData.DataBooleanCallbackArr value)
-
setCallbackDoubleArrWithDataArg
public void setCallbackDoubleArrWithDataArg(java.lang.String key, BaseData.DataDoubleCallbackArr value)
-
setCallbackFloatArrWithDataArg
public void setCallbackFloatArrWithDataArg(java.lang.String key, BaseData.DataFloatCallbackArr value)
-
setCallbackIntArrWithDataArg
public void setCallbackIntArrWithDataArg(java.lang.String key, BaseData.DataIntCallbackArr value)
-
setCallbackStringArrWithDataArg
public void setCallbackStringArrWithDataArg(java.lang.String key, BaseData.DataStringCallbackArr value)
-
setCallbackObjectArrWithDataArg
public void setCallbackObjectArrWithDataArg(java.lang.String key, BaseData.DataObjectCallbackArr value)
-
setCallbackBooleanArr
public void setCallbackBooleanArr(java.lang.String key, BaseData.BooleanCallbackArr value)
-
setCallbackIntArr
public void setCallbackIntArr(java.lang.String key, BaseData.IntCallbackArr value)
-
setCallbackStringArr
public void setCallbackStringArr(java.lang.String key, BaseData.StringCallbackArr value)
-
setCallbackDoubleArr
public void setCallbackDoubleArr(java.lang.String key, BaseData.DoubleCallbackArr value)
-
setCallbackFloatArr
public void setCallbackFloatArr(java.lang.String key, BaseData.FloatCallbackArr value)
-
setCallbackObjectArr
public void setCallbackObjectArr(java.lang.String key, BaseData.ObjectCallbackArr value)
-
getString
public java.lang.String getString(java.lang.String key)
-
getInt
public int getInt(java.lang.String key)
-
getBoolean
public boolean getBoolean(java.lang.String key)
-
getFloat
public float getFloat(java.lang.String key)
-
getByte
public byte getByte(java.lang.String key)
-
getChar
public char getChar(java.lang.String key)
-
getDouble
public double getDouble(java.lang.String key)
-
getObject
public org.teavm.jso.JSObject getObject(java.lang.String key)
-
getBaseData
public BaseData getBaseData(java.lang.String key)
-
getStringArr
public java.lang.String[] getStringArr(java.lang.String key)
-
getIntArr
public int[] getIntArr(java.lang.String key)
-
getShort
public short getShort(java.lang.String key)
-
getShortArr
public short[] getShortArr(java.lang.String key)
-
getBooleanArr
public boolean[] getBooleanArr(java.lang.String key)
-
getFloatArr
public float[] getFloatArr(java.lang.String key)
-
getByteArr
public byte[] getByteArr(java.lang.String key)
-
getCharArr
public char[] getCharArr(java.lang.String key)
-
getDoubleArr
public double[] getDoubleArr(java.lang.String key)
-
getObjectArr
public org.teavm.jso.JSObject[] getObjectArr(java.lang.String key)
-
getBaseDataArr
public BaseData[] getBaseDataArr(java.lang.String key)
-
has
public boolean has(java.lang.String key)
-
execFuncObject
public org.teavm.jso.JSObject execFuncObject(java.lang.String key)
-
execFuncBaseData
public BaseData execFuncBaseData(java.lang.String key)
-
execFuncString
public java.lang.String execFuncString(java.lang.String key)
-
-