public class GUIChooser extends JFrame
Modifier and Type | Class and Description |
---|---|
static class |
GUIChooser.ChildFrameSDI
Specialized JFrame class.
|
JFrame.AccessibleJFrame
Frame.AccessibleAWTFrame
Window.AccessibleAWTWindow, Window.Type
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected Vector |
m_ArffViewers
keeps track of the opened ArffViewer instancs
|
protected JFrame |
m_BayesNetGUIFrame
The frame containing the Bayes net GUI
|
protected JFrame |
m_BoundaryVisualizerFrame
The frame containing the boundary visualizer
|
protected HashSet<Container> |
m_ChildFrames
contains the child frames (title <-> object).
|
protected JFrame |
m_EnsembleLibraryFrame
The frame containing the ensemble library interface
|
protected JButton |
m_ExperimenterBut
Click to open the Explorer
|
protected JFrame |
m_ExperimenterFrame
The frame containing the experiment interface
|
protected JButton |
m_ExplorerBut
Click to open the Explorer
|
protected JFrame |
m_ExplorerFrame
The frame containing the explorer interface
|
protected JFileChooser |
m_FileChooserGraphVisualizer
filechooser for the GraphVisualizer
|
protected JFileChooser |
m_FileChooserPlot
filechooser for Plots
|
protected JFileChooser |
m_FileChooserROC
filechooser for ROC curves
|
protected JFileChooser |
m_FileChooserTreeVisualizer
filechooser for the TreeVisualizer
|
protected Vector |
m_GraphVisualizers
keeps track of the opened graph visualizer instancs
|
protected Image |
m_Icon
the icon for the frames
|
protected JButton |
m_KnowledgeFlowBut
Click to open the KnowledgeFlow
|
protected JFrame |
m_KnowledgeFlowFrame
The frame containing the knowledge flow interface
|
protected static LogWindow |
m_LogWindow
The frame of the LogWindow
|
protected JFrame |
m_MemoryUsageFrame
The frame containing the memory usage
|
protected JPanel |
m_PanelApplications
the panel for the application buttons
|
protected String |
m_pendingKnowledgeFlowLoad
Pending file to load on startup of the KnowledgeFlow
|
protected Vector |
m_Plots
keeps track of the opened plots
|
protected Vector |
m_ROCs
keeps track of the opened ROCs
|
protected GUIChooser |
m_Self
the GUIChooser itself
|
protected JButton |
m_SimpleBut
Click to open the simplecli
|
protected SimpleCLI |
m_SimpleCLI
The SimpleCLI
|
protected JFrame |
m_SqlViewerFrame
The frame containing the SqlViewer
|
protected JFrame |
m_SystemInfoFrame
The frame containing the system info
|
protected Vector |
m_TreeVisualizers
keeps track of the opened tree visualizer instancs
|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
CROSSHAIR_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_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
GUIChooser()
Creates the experiment environment gui with no initial experiment
|
Modifier and Type | Method and Description |
---|---|
void |
addChildFrame(Container c)
adds the given child frame to the list of frames.
|
protected Container |
createFrame(GUIChooser parent,
String title,
Component c,
LayoutManager layout,
Object layoutConstraints,
int width,
int height,
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(String title)
creates and displays the title.
|
static GUIChooser |
getSingleton()
Get the singleton instance of the GUIChooser
|
protected void |
insertMenuItem(JMenu menu,
JMenuItem menuitem)
insert the menu item in a sorted fashion.
|
protected void |
insertMenuItem(JMenu menu,
JMenuItem menuitem,
int startIndex)
insert the menu item in a sorted fashion.
|
static void |
main(String[] args)
Tests out the GUIChooser environment.
|
boolean |
removeChildFrame(Container c)
tries to remove the child frame, it returns true if it could do such.
|
void |
showExplorer(String fileToLoad) |
void |
showKnowledgeFlow(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, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, 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, toFront
add, 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, validateTree
action, 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, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFont, postEvent
protected GUIChooser m_Self
protected JPanel m_PanelApplications
protected JButton m_ExplorerBut
protected JFrame m_ExplorerFrame
protected JButton m_ExperimenterBut
protected JFrame m_ExperimenterFrame
protected JButton m_KnowledgeFlowBut
protected String m_pendingKnowledgeFlowLoad
protected JFrame m_KnowledgeFlowFrame
protected JButton m_SimpleBut
protected SimpleCLI m_SimpleCLI
protected Vector m_ArffViewers
protected JFrame m_SqlViewerFrame
protected JFrame m_BayesNetGUIFrame
protected JFrame m_EnsembleLibraryFrame
protected Vector m_Plots
protected Vector m_ROCs
protected Vector m_TreeVisualizers
protected Vector m_GraphVisualizers
protected JFrame m_BoundaryVisualizerFrame
protected JFrame m_SystemInfoFrame
protected JFrame m_MemoryUsageFrame
protected static LogWindow m_LogWindow
protected JFileChooser m_FileChooserTreeVisualizer
protected JFileChooser m_FileChooserGraphVisualizer
protected JFileChooser m_FileChooserPlot
protected JFileChooser m_FileChooserROC
protected Image m_Icon
public GUIChooser()
public static void createSingleton()
public static GUIChooser getSingleton()
public void showKnowledgeFlow(String fileToLoad)
public void showExplorer(String fileToLoad)
protected void insertMenuItem(JMenu menu, JMenuItem menuitem)
menu
- the menu to add the item tomenuitem
- the menu item to addprotected void insertMenuItem(JMenu menu, 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 Container createFrame(GUIChooser parent, String title, Component c, LayoutManager layout, Object layoutConstraints, int width, int height, 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(String title)
title
- the additional part of the titlepublic void addChildFrame(Container c)
c
- the child frame to addpublic boolean removeChildFrame(Container c)
c
- the child frame to removepublic static void main(String[] args)
args
- ignored.Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.