JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Public Member Functions | Static Public Member Functions | Properties | List of all members
Codemesh.JuggerNET.JavaPeerValue Class Reference

Summary description for JavaPeerValue. More...

Inheritance diagram for Codemesh.JuggerNET.JavaPeerValue:
Inheritance graph
[legend]
Collaboration diagram for Codemesh.JuggerNET.JavaPeerValue:
Collaboration graph
[legend]

Public Member Functions

 JavaPeerValue (string type)
 
 JavaPeerValue (JNIHandle h)
 
bool GetBoolField (string name)
 
void SetBoolField (string name, bool value)
 
byte GetByteField (string name)
 
void SetByteField (string name, byte value)
 
char GetCharField (string name)
 
void SetCharField (string name, char value)
 
double GetDoubleField (string name)
 
void SetDoubleField (string name, double value)
 
float GetFloatField (string name)
 
void SetFloatField (string name, float value)
 
int GetIntField (string name)
 
void SetIntField (string name, int value)
 
long GetLongField (string name)
 
void SetLongField (string name, long value)
 
short GetShortField (string name)
 
void SetShortField (string name, short value)
 
object GetObjectField (string name)
 
void SetObjectField (string name, object value)
 
string GetStringField (string name)
 
void SetStringField (string name, string value)
 
- Public Member Functions inherited from Codemesh.JuggerNET.JuggerNETProxyObject
 JuggerNETProxyObject (string str)
 Initializes a proxy object that corresponds with a Java java.lang.String instance of the specified value. More...
 
 JuggerNETProxyObject (JNIHandle jobject)
 Initializes a proxy object that corresponds with a preexisting Java object represented by the given object handle. More...
 
void Dispose ()
 Releases the reference to the corresponding Java object, thereby making it eligible for garbage collection if no other references to the same object are held. More...
 
void Release ()
 Forgets the reference to the corresponding Java object. Unless caller explicitly cleans up Java reference, this will cause the runtime to leak a Java object reference. More...
 
override bool Equals (object obj)
 Implemented in terms of the Java equals() method. If the other object is not also a subclass of a JavaObject, the return value is always false. This is to ensure that the the results of a comparison is independent of the order, i.e. More...
 
override int GetHashCode ()
 Implemented in terms of the Java hashCode() method. More...
 
override string ToString ()
 Implemented in terms of the Java toString() method. More...
 
bool IsInstanceOf (JavaClass clazz)
 Returns true if the instance is type compatible with the given Java type. More...
 
bool IsSame (JavaProxy proxy)
 Returns true if the proxy instance wraps around the same Java object as the other proxy instance. More...
 

Static Public Member Functions

static object FromJavaPeerValue (JavaProxy peer)
 

Properties

string TypeName [get, set]
 
object this[string name] [get, set]
 
- Properties inherited from Codemesh.JuggerNET.JuggerNETProxyObject
long JObject [get, set]
 A property giving access to the JNI object handle that represents the wrapped Java instance. More...
 
long JObjectDuplicate [get]
 A property representing a duplicated JNI object handle. More...
 
HandleRef Handle [get]
 
- Properties inherited from Codemesh.JuggerNET.JavaProxy
long JObject [get, set]
 A property representing the JNI object handle. More...
 
HandleRef Handle [get]
 A property representing the JNI object handle. More...
 
long JObjectDuplicate [get]
 A property representing a duplicated JNI object handle. More...
 
- Properties inherited from Codemesh.JuggerNET.JavaPeer
string TypeName [get, set]
 
object this[string name] [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Codemesh.JuggerNET.JuggerNETProxyObject
 JuggerNETProxyObject ()
 Initializes a proxy object that corresponds with a Java null reference. More...
 

Detailed Description

Summary description for JavaPeerValue.


The documentation for this class was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.