object Anchor
This companion object of class Anchor
contains a number of standard anchors
(TopLeft
, Center
, etc.) and a class for creating anchors in a custom location.
The object has an alias in the top-level package o1, so it’s accessible to students
simply via import o1._
.
- See also
- Alphabetic
- By Inheritance
- Anchor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- object BottomCenter extends Bottom with HCenter with Product with Serializable
An anchor at the middle of the bottom edge.
An anchor at the middle of the bottom edge. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object BottomLeft extends Bottom with Left with Product with Serializable
An anchor at the bottom left-hand corner.
An anchor at the bottom left-hand corner. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object BottomRight extends Bottom with Right with Product with Serializable
An anchor at the bottom right-hand corner.
An anchor at the bottom right-hand corner. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object Center extends VCenter with HCenter with Product with Serializable
An anchor at the middle.
An anchor at the middle. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object CenterLeft extends VCenter with Left with Product with Serializable
An anchor at the middle of the left edge.
An anchor at the middle of the left edge. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object CenterRight extends VCenter with Right with Product with Serializable
An anchor at the middle of the right edge.
An anchor at the middle of the right edge. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object TopCenter extends Top with HCenter with Product with Serializable
An anchor at the middle of the top edge.
An anchor at the middle of the top edge. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object TopLeft extends Top with Left with Product with Serializable
An anchor at the top left-hand corner.
An anchor at the top left-hand corner. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
. - object TopRight extends Top with Right with Product with Serializable
An anchor at the top right-hand corner.
An anchor at the top right-hand corner. This object has an alias in the top-level package o1, so it’s accessible to students simply via
import o1._
.