AssumedObjectData

Inheritance: java.lang.Object

public class AssumedObjectData

The assumed object’s data. Includes object’s type and area.

Constructors

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
typeintThe object’s type.
boundsRectangleThe object’s bounds.

AssumedObjectData(String type, Rectangle bounds)

public AssumedObjectData(String type, Rectangle bounds)

Initializes a new instance of the AssumedObjectData class.

Parameters:

ParameterTypeDescription
typejava.lang.StringThe object’s type.
boundsRectangleThe object’s bounds.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueRectanglethe object’s bounds.

setType(int value)

public final void setType(int value)

Sets the object’s type.

Parameters:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int