Interface ExtraContentElement


public interface ExtraContentElement
This interface defines the data for one of a sequential list of elements to render in a popup window for an ExtraColumn.
Author:
Andrew Pavlin, KA2DDO
  • Method Details

    • getType

      ExtraContentType getType()
      Gets the type of rendering to be performed for this element.
      Returns:
      ExtraContentType to explain the interpretation of this element.
    • getValueClass

      Class<?> getValueClass()
      Returns the most specific superclass for the element value.
      Returns:
      the common ancestor class of the object value.
    • getValue

      Object getValue()
      Returns the value for the element.
      Returns:
      the value Object at the specified element
    • isEditable

      boolean isEditable()
      Returns true if the element is editable. Otherwise, setValue on the element will not change the value of that element.
      Returns:
      true if the element is editable
      See Also:
    • setValue

      void setValue(Object aValue)
      Sets the value in the element.
      Parameters:
      aValue - the new value
      See Also:
    • getNextValue

      Object getNextValue()
      Returns the next larger value for the element. Used to obtain the changed value for SPINNER type elements.
      Returns:
      the next larger value Object for the element, or null if already at the maximum value or not of SPINNER type
    • getPreviousValue

      Object getPreviousValue()
      Returns the next smaller value for the element. Used to obtain the changed value for SPINNER type elements.
      Returns:
      the next smaller value Object for the element, or null if already at the minimum value or not of SPINNER type