APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.geometry

public final Enum Side

extends Enum<Side>
Class Inheritance

Enum for which side of a rectangle something should be. This is used for chart titles, axis etc.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final Side
BOTTOM

Represents bottom side of a rectangle.

public static final Side
LEFT

Represents left side of a rectangle.

public static final Side
RIGHT

Represents right side of a rectangle.

public static final Side
TOP

Represents top side of a rectangle.

Constructor Summary

AccessConstructor and Description
private
Side()

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if this represents a horizontal side of a rectangle
isHorizontal
()

Indicates whether this is horizontal side of a rectangle (returns true for TOP and BOTTOM.

public boolean

Returns:

true if this represents a vertical side of a rectangle
isVertical
()

Indicates whether this is vertical side of a rectangle (returns true for LEFT and RIGHT.

public static Side
public static Side[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BOTTOMback to summary
public static final Side BOTTOM

Represents bottom side of a rectangle.

LEFTback to summary
public static final Side LEFT

Represents left side of a rectangle.

TOPback to summary
public static final Side TOP

Represents top side of a rectangle.

Constructor Detail

Sideback to summary
private Side()

Method Detail

isHorizontalback to summary
public boolean isHorizontal()

Indicates whether this is horizontal side of a rectangle (returns true for TOP and BOTTOM.

Returns:boolean

true if this represents a horizontal side of a rectangle

isVerticalback to summary
public boolean isVertical()

Indicates whether this is vertical side of a rectangle (returns true for LEFT and RIGHT.

Returns:boolean

true if this represents a vertical side of a rectangle

valueOfback to summary
public static Side valueOf(String name)
valuesback to summary
public static Side[] values()