Modifier and Type | Field and Description |
---|---|
static SideFlags |
ALL
Instance for which all flags are true.
|
static SideFlags |
NONE
Instance for which all flags are false.
|
Constructor and Description |
---|
SideFlags(boolean bottom,
boolean left,
boolean top,
boolean right)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isBottom()
Returns the state of the flag for the bottom edge.
|
boolean |
isLeft()
Returns the state of the flag for the left hand edge.
|
boolean |
isRight()
Returns the state of the flag for the right hand edge.
|
boolean |
isTop()
Returns the state of the flag for the top edge.
|
String |
toString() |
public static final SideFlags ALL
public static final SideFlags NONE
public SideFlags(boolean bottom, boolean left, boolean top, boolean right)
bottom
- flag for bottom edge (primary X axis location)left
- flag for left edge (primary Y axis location)top
- flag for top edge (secondary X axis location)right
- flag for right edge (secondary Y axis location)public boolean isBottom()
public boolean isLeft()
public boolean isTop()
public boolean isRight()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.