001/*****************************************************************************
002 * Copyright by The HDF Group.                                               *
003 * Copyright by the Board of Trustees of the University of Illinois.         *
004 * All rights reserved.                                                      *
005 *                                                                           *
006 * This file is part of the HDF Java Products distribution.                  *
007 * The full copyright notice, including terms governing use, modification,   *
008 * and redistribution, is contained in the files COPYING and Copyright.html. *
009 * COPYING can be found at the root of the source code distribution tree.    *
010 * Or, see https://support.hdfgroup.org/products/licenses.html               *
011 * If you do not have access to either file, you may request a copy from     *
012 * help@hdfgroup.org.                                                        *
013 ****************************************************************************/
014
015package hdf.view.DataView;
016
017import hdf.object.HObject;
018
019/**
020 * The data view interface for displaying data objects
021 *
022 * @author Peter X. Cao
023 * @version 2.4 9/6/2007
024 */
025public abstract interface DataView {
026    /** The unknown view type */
027    public static final int DATAVIEW_UNKNOWN = -1;
028
029    /** The table view type */
030    public static final int DATAVIEW_TABLE = 1;
031
032    /** The image view type */
033    public static final int DATAVIEW_IMAGE = 2;
034
035    /** @return the data object displayed in this data viewer */
036    public abstract HObject getDataObject();
037}