public class MyApplet
extends javax.swing.JApplet
Modifier and Type | Class | Description |
---|---|---|
class |
MyApplet.BondInteractionTypeToggler |
Options for type of bond-interaction (e-bonds, f-bonds, etc)
|
class |
MyApplet.BondTypeToggler |
Options for type of bond array
|
class |
MyApplet.ComponentEventMyPanel |
This class is to be notified to graphicOut2 when the window of applet is resized
|
class |
MyApplet.ConnectedToggler |
|
class |
MyApplet.GraphicsToggler |
|
class |
MyApplet.MouseEventClusterPanel |
This class is for showing bonds of selected cluster in GraphicPanel
|
class |
MyApplet.NumbersToggler |
Options for showing index of particle or not
|
class |
MyApplet.PointsToggler |
Option of showing particles or not
|
class |
MyApplet.ReeHooverToggler |
Options for type of bond-interaction (e-bonds, f-bonds, etc)
|
class |
MyApplet.Starter |
|
class |
MyApplet.Stopper |
java.applet.Applet.AccessibleApplet
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
java.awt.Container.AccessibleAWTContainer
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
allPermutations |
|
protected java.awt.Checkbox |
allPermutationsCB |
|
protected MyApplet.BondTypeToggler |
bondTypeToggler |
|
protected java.awt.Checkbox |
checkBox |
|
protected java.awt.Checkbox |
checkBox1 |
|
protected java.awt.Checkbox |
checkBox2 |
|
protected ClusterDiagram |
cluster |
|
protected javax.swing.JTabbedPane |
displayPanel |
|
protected java.awt.Checkbox |
eDrawBondsCB |
|
protected java.awt.Checkbox |
excludeArticulationPairCB |
|
protected java.awt.Checkbox |
excludeArticulationPointCB |
|
protected java.awt.Checkbox |
excludeNodalPointCB |
|
protected java.awt.Checkbox |
fDrawBondsCB |
|
protected java.awt.GridBagConstraints |
gbConst |
|
protected java.awt.GridBagLayout |
gbLayout |
|
protected java.awt.Checkbox |
generateGraphicsCB |
|
protected ClusterGenerator |
generator |
|
protected javax.swing.JButton |
goButton |
|
protected javax.swing.JScrollPane |
graphicOut |
|
protected javax.swing.JPanel |
graphicOut2 |
|
protected MyApplet.GraphicsToggler |
graphicsToggler |
|
protected javax.swing.JPanel |
managerPanel |
|
javax.swing.JPanel |
myPanel |
|
protected int |
nBody |
|
protected java.awt.TextField |
nBodyField |
|
protected java.awt.TextField |
nRootField |
|
protected java.awt.Checkbox |
onlyDoublyConnectedCB |
|
protected java.awt.Checkbox |
onlySinglyConnectedCB |
|
protected java.awt.TextArea |
output |
|
protected javax.swing.JRadioButton |
radioB |
|
protected javax.swing.JRadioButton |
radioB1 |
|
protected java.awt.Checkbox |
reeHooverCB |
|
protected boolean |
running |
|
MyApplet.Starter |
starter |
|
protected boolean |
stopNow |
|
protected MyApplet.Stopper |
stopper |
|
protected java.awt.TextArea |
textAreaForBonds |
|
protected javax.swing.JTextField |
totalNCluster |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor | Description |
---|---|
MyApplet() |
Modifier and Type | Method | Description |
---|---|---|
void |
addComponent(java.awt.Component c,
javax.swing.JPanel panel,
int row,
int column,
int width,
int height) |
Componet c is added to JPanel panel following the rule of GridBagLayout manager
|
void |
init() |
|
void |
makeGraphicsPanel() |
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
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, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
public javax.swing.JPanel myPanel
protected ClusterDiagram cluster
protected ClusterGenerator generator
protected int nBody
protected java.awt.TextArea output
protected java.awt.TextField nBodyField
protected java.awt.TextField nRootField
protected java.awt.Checkbox allPermutationsCB
protected java.awt.Checkbox onlyDoublyConnectedCB
protected java.awt.Checkbox onlySinglyConnectedCB
protected java.awt.Checkbox excludeNodalPointCB
protected java.awt.Checkbox excludeArticulationPointCB
protected java.awt.Checkbox excludeArticulationPairCB
protected java.awt.Checkbox generateGraphicsCB
protected java.awt.Checkbox eDrawBondsCB
protected java.awt.Checkbox fDrawBondsCB
protected java.awt.Checkbox reeHooverCB
protected boolean running
protected javax.swing.JButton goButton
public MyApplet.Starter starter
protected MyApplet.Stopper stopper
protected MyApplet.GraphicsToggler graphicsToggler
protected boolean stopNow
protected javax.swing.JScrollPane graphicOut
protected javax.swing.JPanel graphicOut2
protected javax.swing.JPanel managerPanel
protected javax.swing.JTabbedPane displayPanel
protected java.awt.GridBagConstraints gbConst
protected java.awt.TextArea textAreaForBonds
protected java.awt.GridBagLayout gbLayout
protected java.awt.Checkbox checkBox
protected java.awt.Checkbox checkBox1
protected java.awt.Checkbox checkBox2
protected javax.swing.JRadioButton radioB
protected javax.swing.JRadioButton radioB1
protected MyApplet.BondTypeToggler bondTypeToggler
protected javax.swing.JTextField totalNCluster
protected boolean allPermutations
public void init()
init
in class java.applet.Applet
public void makeGraphicsPanel()
public void addComponent(java.awt.Component c, javax.swing.JPanel panel, int row, int column, int width, int height)