org.rosuda.deducer.data
Class DataViewerController

java.lang.Object
  extended by org.rosuda.deducer.data.DataViewerController

public class DataViewerController
extends java.lang.Object


Constructor Summary
DataViewerController()
           
 
Method Summary
static void addDataType(java.lang.String type, java.lang.String shortName)
           
static void addTabFactory(java.lang.String dataClass, java.lang.String name, DataViewerTabFactory t)
           
static void addViewerWindow(DataViewer v)
           
static DataViewerTab generateTab(java.lang.String dataClass, java.lang.String tabName, java.lang.String dataName)
           
static java.util.LinkedList getDataSets()
           
static javax.swing.JPanel getDefaultPanel()
           
static java.lang.String[] getTabNames(java.lang.String dataClass)
           
static java.util.ArrayList getViewerWindows()
           
static void init()
           
static void refreshData()
           
static boolean removeDataType(java.lang.String type, java.lang.String shortName)
           
static void removeTabFactory(java.lang.String dataClass, java.lang.String name)
           
static void removeViewerWindow(DataViewer v)
           
static void setClearDataVisible(boolean show)
           
static void setDefaultPanel(javax.swing.JPanel p)
           
static void setOpenDataVisible(boolean show)
           
static void setSaveDataVisible(boolean show)
           
static boolean showClearDataButton()
           
static boolean showOpenDataButton()
           
static boolean showSaveDataButton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataViewerController

public DataViewerController()
Method Detail

init

public static void init()

addViewerWindow

public static void addViewerWindow(DataViewer v)

getViewerWindows

public static java.util.ArrayList getViewerWindows()

removeViewerWindow

public static void removeViewerWindow(DataViewer v)

addTabFactory

public static void addTabFactory(java.lang.String dataClass,
                                 java.lang.String name,
                                 DataViewerTabFactory t)

removeTabFactory

public static void removeTabFactory(java.lang.String dataClass,
                                    java.lang.String name)

getTabNames

public static java.lang.String[] getTabNames(java.lang.String dataClass)

generateTab

public static DataViewerTab generateTab(java.lang.String dataClass,
                                        java.lang.String tabName,
                                        java.lang.String dataName)

getDefaultPanel

public static javax.swing.JPanel getDefaultPanel()

setDefaultPanel

public static void setDefaultPanel(javax.swing.JPanel p)

showSaveDataButton

public static boolean showSaveDataButton()

showOpenDataButton

public static boolean showOpenDataButton()

showClearDataButton

public static boolean showClearDataButton()

setSaveDataVisible

public static void setSaveDataVisible(boolean show)

setOpenDataVisible

public static void setOpenDataVisible(boolean show)

setClearDataVisible

public static void setClearDataVisible(boolean show)

addDataType

public static void addDataType(java.lang.String type,
                               java.lang.String shortName)

removeDataType

public static boolean removeDataType(java.lang.String type,
                                     java.lang.String shortName)

refreshData

public static void refreshData()

getDataSets

public static java.util.LinkedList getDataSets()