|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
edu.wwu.tobikley.acgc.ui.ACGC
public class ACGC
GUI for the Approximate Counting and Graph Coloring algorithms.
Nested Class Summary | |
---|---|
(package private) class |
ACGC.CountingTask
|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
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 |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ACGC()
This is the default constructor |
Method Summary | |
---|---|
private JComboBox |
getAlgSelected()
This method initializes algSelected |
private JButton |
getCountButton()
This method initializes countButton |
private JTextField |
getIterations()
This method initializes iterations |
private JPanel |
getJContentPane()
This method initializes jContentPane |
private JTextField |
getNumberOfColors()
This method initializes numberOfColors |
private JLabel |
getParametersLabel()
This method initializes parametersLabel |
private JTextField |
getPrecision()
This method initializes precision |
private JTextField |
getProbability()
This method initializes probability |
private JProgressBar |
getProgressBar()
This method initializes progressBar |
private JTextArea |
getResultList()
This method initializes resultList |
private JScrollPane |
getResultScrollPane()
This method initializes resultScrollPane |
private JButton |
getSelectGraphButton()
This method initializes selectGraphButton |
private JButton |
getShowGraphButton()
This method initializes showGraphButton |
private void |
initialize()
This method initializes this |
static void |
main(String[] args)
|
void |
propertyChange(PropertyChangeEvent evt)
|
private void |
setProgressText(String progressText)
|
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
private static final long serialVersionUID
private JPanel jContentPane
private JButton selectGraphButton
private CountingAlgorithm countingAlgorithm
private JLabel selectedGraphFile
private JLabel numberColoringsLabel
private JLabel numberOfColorings
private JLabel runTimeLabel
private JLabel runTime
private JButton countButton
private JLabel numberOfColorsLabel
private JTextField numberOfColors
private JProgressBar progressBar
private static ACGC thisClass
private ExecutorService executor
private Future<BigInteger> res
private Graph graph
private ACGC.CountingTask task
private JLabel precisionLabel
private JLabel probabilityLabel
private JTextField precision
private JTextField probability
private JComboBox algSelected
private JButton showGraphButton
private JTextArea resultList
private JScrollPane resultScrollPane
private JLabel progressText
private JLabel iterationsLabel
private JTextField iterations
private JLabel resultsLabel
private JLabel parametersLabel
private JLabel graphLabel
private JLabel selectAlgorithmLabel
Constructor Detail |
---|
public ACGC()
Method Detail |
---|
private void setProgressText(String progressText)
private JButton getSelectGraphButton()
private JButton getCountButton()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
private JTextField getNumberOfColors()
private JProgressBar getProgressBar()
private JTextField getPrecision()
private JTextField getProbability()
private JComboBox getAlgSelected()
private JButton getShowGraphButton()
private JTextArea getResultList()
private JScrollPane getResultScrollPane()
private JTextField getIterations()
private JLabel getParametersLabel()
public static void main(String[] args)
args
- private void initialize()
private JPanel getJContentPane()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |