OmrElement

Inheritance: java.lang.Object

public abstract class OmrElement

Abstract class representing base omr question Contains common properties for all questions

Constructors

ConstructorDescription
OmrElement()

Methods

MethodDescription
equals(Object arg0)
getClass()
getHeight()Gets or sets question height
getLeft()Gets or sets question left position
getName()Gets question name
getTop()Gets or sets question top position
getWidth()Gets or sets question width
hashCode()
notify()
notifyAll()
setHeight(double value)Gets or sets question height
setLeft(double value)Gets or sets question left position
setName(String value)Sets question name
setTop(double value)Gets or sets question top position
setWidth(double value)Gets or sets question width
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

OmrElement()

public OmrElement()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getHeight()

public final double getHeight()

Gets or sets question height

Returns: double - The height

getLeft()

public final double getLeft()

Gets or sets question left position

Returns: double - The left

getName()

public final String getName()

Gets question name

Returns: java.lang.String - The question name

getTop()

public final double getTop()

Gets or sets question top position

Returns: double - The top

getWidth()

public final double getWidth()

Gets or sets question width

Returns: double - The width

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setHeight(double value)

public final void setHeight(double value)

Gets or sets question height

Parameters:

ParameterTypeDescription
valuedoubleThe height

setLeft(double value)

public final void setLeft(double value)

Gets or sets question left position

Parameters:

ParameterTypeDescription
valuedoubleThe left

setName(String value)

public final void setName(String value)

Sets question name

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe question name

setTop(double value)

public final void setTop(double value)

Gets or sets question top position

Parameters:

ParameterTypeDescription
valuedoubleThe top

setWidth(double value)

public final void setWidth(double value)

Gets or sets question width

Parameters:

ParameterTypeDescription
valuedoubleThe width

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int