Package ucar.unidata.idv.control
Class FlaggedDisplayable
java.lang.Object
ucar.unidata.idv.control.FlaggedDisplayable
A class to encapsulate a displayable with an attribute flags.
- Version:
- $Revision: 1.6 $
- Author:
- Jeff McWhirter, et. al. really smart guys (and gals)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlaggedDisplayable
(Displayable displayable, int flag) Create a flagged displayable. -
Method Summary
-
Field Details
-
displayable
The displayable -
flag
public int flagthe flag
-
-
Constructor Details
-
FlaggedDisplayable
Create a flagged displayable.- Parameters:
displayable
- the displayableflag
- the flag
-
-
Method Details
-
ok
public boolean ok(int f) Check if a flag matches this instances flag.- Parameters:
f
- flag to check- Returns:
- true if a match
-