Class BooleanProperty

java.lang.Object
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 Details

    • okToPropagatePropertyChange

      protected boolean okToPropagatePropertyChange
      _more_
  • Constructor Details

    • 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 Details

    • 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_