org.luaj.lib.j2se
Class LuajavaLib

java.lang.Object
  extended by org.luaj.vm.LValue
      extended by org.luaj.vm.LFunction
          extended by org.luaj.lib.j2se.LuajavaLib

public final class LuajavaLib
extends LFunction


Nested Class Summary
static class LuajavaLib.ParamsList
           
 
Field Summary
 
Fields inherited from class org.luaj.vm.LValue
TM_INDEX, TM_METATABLE, TM_MODE, TM_NEWINDEX
 
Constructor Summary
LuajavaLib()
           
 
Method Summary
static void install(LTable globals)
           
 boolean luaStackCall(LuaState vm)
          Set up a Java invocation, and leave the results on the stack starting at base.
 java.lang.String toString()
          Override standard toString with lua String conversion by default
 
Methods inherited from class org.luaj.vm.LFunction
__index, __newindex, invoke, isFunction, luaGetType, toJavaString
 
Methods inherited from class org.luaj.vm.LValue
compareError, conversionError, id, isClosure, isInteger, isNil, isNumber, isString, isTable, isUserData, luaAsString, luaBinCmpDouble, luaBinCmpInteger, luaBinCmpString, luaBinCmpUnknown, luaBinOpDouble, luaBinOpInteger, luaBinOpUnknown, luaConcatTo, luaGetEnv, luaGetMetatable, luaGetTable, luaGetTypeName, luaLength, luaSetEnv, luaSetMetatable, luaSetTable, luaToNumber, luaUnaryMinus, toJavaBoolean, toJavaBoxedBoolean, toJavaBoxedByte, toJavaBoxedCharacter, toJavaBoxedDouble, toJavaBoxedFloat, toJavaBoxedInteger, toJavaBoxedLong, toJavaBoxedShort, toJavaByte, toJavaChar, toJavaDouble, toJavaFloat, toJavaInstance, toJavaInt, toJavaLong, toJavaShort, toStrongReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LuajavaLib

public LuajavaLib()
Method Detail

install

public static void install(LTable globals)

toString

public java.lang.String toString()
Description copied from class: LValue
Override standard toString with lua String conversion by default

Overrides:
toString in class LValue

luaStackCall

public boolean luaStackCall(LuaState vm)
Description copied from class: LFunction
Set up a Java invocation, and leave the results on the stack starting at base. The default implementation for LFunction delegates to the VM which provides convenience.

Overrides:
luaStackCall in class LFunction


Copyright © 2007-2013 Luaj.org. All Rights Reserved.