Class XTCEViewerContainerContentRow

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class XTCEViewerContainerContentRow
    extends JPanel
    This is the JPanel that is used inside the scroll region in the XTCEViewerContainerContentDialog class and also the variation class XTCEViewerContainerEncodingDialog. Two constructors are used with this. The decode class uses this in a much simpler way and does not need the extra two arguments on the second larger constructor.
    Author:
    dovereem
    See Also:
    Serialized Form
    • Constructor Detail

      • XTCEViewerContainerContentRow

        public XTCEViewerContainerContentRow​(XTCEContainerContentEntry entry,
                                             boolean showAllNamespaces,
                                             boolean showNamespaces,
                                             String preferredNamespace)
        Constructor to create a new JPanel to display information about a container content entry.
        Parameters:
        entry - XTCEContainerContentEntry from the processed container content list.
        showAllNamespaces - boolean indicating if the user preference to show all alias namespace is set. This is used for the first column that displays the name of the item.
        showNamespaces - boolean indicating if namespace names should be shown per the user preference. This is used for the first column that displays the name of the item.
        preferredNamespace - String containing the user preferred namespace name, if there is one, based on the user preference. This is used for the first column that displays the name of the item.
      • XTCEViewerContainerContentRow

        public XTCEViewerContainerContentRow​(XTCEContainerContentEntry entry,
                                             boolean showAllNamespaces,
                                             boolean showNamespaces,
                                             String preferredNamespace,
                                             XTCEViewerContainerEncodingDialog dialog,
                                             List<XTCEContainerEntryValue> values)
        Constructor to create a new JPanel to display information about a container content entry where the row is editable.
        Parameters:
        entry - XTCEContainerContentEntry from the processed container content list.
        showAllNamespaces - boolean indicating if the user preference to show all alias namespace is set. This is used for the first column that displays the name of the item.
        showNamespaces - boolean indicating if namespace names should be shown per the user preference. This is used for the first column that displays the name of the item.
        preferredNamespace - String containing the user preferred namespace name, if there is one, based on the user preference. This is used for the first column that displays the name of the item.
        dialog - XTCEViewerContainerEncodingDialog parent used for callback on value change.
        values - List of XTCEContainerEntryValue containing the values that are being updated for this container content.