driver
Class AppletDriver

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byjavax.swing.JApplet
                      extended bydriver.AppletDriver
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.event.MouseInputListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, javax.swing.RootPaneContainer, java.io.Serializable

public class AppletDriver
extends javax.swing.JApplet
implements java.awt.event.ActionListener, javax.swing.event.MouseInputListener

Class AppletDriver is the Applet to run ABSURDIST II in a interactive GUI.

See Also:
Serialized Form

Nested Class Summary
(package private)  class AppletDriver.AnimationThread
           
(package private)  class AppletDriver.ComputationThread
           
 
Nested classes inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Nested classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private) static int ABS1
          absurdist-Jul-17-2003: Sum(alpha*R-chi*I)=0
(package private)  Absurdist absurdist
           
(package private)  javax.swing.JComboBox algCombo
           
(package private)  javax.swing.JLabel alphaLabel
           
(package private)  javax.swing.JSlider alphaSlider
           
(package private)  javax.swing.JLabel betaLabel
           
(package private)  javax.swing.JSlider betaSlider
           
(package private)  javax.swing.JLabel ccnLabel
           
(package private)  javax.swing.JSlider ccnSlider
           
(package private)  javax.swing.JLabel cinLabel
           
(package private)  javax.swing.JSlider cinSlider
           
(package private)  javax.swing.JButton copyButton
           
(package private)  javax.swing.JPanel copyPanel
           
(package private) static boolean debugMode
           
(package private)  javax.swing.JComboBox directCombo
           
(package private) static int DT
           
(package private) static int EXP
          exponential
(package private)  javax.swing.JLabel fullLabel
           
(package private)  javax.swing.JSlider fullSlider
           
(package private)  java.awt.GridBagConstraints gbConstr
           
(package private)  java.awt.GridBagLayout gbLayout
           
(package private)  javax.swing.JButton genButton
           
(package private)  javax.swing.JPanel genPanel
           
(package private)  GraphPanel graphPanel
           
(package private)  javax.swing.JButton mapButton
           
(package private)  javax.swing.JPanel mapPanel
           
(package private)  javax.swing.JTextField nCatField
           
(package private)  javax.swing.JLabel nCatLabel
           
(package private)  javax.swing.JTextField nConField
           
(package private)  javax.swing.JLabel nConLabel
           
(package private)  javax.swing.JTextField nLabelField
           
(package private)  javax.swing.JLabel nLabelLabel
           
(package private) static int PEN
          penalty
(package private)  PenaltyMinimizer penalmin
           
(package private)  PlotPanel plotPanel
           
(package private)  javax.swing.JCheckBox rankCheck
           
(package private)  javax.swing.JLabel rcnLabel
           
(package private)  javax.swing.JSlider rcnSlider
           
(package private)  javax.swing.JLabel rinLabel
           
(package private)  javax.swing.JSlider rinSlider
           
(package private)  javax.swing.JLabel statusLabel
           
(package private)  javax.swing.JCheckBox valueCheck
           
(package private)  javax.swing.JCheckBox weightCheck
           
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
AppletDriver()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
static void debug(java.lang.String s)
           
static void debugln(java.lang.String s)
           
static void error(java.lang.String s)
           
(package private)  void importSourceSystem(java.lang.String filename)
          Import the source concept system from a text file.
(package private)  void importTargetSystem(java.lang.String filename)
          Imports the target concept system from a text file.
 void init()
           
(package private)  void loadSystems(java.lang.String inFile)
          Initializes Absurdist with two ConceptSystems loaded from a file
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

debugMode

static boolean debugMode

ABS1

static final int ABS1
absurdist-Jul-17-2003: Sum(alpha*R-chi*I)=0

See Also:
Constant Field Values

EXP

static final int EXP
exponential

See Also:
Constant Field Values

PEN

static final int PEN
penalty

See Also:
Constant Field Values

DT

static final int DT
See Also:
Constant Field Values

absurdist

Absurdist absurdist

penalmin

PenaltyMinimizer penalmin

genPanel

javax.swing.JPanel genPanel

nConLabel

javax.swing.JLabel nConLabel

nConField

javax.swing.JTextField nConField

nCatLabel

javax.swing.JLabel nCatLabel

nCatField

javax.swing.JTextField nCatField

rankCheck

javax.swing.JCheckBox rankCheck

valueCheck

javax.swing.JCheckBox valueCheck

fullLabel

javax.swing.JLabel fullLabel

fullSlider

javax.swing.JSlider fullSlider

nLabelLabel

javax.swing.JLabel nLabelLabel

nLabelField

javax.swing.JTextField nLabelField

directCombo

javax.swing.JComboBox directCombo

weightCheck

javax.swing.JCheckBox weightCheck

genButton

javax.swing.JButton genButton

copyPanel

javax.swing.JPanel copyPanel

ccnLabel

javax.swing.JLabel ccnLabel

ccnSlider

javax.swing.JSlider ccnSlider

cinLabel

javax.swing.JLabel cinLabel

cinSlider

javax.swing.JSlider cinSlider

rcnLabel

javax.swing.JLabel rcnLabel

rcnSlider

javax.swing.JSlider rcnSlider

rinLabel

javax.swing.JLabel rinLabel

rinSlider

javax.swing.JSlider rinSlider

copyButton

javax.swing.JButton copyButton

mapPanel

javax.swing.JPanel mapPanel

algCombo

javax.swing.JComboBox algCombo

alphaLabel

javax.swing.JLabel alphaLabel

alphaSlider

javax.swing.JSlider alphaSlider

betaLabel

javax.swing.JLabel betaLabel

betaSlider

javax.swing.JSlider betaSlider

mapButton

javax.swing.JButton mapButton

graphPanel

GraphPanel graphPanel

plotPanel

PlotPanel plotPanel

statusLabel

javax.swing.JLabel statusLabel

gbLayout

java.awt.GridBagLayout gbLayout

gbConstr

java.awt.GridBagConstraints gbConstr
Constructor Detail

AppletDriver

public AppletDriver()
Method Detail

init

public void init()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

debug

public static void debug(java.lang.String s)

debugln

public static void debugln(java.lang.String s)

error

public static void error(java.lang.String s)

loadSystems

void loadSystems(java.lang.String inFile)
Initializes Absurdist with two ConceptSystems loaded from a file


importSourceSystem

void importSourceSystem(java.lang.String filename)
Import the source concept system from a text file.


importTargetSystem

void importTargetSystem(java.lang.String filename)
Imports the target concept system from a text file.