Search this API

y.layout
Interface LayoutOrientation

All Known Implementing Classes:
OrientationLayouter

public interface LayoutOrientation

LayoutOrientation provides specifiers that are used for defining which general orientation a layout should express.

 

Field Summary
static byte BOTTOM_TO_TOP
          Orientation specifier which defines that the main layout orientation is from bottom to top.
static byte LEFT_TO_RIGHT
          Orientation specifier which defines that the main layout orientation is from left to right.
static byte RIGHT_TO_LEFT
          Orientation specifier which defines that the main layout orientation is from right to left.
static byte TOP_TO_BOTTOM
          Orientation specifier which defines that the main layout orientation is from top to bottom.
 

Field Detail

TOP_TO_BOTTOM

static final byte TOP_TO_BOTTOM
Orientation specifier which defines that the main layout orientation is from top to bottom. This is the default for all layout algorithms.

See Also:
Constant Field Values
Sample Graph:

LEFT_TO_RIGHT

static final byte LEFT_TO_RIGHT
Orientation specifier which defines that the main layout orientation is from left to right. The layout will be rotated by 90 degrees counterclockwise.

See Also:
Constant Field Values
Sample Graph:

RIGHT_TO_LEFT

static final byte RIGHT_TO_LEFT
Orientation specifier which defines that the main layout orientation is from right to left. The layout will be rotated by 90 degrees clockwise.

See Also:
Constant Field Values
Sample Graph:

BOTTOM_TO_TOP

static final byte BOTTOM_TO_TOP
Orientation specifier which defines that the main layout orientation is from bottom to top. The layout will be flipped along the x-axis.

See Also:
Constant Field Values
Sample Graph:

© Copyright 2000-2021,
yWorks GmbH.
All rights reserved.