Class GenericOverlayPropertyChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
ExpressionMaskOverlayPropertyChooser

public class GenericOverlayPropertyChooser extends OverlayPropertyChooser
The GenericOverlayPropertyChooser class is an implementation of an OverlayPropertyChooser that allows the user to edit the properties of an overlay. The generic chooser automatically detects the names of the desired properties by examining the get/set methods and derives the label names from a list of known labels. The title is derived from the overlay class name.
Since:
3.1.7
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • GenericOverlayPropertyChooser

      public GenericOverlayPropertyChooser(EarthDataOverlay newOverlay)
      Creates a new generic overlay property chooser panel.
  • Method Details

    • getComponent

      protected Component getComponent(String property)
      Gets the component for a property name. This can be used by subclasses to modify the component in ways that cannot otherwise be done through restrictions and dependencies.
      Parameters:
      property - the name of the property.
      Returns:
      the component for the property.
    • getTitle

      protected String getTitle()
      Gets the chooser panel title.
      Specified by:
      getTitle in class OverlayPropertyChooser
    • getLabel

      public static String getLabel(String property)
      Gets the label for the specified property. The label is used to annotate the visual property component in the chooser.