TemplateLinkedPositionEdges

Inheritance: java.lang.Object

public class TemplateLinkedPositionEdges

Provides the edges of the linked field where the text field is seached. TemplateLinkedPositionEdges is used in TemplateLinkedPosition class.

Constructors

Constructor Description
TemplateLinkedPositionEdges(boolean left, boolean top, boolean right, boolean bottom) Initializes a new instance of the TemplateLinkedPositionEdges class.

Methods

Method Description
isEmpty() Gets the value that indicates whether the instance is empty.
isLeft() Gets the value that indicates whether a field is searched by the left from the linked field.
isTop() Gets the value that indicates whether a field is searched by the top from the linked field.
isRight() Gets the value that indicates whether a field is searched by the right from the linked field.
isBottom() Gets the value that indicates whether a field is searched by the bottom from the linked field.
parse(String s) Converts the string representation of edges to its class equivalent.
toString()

TemplateLinkedPositionEdges(boolean left, boolean top, boolean right, boolean bottom)

public TemplateLinkedPositionEdges(boolean left, boolean top, boolean right, boolean bottom)

Initializes a new instance of the TemplateLinkedPositionEdges class.

Parameters:

Parameter Type Description
left boolean The value that indicates whether a field is searched by the left from the linked field.
top boolean The value that indicates whether a field is searched by the top from the linked field.
right boolean The value that indicates whether a field is searched by the right from the linked field.
bottom boolean The value that indicates whether a field is searched by the bottom from the linked field.

isEmpty()

public boolean isEmpty()

Gets the value that indicates whether the instance is empty.

Returns: boolean - true if the instance is empty (all fields are false ); otherwise, false .

isLeft()

public boolean isLeft()

Gets the value that indicates whether a field is searched by the left from the linked field.

Returns: boolean - true if a field is searched by the left from the linked field; otherwise, false .

isTop()

public boolean isTop()

Gets the value that indicates whether a field is searched by the top from the linked field.

Returns: boolean - true if a field is searched by the top from the linked field; otherwise, false .

isRight()

public boolean isRight()

Gets the value that indicates whether a field is searched by the right from the linked field.

Returns: boolean - true if a field is searched by the right from the linked field; otherwise, false .

isBottom()

public boolean isBottom()

Gets the value that indicates whether a field is searched by the bottom from the linked field.

Returns: boolean - true if a field is searched by the bottom from the linked field; otherwise, false .

parse(String s)

public static TemplateLinkedPositionEdges parse(String s)

Converts the string representation of edges to its class equivalent.

Parameters:

Parameter Type Description
s java.lang.String A string that contains edges to convert.

Returns: TemplateLinkedPositionEdges - An instance of TemplateLinkedPositionEdges class that is equivalent to the value specified in s parameter.

toString()

public String toString()

Returns: java.lang.String