ucar.unidata.idv.control
Class FlaggedDisplayable

java.lang.Object
  extended by ucar.unidata.idv.control.FlaggedDisplayable

public class FlaggedDisplayable
extends Object

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
 Displayable displayable
          The displayable
 int flag
          the flag
 
Constructor Summary
FlaggedDisplayable(Displayable displayable, int flag)
          Create a flagged displayable.
 
Method Summary
 boolean ok(int f)
          Check if a flag matches this instances flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayable

public Displayable displayable
The displayable


flag

public int flag
the flag

Constructor Detail

FlaggedDisplayable

public FlaggedDisplayable(Displayable displayable,
                          int flag)
Create a flagged displayable.

Parameters:
displayable - the displayable
flag - the flag
Method Detail

ok

public boolean ok(int f)
Check if a flag matches this instances flag.

Parameters:
f - flag to check
Returns:
true if a match