Skip to main content

UIAnchor

Complete API reference for UIAnchor, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: UI

Component: yes


public class UIAnchor extends Component

Constructors

SignatureDescription
UIAnchor()Creates a new instance of UIAnchor.

Virtual Attributes

NameTypeAccessDescription
bottomAnchorVerticalConstraintTargetget/setVirtual attribute exposed by getBottomAnchor. Access it like a field to read or write the underlying value.
bottomOffsetintget/setVirtual attribute exposed by getBottomOffset. Access it like a field to read or write the underlying value.
bottomTargetSpatialObjectget/setVirtual attribute exposed by getBottomTarget. Access it like a field to read or write the underlying value.
expandHbooleanget/setVirtual attribute exposed by isExpandH. Access it like a field to read or write the underlying value.
expandWbooleanget/setVirtual attribute exposed by isExpandW. Access it like a field to read or write the underlying value.
leftAnchorHorizontalConstraintTargetget/setVirtual attribute exposed by getLeftAnchor. Access it like a field to read or write the underlying value.
leftOffsetintget/setVirtual attribute exposed by getLeftOffset. Access it like a field to read or write the underlying value.
leftTargetSpatialObjectget/setVirtual attribute exposed by getLeftTarget. Access it like a field to read or write the underlying value.
rightAnchorHorizontalConstraintTargetget/setVirtual attribute exposed by getRightAnchor. Access it like a field to read or write the underlying value.
rightOffsetintget/setVirtual attribute exposed by getRightOffset. Access it like a field to read or write the underlying value.
rightTargetSpatialObjectget/setVirtual attribute exposed by getRightTarget. Access it like a field to read or write the underlying value.
topAnchorVerticalConstraintTargetget/setVirtual attribute exposed by getTopAnchor. Access it like a field to read or write the underlying value.
topOffsetintget/setVirtual attribute exposed by getTopOffset. Access it like a field to read or write the underlying value.
topTargetSpatialObjectget/setVirtual attribute exposed by getTopTarget. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getBottomAnchor()VerticalConstraintTargetReturns the current bottomAnchor value.
getBottomOffset()intReturns the current bottomOffset value.
getBottomTarget()SpatialObjectReturns the current bottomTarget value.
getLeftAnchor()HorizontalConstraintTargetReturns the current leftAnchor value.
getLeftOffset()intReturns the current leftOffset value.
getLeftTarget()SpatialObjectReturns the current leftTarget value.
getRightAnchor()HorizontalConstraintTargetReturns the current rightAnchor value.
getRightOffset()intReturns the current rightOffset value.
getRightTarget()SpatialObjectReturns the current rightTarget value.
getTopAnchor()VerticalConstraintTargetReturns the current topAnchor value.
getTopOffset()intReturns the current topOffset value.
getTopTarget()SpatialObjectReturns the current topTarget value.
isExpandH()booleanReturns whether expandH is true.
isExpandW()booleanReturns whether expandW is true.
setBottomAnchor(VerticalConstraintTarget)voidSets bottomAnchor.
setBottomOffset(int)voidSets bottomOffset.
setBottomTarget(SpatialObject)voidSets bottomTarget.
setExpandH(boolean)voidSets expandH.
setExpandW(boolean)voidSets expandW.
setLeftAnchor(HorizontalConstraintTarget)voidSets leftAnchor.
setLeftOffset(int)voidSets leftOffset.
setLeftTarget(SpatialObject)voidSets leftTarget.
setRightAnchor(HorizontalConstraintTarget)voidSets rightAnchor.
setRightOffset(int)voidSets rightOffset.
setRightTarget(SpatialObject)voidSets rightTarget.
setTopAnchor(VerticalConstraintTarget)voidSets topAnchor.
setTopOffset(int)voidSets topOffset.
setTopTarget(SpatialObject)voidSets topTarget.