ucar.unidata.util
Class BooleanProperty

java.lang.Object
  extended by ucar.unidata.util.BooleanProperty

public class BooleanProperty
extends Object

Provides facilities for boolean properties.

Version:
$Revision: 1.14 $ $Date: 2007/03/12 14:09:50 $
Author:
Metapps development group.

Field Summary
protected  boolean okToPropagatePropertyChange
          _more_
 
Constructor Summary
BooleanProperty(BooleanProperty that)
          Copy constructor
BooleanProperty(String id, String name, boolean dflt)
          _more_
BooleanProperty(String id, String name, String desc, boolean dflt)
          _more_
BooleanProperty(String id, String name, String desc, Boolean value, boolean dflt)
          _more_
 
Method Summary
 void addItem(JCheckBoxMenuItem mi)
          _more_
 JCheckBoxMenuItem createCBMI()
          _more_
 boolean equals(Object obj)
          _more_
 boolean getDefault()
          _more_
 boolean getHaveBeenInitialized()
          _more_
 String getId()
          _more_
 String getName()
          _more_
 boolean getValue()
          _more_
 boolean hasValue()
          _more_
 void setDefault(boolean d)
          _more_
 void setValue(boolean newValue)
          _more_
 void setValueInner(boolean newValue)
          _more_
 String toString()
          _more_
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

okToPropagatePropertyChange

protected boolean okToPropagatePropertyChange
_more_

Constructor Detail

BooleanProperty

public BooleanProperty(BooleanProperty that)
Copy constructor

Parameters:
that - the object to copy

BooleanProperty

public BooleanProperty(String id,
                       String name,
                       boolean dflt)
_more_

Parameters:
id -
name -
dflt -

BooleanProperty

public BooleanProperty(String id,
                       String name,
                       String desc,
                       boolean dflt)
_more_

Parameters:
id -
name -
desc -
dflt -

BooleanProperty

public BooleanProperty(String id,
                       String name,
                       String desc,
                       Boolean value,
                       boolean dflt)
_more_

Parameters:
id -
name -
desc -
value - _more_
dflt -
Method Detail

getId

public String getId()
_more_

Returns:
_more_

getName

public String getName()
_more_

Returns:
_more_

getDefault

public boolean getDefault()
_more_

Returns:
_more_

setDefault

public void setDefault(boolean d)
_more_

Parameters:
d - _more_

getValue

public boolean getValue()
_more_

Returns:
_more_

hasValue

public boolean hasValue()
_more_

Returns:
_more_

getHaveBeenInitialized

public boolean getHaveBeenInitialized()
_more_

Returns:
_more_

setValue

public final void setValue(boolean newValue)
_more_

Parameters:
newValue -

setValueInner

public void setValueInner(boolean newValue)
                   throws Exception
_more_

Parameters:
newValue -
Throws:
Exception

addItem

public void addItem(JCheckBoxMenuItem mi)
_more_

Parameters:
mi -

createCBMI

public JCheckBoxMenuItem createCBMI()
_more_

Returns:
_more_

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

equals

public boolean equals(Object obj)
_more_

Overrides:
equals in class Object
Parameters:
obj - _more_
Returns:
_more_