Class VisualBoolean

java.lang.Object
noaa.coastwatch.gui.visual.AbstractVisualObject
noaa.coastwatch.gui.visual.VisualBoolean
All Implemented Interfaces:
ComponentProducer, VisualObject

public class VisualBoolean extends AbstractVisualObject
The VisualBoolean class represents a Boolean as a checkbox button. When the button is pressed, the Boolean changes value.
Since:
3.1.7
Author:
Peter Hollemans
  • Constructor Details

    • VisualBoolean

      public VisualBoolean(Boolean value)
      Creates a new visual Boolean object using the specified Boolean.
  • Method Details

    • getComponent

      public Component getComponent()
      Gets the button used to represent the Boolean.
    • getValue

      public Object getValue()
      Gets the Boolean value.
      Returns:
      the value that this visual object currently holds.
    • main

      public static void main(String[] argv)
      Tests this class.
      Parameters:
      argv - the array of command line parameters.