AssumedObjectData
Contents
[
Hide
]Inheritance: java.lang.Object
public class AssumedObjectData
The assumed object’s data. Includes object’s type and area.
Constructors
Constructor | Description |
---|---|
AssumedObjectData() | Initializes a new instance of the AssumedObjectData class. |
AssumedObjectData(int type, Rectangle bounds) | Initializes a new instance of the AssumedObjectData class. |
AssumedObjectData(String type, Rectangle bounds) | Initializes a new instance of the AssumedObjectData class. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getBounds() | Gets the object’s bounds. |
getClass() | |
getType() | Gets the object’s type. |
hashCode() | |
notify() | |
notifyAll() | |
setBounds(Rectangle value) | Sets the object’s bounds. |
setType(int value) | Sets the object’s type. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
AssumedObjectData()
public AssumedObjectData()
Initializes a new instance of the AssumedObjectData class.
AssumedObjectData(int type, Rectangle bounds)
public AssumedObjectData(int type, Rectangle bounds)
Initializes a new instance of the AssumedObjectData class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | int | The object’s type. |
bounds | Rectangle | The object’s bounds. |
AssumedObjectData(String type, Rectangle bounds)
public AssumedObjectData(String type, Rectangle bounds)
Initializes a new instance of the AssumedObjectData class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | java.lang.String | The object’s type. |
bounds | Rectangle | The object’s bounds. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBounds()
public final Rectangle getBounds()
Gets the object’s bounds.
Returns: Rectangle - the object’s bounds.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getType()
public final int getType()
Gets the object’s type.
Returns: int - the object’s type.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBounds(Rectangle value)
public final void setBounds(Rectangle value)
Sets the object’s bounds.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle | the object’s bounds. |
setType(int value)
public final void setType(int value)
Sets the object’s type.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the object’s type. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |