org.ogre4j
Class FloatRect

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.FloatRect
All Implemented Interfaces:
IFloatRect, ITRect<java.lang.Float>, INativeObject

public class FloatRect
extends NativeObject
implements IFloatRect


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  FloatRect()
           
  FloatRect(FloatPointer l, FloatPointer t, FloatPointer r, FloatPointer b)
           
  FloatRect(InstancePointer p)
          This constructor is public for internal useage only!
protected FloatRect(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  FloatRect(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 float getbottom()
           
 float getleft()
           
 float getright()
           
 float gettop()
           
 float height()
           
 IFloatRect operatorAssignment(IFloatRect o)
           
 void setbottom(float _jni_value_)
           
 void setleft(float _jni_value_)
           
 void setright(float _jni_value_)
           
 void settop(float _jni_value_)
           
 float width()
           
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xbig.base.INativeObject
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Constructor Detail

FloatRect

public FloatRect(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


FloatRect

protected FloatRect(InstancePointer p,
                    boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


FloatRect

public FloatRect(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

FloatRect

public FloatRect()

FloatRect

public FloatRect(FloatPointer l,
                 FloatPointer t,
                 FloatPointer r,
                 FloatPointer b)
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

operatorAssignment

public IFloatRect operatorAssignment(IFloatRect o)
Specified by:
operatorAssignment in interface IFloatRect

width

public float width()
Specified by:
width in interface IFloatRect

height

public float height()
Specified by:
height in interface IFloatRect

getleft

public float getleft()
Specified by:
getleft in interface IFloatRect

setleft

public void setleft(float _jni_value_)
Specified by:
setleft in interface IFloatRect

gettop

public float gettop()
Specified by:
gettop in interface IFloatRect

settop

public void settop(float _jni_value_)
Specified by:
settop in interface IFloatRect

getright

public float getright()
Specified by:
getright in interface IFloatRect

setright

public void setright(float _jni_value_)
Specified by:
setright in interface IFloatRect

getbottom

public float getbottom()
Specified by:
getbottom in interface IFloatRect

setbottom

public void setbottom(float _jni_value_)
Specified by:
setbottom in interface IFloatRect


Copyright © 2007 netAllied GmbH. All Rights Reserved.