public class Position
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
LEFT |
An indicator that a Location is to the left of a GraphComponent
|
static int |
ON |
An indicator that a Location is on a GraphComponent
|
static int |
RIGHT |
An indicator that a Location is to the right of a GraphComponent
|
Constructor | Description |
---|---|
Position() |
Modifier and Type | Method | 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 © 2018. All rights reserved.