public class RelativePosition extends AttributeSubSet
Modifier and Type | Class and Description |
---|---|
static class |
RelativePosition.PositionType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
KEY_SET |
static RelativePosition.PositionType |
POSITION_RELATIVE |
static RelativePosition.PositionType |
POSITION_STATIC |
Constructor and Description |
---|
RelativePosition()
Create an relative position.
|
RelativePosition(Measure top,
Measure right,
Measure bottom,
Measure left)
Creates a relative position (Position-type is relative).
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(int keyIdx) |
Measure |
getBottom() |
Measure |
getLeft() |
Measure |
getRight() |
Measure |
getTop() |
RelativePosition.PositionType |
getType() |
void |
setBottom(Measure bottom) |
void |
setLeft(Measure left) |
void |
setRight(Measure right) |
void |
setTop(Measure top) |
void |
setType(RelativePosition.PositionType type) |
addDefinedAttributes, applyAttributes, clone, isMutable, makeImmutable, setAttribute
public static final RelativePosition.PositionType POSITION_STATIC
public static final RelativePosition.PositionType POSITION_RELATIVE
public static final java.lang.String[] KEY_SET
public RelativePosition.PositionType getType()
public Measure getTop()
public Measure getRight()
public Measure getLeft()
public Measure getBottom()
public void setBottom(Measure bottom)
public void setLeft(Measure left)
public void setRight(Measure right)
public void setTop(Measure top)
public void setType(RelativePosition.PositionType type)
public java.lang.Object getAttribute(int keyIdx)
getAttribute
in class AttributeSubSet
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.