|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The 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.
Field Summary | |
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. |
Method Summary | |
int |
getOrientation()
Retrieve the orientation of the HOrientable . |
void |
setOrientation(int orient)
Set the orientation of the HOrientable . |
Field Detail |
public 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.
public 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.
public 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.
public 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.
Method Detail |
public 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
.public 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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |