public class FlaggedDisplayable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Displayable |
displayable
The displayable
|
int |
flag
the flag
|
Constructor and Description |
---|
FlaggedDisplayable(Displayable displayable,
int flag)
Create a flagged displayable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ok(int f)
Check if a flag matches this instances flag.
|
public Displayable displayable
public int flag
public FlaggedDisplayable(Displayable displayable, int flag)
displayable
- the displayableflag
- the flag