public class GUIChooserApp
extends javax.swing.JFrame
| Modifier and Type | Class and Description |
|---|---|
static class |
GUIChooserApp.ChildFrameSDI
Specialized JFrame class.
|
static class |
GUIChooserApp.GUIChooserDefaults
Inner class for defaults
|
javax.swing.JFrame.AccessibleJFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashSet<java.awt.Container> |
m_ChildFrames
contains the child frames (title <-> object).
|
protected javax.swing.JButton |
m_ExperimenterBut
Click to open the Explorer
|
protected javax.swing.JButton |
m_ExplorerBut
Click to open the Explorer
|
protected javax.swing.JFileChooser |
m_FileChooserGraphVisualizer
filechooser for the GraphVisualizer
|
protected javax.swing.JFileChooser |
m_FileChooserPlot
filechooser for Plots
|
protected javax.swing.JFileChooser |
m_FileChooserROC
filechooser for ROC curves
|
protected javax.swing.JFileChooser |
m_FileChooserTreeVisualizer
filechooser for the TreeVisualizer
|
protected java.util.Vector<javax.swing.JFrame> |
m_Frames
The frames for the various applications that are open
|
protected java.awt.Image |
m_Icon
the icon for the frames
|
protected javax.swing.JButton |
m_KnowledgeFlowBut
Click to open the KnowledgeFlow
|
protected static LogWindow |
m_LogWindow
The frame of the LogWindow
|
protected javax.swing.JPanel |
m_PanelApplications
the panel for the application buttons
|
protected GUIChooserApp |
m_Self
the GUIChooser itself
|
protected javax.swing.JButton |
m_SimpleBut
Click to open the simplecli
|
protected javax.swing.JButton |
m_WorkbenchBut
Click to open the Workbench
|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
GUIChooserApp()
Creates the experiment environment gui with no initial experiment
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildFrame(java.awt.Container c)
adds the given child frame to the list of frames.
|
protected java.awt.Container |
createFrame(GUIChooserApp parent,
java.lang.String title,
java.awt.Component c,
java.awt.LayoutManager layout,
java.lang.Object layoutConstraints,
int width,
int height,
javax.swing.JMenuBar menu,
boolean listener,
boolean visible)
creates a frame and returns it.
|
static void |
createSingleton()
Create a singleton instance of the GUIChooser
|
protected void |
createTitle(java.lang.String title)
creates and displays the title.
|
static GUIChooserApp |
getSingleton()
Get the singleton instance of the GUIChooser
|
protected void |
insertMenuItem(javax.swing.JMenu menu,
javax.swing.JMenuItem menuitem)
insert the menu item in a sorted fashion.
|
protected void |
insertMenuItem(javax.swing.JMenu menu,
javax.swing.JMenuItem menuitem,
int startIndex)
insert the menu item in a sorted fashion.
|
static void |
main(java.lang.String[] args)
Tests out the GUIChooser environment.
|
boolean |
removeChildFrame(java.awt.Container c)
tries to remove the child frame, it returns true if it could do such.
|
void |
showExplorer(java.lang.String fileToLoad) |
void |
showKnowledgeFlow(java.lang.String fileToLoad) |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected GUIChooserApp m_Self
protected java.util.Vector<javax.swing.JFrame> m_Frames
protected javax.swing.JPanel m_PanelApplications
protected javax.swing.JButton m_WorkbenchBut
protected javax.swing.JButton m_ExplorerBut
protected javax.swing.JButton m_ExperimenterBut
protected javax.swing.JButton m_KnowledgeFlowBut
protected javax.swing.JButton m_SimpleBut
protected static LogWindow m_LogWindow
protected javax.swing.JFileChooser m_FileChooserTreeVisualizer
protected javax.swing.JFileChooser m_FileChooserGraphVisualizer
protected javax.swing.JFileChooser m_FileChooserPlot
protected javax.swing.JFileChooser m_FileChooserROC
protected java.awt.Image m_Icon
protected java.util.HashSet<java.awt.Container> m_ChildFrames
public GUIChooserApp()
public static void createSingleton()
public static GUIChooserApp getSingleton()
public void showKnowledgeFlow(java.lang.String fileToLoad)
public void showExplorer(java.lang.String fileToLoad)
protected void insertMenuItem(javax.swing.JMenu menu,
javax.swing.JMenuItem menuitem)
menu - the menu to add the item tomenuitem - the menu item to addprotected void insertMenuItem(javax.swing.JMenu menu,
javax.swing.JMenuItem menuitem,
int startIndex)
menu - the menu to add the item tomenuitem - the menu item to addstartIndex - the index in the menu to start with (0-based)protected java.awt.Container createFrame(GUIChooserApp parent, java.lang.String title, java.awt.Component c, java.awt.LayoutManager layout, java.lang.Object layoutConstraints, int width, int height, javax.swing.JMenuBar menu, boolean listener, boolean visible)
parent - the parent of the generated frametitle - the title of the framec - the component to place, can be nulllayout - the layout to use, e.g., BorderLayoutlayoutConstraints - the layout constraints, e.g., BorderLayout.CENTERwidth - the width of the frame, ignored if -1height - the height of the frame, ignored if -1menu - an optional menulistener - if true a default listener is addedvisible - if true then the frame is made visible immediatelyprotected void createTitle(java.lang.String title)
title - the additional part of the titlepublic void addChildFrame(java.awt.Container c)
c - the child frame to addpublic boolean removeChildFrame(java.awt.Container c)
c - the child frame to removepublic static void main(java.lang.String[] args)
args - ignored.