org.ogre4j
Class Rect

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.Rect
All Implemented Interfaces:
IRect, ITRect<java.lang.Long>, INativeObject

public class Rect
extends NativeObject
implements IRect


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  Rect()
           
  Rect(InstancePointer p)
          This constructor is public for internal useage only!
protected Rect(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  Rect(LongPointer l, LongPointer t, LongPointer r, LongPointer b)
           
  Rect(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 long getbottom()
           
 long getleft()
           
 long getright()
           
 long gettop()
           
 long height()
           
 IRect operatorAssignment(IRect o)
           
 void setbottom(long _jni_value_)
           
 void setleft(long _jni_value_)
           
 void setright(long _jni_value_)
           
 void settop(long _jni_value_)
           
 long 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

Rect

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


Rect

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


Rect

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

Rect

public Rect()

Rect

public Rect(LongPointer l,
            LongPointer t,
            LongPointer r,
            LongPointer 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 IRect operatorAssignment(IRect o)
Specified by:
operatorAssignment in interface IRect

width

public long width()
Specified by:
width in interface IRect

height

public long height()
Specified by:
height in interface IRect

getleft

public long getleft()
Specified by:
getleft in interface IRect

setleft

public void setleft(long _jni_value_)
Specified by:
setleft in interface IRect

gettop

public long gettop()
Specified by:
gettop in interface IRect

settop

public void settop(long _jni_value_)
Specified by:
settop in interface IRect

getright

public long getright()
Specified by:
getright in interface IRect

setright

public void setright(long _jni_value_)
Specified by:
setright in interface IRect

getbottom

public long getbottom()
Specified by:
getbottom in interface IRect

setbottom

public void setbottom(long _jni_value_)
Specified by:
setbottom in interface IRect


Copyright © 2007 netAllied GmbH. All Rights Reserved.