Interface ModelViewable


  • @Deprecated
    public interface ModelViewable
    Deprecated.
    Indicates an object allows multiple views to an underlying data model.

    Bound properties:

    MODEL_VIEW_PROPERTY (Integer)
    Indicates the data view has been changed.
    Author:
    Garret Wilson
    • Field Detail

      • MODEL_VIEW_PROPERTY

        static final java.lang.String MODEL_VIEW_PROPERTY
        Deprecated.
        The name of the bound view property.
      • NO_MODEL_VIEW

        static final int NO_MODEL_VIEW
        Deprecated.
        Represents no view of the data. This should only be used for error conditions and when the data is not being viewed.
        See Also:
        Constant Field Values
      • TREE_MODEL_VIEW

        static final int TREE_MODEL_VIEW
        Deprecated.
        The view in which the data is shown in a tree structure.
        See Also:
        Constant Field Values
      • GRAPH_MODEL_VIEW

        static final int GRAPH_MODEL_VIEW
        Deprecated.
        The view in which the data is shown in a graph structure.
        See Also:
        Constant Field Values
      • WYSIWYG_MODEL_VIEW

        static final int WYSIWYG_MODEL_VIEW
        Deprecated.
        The view in which the data is shown as it would be in its final form.
        See Also:
        Constant Field Values
      • SEQUENCE_MODEL_VIEW

        static final int SEQUENCE_MODEL_VIEW
        Deprecated.
        The view in which a sequence of items is shown, perhaps as a card deck.
        See Also:
        Constant Field Values
      • LIST_MODEL_VIEW

        static final int LIST_MODEL_VIEW
        Deprecated.
        The view in which a list of items is shown.
        See Also:
        Constant Field Values
      • SUMMARY_MODEL_VIEW

        static final int SUMMARY_MODEL_VIEW
        Deprecated.
        The view in which the data is shown as a brief overview.
        See Also:
        Constant Field Values
      • SOURCE_MODEL_VIEW

        static final int SOURCE_MODEL_VIEW
        Deprecated.
        The view in which any source data used to generate the data is shown.
        See Also:
        Constant Field Values
      • CONFIGURATION_MODEL_VIEW

        static final int CONFIGURATION_MODEL_VIEW
        Deprecated.
        The view in which configuration and settings data is shown.
        See Also:
        Constant Field Values
    • Method Detail

      • getSupportedModelViews

        int[] getSupportedModelViews()
        Deprecated.
        Returns:
        An array of supported model views.
      • isModelViewSupported

        boolean isModelViewSupported​(int modelView)
        Deprecated.
        Determines whether this object supports the given data view.
        Parameters:
        modelView - A model view such as SUMMARY_MODEL_VIEW.
        Returns:
        true if and only if this object supports the indicated model view.
      • getDefaultModelView

        int getDefaultModelView()
        Deprecated.
        Returns:
        The default view of the data, such as SUMMARY_MODEL_VIEW.
      • getModelView

        int getModelView()
        Deprecated.
        Returns:
        The view of the data, such as SUMMARY_MODEL_VIEW.
      • setModelView

        void setModelView​(int newView)
        Deprecated.
        Sets the view of the data.
        Parameters:
        newView - The view of the data, such as SUMMARY_MODEL_VIEW.
        Throws:
        java.lang.IllegalArgumentException - Thrown if the given view is not supported.