All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class net.tabuleiro.nebulae.LValue

net.tabuleiro.nebulae.LValue

public class LValue
extends java.lang.Object
Base class representing a Lingo compatible value (LValue for short). Lingo is a trademark of Macromedia, Inc. All rights reserved.


Variable Index

 o vt_3dTransform
 o vt_3dVector
 o vt_Color
 o vt_Date
 o vt_Float
 o vt_Integer
 o vt_List
 o vt_Media
 o vt_Picture
 o vt_Point
 o vt_PropList
 o vt_Rect
 o vt_String
 o vt_Symbol
 o vt_Void

Constructor Index

 o LValue()
Constructor

Method Index

 o dump()
Reserved for internal use of the Nebulae MultiUser Server.
 o extractFromBytes(byte[], int)
Reserved for internal use of the Nebulae MultiUser Server.
 o fromRawBytes(byte[], int)
Static function to construct an LValue from a raw byte array containg a Lingo formatted value and associated type information.
 o getBytes()
Reserved for internal use of the Nebulae MultiUser Server.
 o getLValue(byte[])
Static function to construct an LValue from an array of bytes.
 o getLValue(double)
Static function to construct an LValue from a Java double.
 o getLValue(float)
Static function to construct an LValue from a Java float.
 o getLValue(int)
Static function to construct an LValue from a Java int.
 o getLValue(String)
Static function to construct an LValue from a Java String.
 o getType()
Returns the type of an LValue (LValue.vtVoid, LValue.vtString, etc.)
 o setType(short)
Sets the type of a newly created LValue.
 o toBytes()
Base method, returns this LValue as a String.
 o toDouble()
Base method, returns this LValue as a String.
 o toInteger()
Base method, returns this LValue as a String.
 o toString()
Base method, returns this LValue as a String.

Variables

 o vt_Void
 public static final short vt_Void
 o vt_Integer
 public static final short vt_Integer
 o vt_Symbol
 public static final short vt_Symbol
 o vt_String
 public static final short vt_String
 o vt_Picture
 public static final short vt_Picture
 o vt_Float
 public static final short vt_Float
 o vt_List
 public static final short vt_List
 o vt_Point
 public static final short vt_Point
 o vt_Rect
 public static final short vt_Rect
 o vt_PropList
 public static final short vt_PropList
 o vt_Color
 public static final short vt_Color
 o vt_Date
 public static final short vt_Date
 o vt_Media
 public static final short vt_Media
 o vt_3dVector
 public static final short vt_3dVector
 o vt_3dTransform
 public static final short vt_3dTransform

Constructors

 o LValue
 public LValue()
Constructor

Methods

 o getLValue
 public static net.tabuleiro.nebulae.LValue getLValue(int initval)
Static function to construct an LValue from a Java int. Returns an LInteger value

 o getLValue
 public static net.tabuleiro.nebulae.LValue getLValue(java.lang.String initval)
Static function to construct an LValue from a Java String. Returns an LString value

 o getLValue
 public static net.tabuleiro.nebulae.LValue getLValue(double initval)
Static function to construct an LValue from a Java double. Returns an LFloat value

 o getLValue
 public static net.tabuleiro.nebulae.LValue getLValue(float initval)
Static function to construct an LValue from a Java float. Returns an LFloat value

 o getLValue
 public static net.tabuleiro.nebulae.LValue getLValue(byte initval[])
Static function to construct an LValue from an array of bytes. Returns an LMedia value

 o setType
 public void setType(short type)
Sets the type of a newly created LValue. Type is a short LValue type (LValue.vtVoid, LValue.vtString, etc.)

 o getType
 public short getType()
Returns the type of an LValue (LValue.vtVoid, LValue.vtString, etc.)

 o extractFromBytes
 public int extractFromBytes(byte rawBytes[],
                             int offset)
Reserved for internal use of the Nebulae MultiUser Server.

 o getBytes
 public byte[] getBytes()
Reserved for internal use of the Nebulae MultiUser Server.

 o dump
 public void dump()
Reserved for internal use of the Nebulae MultiUser Server.

 o toString
 public java.lang.String toString()
Base method, returns this LValue as a String. Not guaranteed to be implemented for all value types.

 o toInteger
 public int toInteger()
Base method, returns this LValue as a String. Not guaranteed to be implemented for all value types.

 o toDouble
 public double toDouble()
Base method, returns this LValue as a String. Not guaranteed to be implemented for all value types.

 o toBytes
 public byte[] toBytes()
Base method, returns this LValue as a String. Not guaranteed to be implemented for all value types.

 o fromRawBytes
 public static net.tabuleiro.nebulae.LValue fromRawBytes(byte rawBytes[],
                                                         int offset)
Static function to construct an LValue from a raw byte array containg a Lingo formatted value and associated type information. Reserved for internal use of the Nebulae MultiUser Server.


All Packages  Class Hierarchy  This Package  Previous  Next  Index