org.ogre4j
Class Rectangle

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.Rectangle
All Implemented Interfaces:
IRectangle, INativeObject

public class Rectangle
extends NativeObject
implements IRectangle


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  Rectangle()
           
  Rectangle(InstancePointer p)
          This constructor is public for internal useage only!
protected Rectangle(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  Rectangle(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()
           
 boolean inside(float x, float y)
           
 void setbottom(float _jni_value_)
           
 void setleft(float _jni_value_)
           
 void setright(float _jni_value_)
           
 void settop(float _jni_value_)
           
 
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

Rectangle

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


Rectangle

protected Rectangle(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.


Rectangle

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

Rectangle

public Rectangle()
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

inside

public boolean inside(float x,
                      float y)
Specified by:
inside in interface IRectangle

getleft

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

setleft

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

gettop

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

settop

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

getright

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

setright

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

getbottom

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

setbottom

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


Copyright © 2007 netAllied GmbH. All Rights Reserved.