public interface HOrientable
HOrientable interface provides
support for components which have an orientation.
Widgets of HAVi compliant applications implementing the
HOrientable interface must have
HComponent in their inheritance tree.
| Modifier and Type | Field and Description |
|---|---|
static int |
ORIENT_BOTTOM_TO_TOP
A constant which specifies that the
HOrientable shall be rendered with a vertical orientation, with
the minimum value on the bottom, and the maximum value on
the top. |
static int |
ORIENT_LEFT_TO_RIGHT
A constant which specifies that the
HOrientable shall be rendered with a horizontal orientation,
with the minimum value on the left side, and the maximum
value on the right side. |
static int |
ORIENT_RIGHT_TO_LEFT
A constant which specifies that the
HOrientable shall be rendered with a horizontal orientation,
with the minimum value on the right side, and the maximum value
on the left side. |
static int |
ORIENT_TOP_TO_BOTTOM
A constant which specifies that the
HOrientable shall be rendered with a vertical orientation, with
the minimum value on the top, and the maximum of the range
on the bottom. |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrientation()
Retrieve the orientation of the
HOrientable. |
void |
setOrientation(int orient)
Set the orientation of the
HOrientable. |
static final int ORIENT_LEFT_TO_RIGHT
HOrientable shall be rendered with a horizontal orientation,
with the minimum value on the left side, and the maximum
value on the right side.static final int ORIENT_RIGHT_TO_LEFT
HOrientable shall be rendered with a horizontal orientation,
with the minimum value on the right side, and the maximum value
on the left side.static final int ORIENT_TOP_TO_BOTTOM
HOrientable shall be rendered with a vertical orientation, with
the minimum value on the top, and the maximum of the range
on the bottom.static final int ORIENT_BOTTOM_TO_TOP
HOrientable shall be rendered with a vertical orientation, with
the minimum value on the bottom, and the maximum value on
the top.int getOrientation()
HOrientable. The orientation controls the layout of the component.ORIENT_LEFT_TO_RIGHT, ORIENT_RIGHT_TO_LEFT, ORIENT_TOP_TO_BOTTOM, or ORIENT_BOTTOM_TO_TOP.void setOrientation(int orient)
HOrientable. The orientation controls the layout of the component.orient - one of ORIENT_LEFT_TO_RIGHT, ORIENT_RIGHT_TO_LEFT, ORIENT_TOP_TO_BOTTOM, or ORIENT_BOTTOM_TO_TOP.Copyright © 2012 code4tv.com. All Rights Reserved.