public class Position extends Object
Modifier and Type | Field and Description |
---|---|
static int |
LEFT
Specifies that a location is to the left of a component
|
static int |
ON
Specifies that a location is on a component
|
static int |
RIGHT
Specifies that a location is to the right of a component
|
Constructor and Description |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
static int |
opposite(int position)
Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position
otherwise.
|
public static final int ON
public static final int LEFT
public static final int RIGHT
Copyright © 2024. All rights reserved.