Scratch

Inheritance: java.lang.Object

public class Scratch

Contains a work area for entering and testing formulas that are referred to by other elements. This element is typically used to isolate repeated complex calculations.

Constructors

Constructor Description
Scratch() Constructor.

Methods

Method Description
deepClone() Creates deep copy of this instance.
equals(Object arg0)
getA() A general-purpose element.
getB() A general-purpose scratch element.
getC() A general-purpose element.
getClass()
getD() A general-purpose element.
getDel() A flag indicating whether the element has been deleted locally.
getIX() The zero-based index of the element within its parent element.
getX() Specifies an x-coordinate on a shape in local coordinates.
getY() Specifies a y-coordinate on a shape in local coordinates.
hashCode()
notify()
notifyAll()
setA(Value value) For the description of this property, please see getA()
setB(Value value) For the description of this property, please see getB()
setC(Value value) For the description of this property, please see getC()
setD(Value value) For the description of this property, please see getD()
setDel(int value) For the description of this property, please see getDel()
setIX(int value) For the description of this property, please see getIX()
setX(DoubleValue value) For the description of this property, please see getX()
setY(DoubleValue value) For the description of this property, please see getY()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Scratch()

public Scratch()

Constructor.

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getA()

public Value getA()

A general-purpose element.

Returns: Value

getB()

public Value getB()

A general-purpose scratch element.

Returns: Value

getC()

public Value getC()

A general-purpose element.

Returns: Value

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getD()

public Value getD()

A general-purpose element.

Returns: Value

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getIX()

public int getIX()

The zero-based index of the element within its parent element.

Returns: int

getX()

public DoubleValue getX()

Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.

Returns: DoubleValue

getY()

public DoubleValue getY()

Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.

Returns: DoubleValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setA(Value value)

public void setA(Value value)

For the description of this property, please see getA()

Parameters:

Parameter Type Description
value Value

setB(Value value)

public void setB(Value value)

For the description of this property, please see getB()

Parameters:

Parameter Type Description
value Value

setC(Value value)

public void setC(Value value)

For the description of this property, please see getC()

Parameters:

Parameter Type Description
value Value

setD(Value value)

public void setD(Value value)

For the description of this property, please see getD()

Parameters:

Parameter Type Description
value Value

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

Parameter Type Description
value int

setIX(int value)

public void setIX(int value)

For the description of this property, please see getIX()

Parameters:

Parameter Type Description
value int

setX(DoubleValue value)

public void setX(DoubleValue value)

For the description of this property, please see getX()

Parameters:

Parameter Type Description
value DoubleValue

setY(DoubleValue value)

public void setY(DoubleValue value)

For the description of this property, please see getY()

Parameters:

Parameter Type Description
value DoubleValue

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native 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