org.concord.pedagogica.ui
Class ActivityView

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--org.concord.pedagogica.ui.ActivityView
All Implemented Interfaces:
java.awt.event.ActionListener, ActivityItemErrorHandler, javax.swing.event.ChangeListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.lang.Runnable, java.io.Serializable

public class ActivityView
extends javax.swing.JComponent
implements java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, javax.swing.event.ChangeListener, java.lang.Runnable, ActivityItemErrorHandler

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  Activity activity
           
protected  javax.swing.JTextField activityNameField
           
protected  javax.swing.JLabel activityNameLabel
           
protected  ActivityNodeItem activityNode
           
protected  javax.swing.JButton arcButton
           
protected  java.awt.Point arcDragPoint
           
protected  java.lang.String arch
           
static java.lang.String ASCEND_FROM_NODE
           
protected static java.lang.String baseTitle
           
protected  java.lang.String[][] buttonData
           
protected  javax.swing.JPanel buttonPanel
           
protected  java.util.Hashtable buttonTable
           
protected  javax.swing.JButton cancelButton
           
protected  org.concord.client.view.ClientConsole consoleText
           
protected  javax.swing.JPopupMenu controlMenu
           
static java.lang.String COPY_SELECTED
           
protected  javax.swing.JButton copyButton
           
static java.lang.String CREATE_ARC_ITEM
           
static java.lang.String CREATE_NODE_ITEM
           
protected  ActivityArcItem createdArc
           
protected  java.lang.Object currentActionItem
           
protected  java.awt.Color currentColor
           
protected  java.lang.String currentString
           
static java.lang.String CUT_SELECTED
           
protected  javax.swing.JButton cutButton
           
protected  boolean debug
           
static java.lang.String DELETE_SELECTED
           
protected  javax.swing.JButton deleteButton
           
protected  boolean deleteConfirmed
           
protected  javax.swing.JDialog deleteDialog
           
protected  javax.swing.JLabel deleteLabel
           
protected  javax.swing.JPanel deletePanel
           
static java.lang.String DESCEND_INTO_NODE
           
protected static int DOUBLECLICK_INTERVAL
           
protected  javax.swing.JButton downButton
           
protected  ActivityArcItem dragArc
           
protected  javax.swing.JMenuItem editItem
           
protected  PathDialog editPathDialog
           
protected  StringDialog editStringDialog
           
protected  javax.swing.JMenuItem editStringItem
           
protected  javax.swing.JMenuItem exportItem
           
protected  org.concord.pedagogica.ui.ActivityView.ActivityFileFilter fileFilter
           
protected  javax.swing.JButton findButton
           
protected  long firstClick
           
protected  javax.swing.JFrame frame
           
protected  org.xml.sax.helpers.DefaultHandler handler
           
protected  javax.swing.JFileChooser importFileChooser
           
protected  org.concord.pedagogica.ui.ActivityView.ImportFileFilter importFilter
           
protected  javax.swing.JMenuItem importItem
           
protected  javax.swing.JTextField itemNameField
           
protected  javax.swing.JLabel itemNameLabel
           
protected  java.util.Hashtable itemTable
           
protected  org.concord.client.JavaCommand javaCommand
           
protected  java.lang.String javaHome
           
protected  java.lang.String javaVersion
           
protected  int lastX
           
protected  int lastY
           
protected  java.util.Vector listeners
           
static java.lang.String LOAD_ACTIVITY
           
protected  javax.swing.JButton loadButton
           
protected  java.lang.ClassLoader loader
           
protected  javax.swing.JFileChooser loadFileChooser
           
protected  int maxX
           
protected  int maxY
           
protected  int minX
           
protected  int minY
           
protected  boolean modified
           
static java.lang.String NEW_ACTIVITY
           
protected  javax.swing.JButton newButton
           
protected  javax.swing.JButton nodeButton
           
protected  java.util.Stack nodeStack
           
protected  java.util.Vector nodeViewList
           
protected  javax.swing.JButton okButton
           
static java.lang.String PASTE
           
protected  javax.swing.JButton pasteButton
           
protected  java.lang.String platform
           
protected  java.awt.Dimension preferredSize
           
protected  java.io.PrintWriter printWriter
           
protected  java.lang.Process process
           
protected  org.concord.client.ClientProperties properties
           
protected  java.io.File propertiesFile
           
protected  javax.swing.JPanel propertyPanel
           
protected  java.util.Hashtable resourceData
           
static java.lang.String RUN_ACTIVITY
           
protected  RunActivity runActivity
           
protected  javax.swing.JButton runButton
           
static java.lang.String SAVE_ACTIVITY
           
protected  javax.swing.JMenuItem saveAsItem
           
protected  javax.swing.JButton saveButton
           
protected  javax.swing.JFileChooser saveFileChooser
           
protected  javax.swing.JMenuItem scriptEASL
           
protected  javax.swing.JMenuItem scriptECMA
           
protected  java.lang.String scriptType
           
protected  javax.swing.JMenu scriptTypeMenu
           
protected  ActivitySearch search
           
static java.lang.String SEARCH_AND_REPLACE
           
protected  java.lang.Exception searchException
           
protected  ActivitySearchResult searchResult
           
protected  java.util.Vector searchResults
           
static java.lang.String SELECT_ITEM
           
protected  javax.swing.JButton selectButton
           
protected  java.util.Vector selected
           
protected  ActivityItem selectedItem
           
protected  javax.swing.ButtonGroup selectGroup
           
static java.lang.String SET_START_NODE
           
protected  javax.swing.JButton startButton
           
protected  javax.swing.JLabel startName
           
protected  javax.swing.JLabel startNameLabel
           
static java.lang.String STOP_ACTIVITY
           
protected  javax.swing.JButton stopButton
           
protected  java.lang.String text
           
protected  javax.swing.JTextArea textArea
           
protected  javax.swing.JButton upButton
           
protected  java.io.File userDirectory
           
protected  NodeViewEditor viewEditor
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
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
ActivityView()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void addActivityItemListener(ActivityItemListener listener)
           
protected  void attachArc(ActivityArcItem arcItem, int x, int y)
           
 void clearSearchResult()
           
protected  void clearSelected()
           
 java.io.File copy(java.io.File src, java.io.File dst)
           
protected  void copySelectedItems()
           
protected  void createArcItem(java.util.Vector nodeItems, java.util.Vector arcItems, int x, int y)
           
protected  void createNodeItem(java.util.Vector nodeItems, int x, int y)
           
protected  void cutSelectedItems()
           
 void deleteSelectedItems()
           
 ActivityNodeItem getActivityNode()
           
 javax.swing.JPanel getButtonPanel()
           
 javax.swing.JTextArea getConsoleText()
           
 javax.swing.JFrame getFrame()
           
 java.lang.String getItemName()
           
 java.lang.String getJavaHome()
           
 boolean getModified()
           
 java.util.Vector getNodeList()
           
 NodeViewEditor getNodeViewEditor()
           
 org.concord.client.ClientProperties getProperties()
           
 javax.swing.JPanel getPropertyPanel()
           
 ActivitySearchResult getSearchResult()
           
 void itemError(ActivityItem item)
           
 void load(java.io.File loadFile)
           
 void loadResourceData(java.util.zip.ZipFile zipFile)
           
static void main(java.lang.String[] args)
           
 void mouseClicked(java.awt.event.MouseEvent event)
           
 void mouseDragged(java.awt.event.MouseEvent event)
           
 void mouseEntered(java.awt.event.MouseEvent event)
           
 void mouseExited(java.awt.event.MouseEvent event)
           
 void mouseMoved(java.awt.event.MouseEvent event)
           
 void mousePressed(java.awt.event.MouseEvent event)
           
 void mouseReleased(java.awt.event.MouseEvent event)
           
protected  void moveSelectedItems(int x, int y)
           
protected  void normalizePosition()
           
protected  void notifyActivityItemListeners(java.lang.Object source, boolean changed)
           
 void paintComponent(java.awt.Graphics g)
           
 void parseInput(java.io.InputStream input)
           
protected  void pasteItems()
           
 void removeActivityItemListener(ActivityItemListener listener)
           
 void run()
           
 void runActivity()
           
 void save(java.io.File saveFile)
           
 void saveActivity()
           
 void saveAsActivity(java.io.File saveFile)
           
 void saveFileData(ScriptFile inFile, java.io.OutputStream output)
           
 void saveResourceData(java.util.zip.ZipOutputStream zipOutput)
           
protected  void searchAll()
           
protected  void searchGoTo(ActivitySearchResult result)
           
protected  void searchReplace()
           
protected  void searchReplaceAll()
           
protected  void selectItems(int x, int y, boolean multiple)
           
 void setActivity(Activity activity)
           
 void setActivityNode(ActivityNodeItem node)
           
 void setFrame(javax.swing.JFrame frame)
           
 void setItemName(java.lang.String itemName)
           
 void setJavaHome(java.lang.String path)
           
 void setModified(boolean modifyValue)
           
 void setProperties(org.concord.client.ClientProperties props)
           
 void setStartNode(ActivityNodeItem nodeItem)
           
 void stateChanged(javax.swing.event.ChangeEvent event)
           
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

baseTitle

protected static final java.lang.String baseTitle

DOUBLECLICK_INTERVAL

protected static final int DOUBLECLICK_INTERVAL

platform

protected java.lang.String platform

arch

protected java.lang.String arch

javaVersion

protected java.lang.String javaVersion

loader

protected java.lang.ClassLoader loader

preferredSize

protected java.awt.Dimension preferredSize

debug

protected boolean debug

scriptType

protected java.lang.String scriptType

firstClick

protected long firstClick

currentColor

protected java.awt.Color currentColor

activity

protected Activity activity

activityNode

protected ActivityNodeItem activityNode

controlMenu

protected javax.swing.JPopupMenu controlMenu

propertyPanel

protected javax.swing.JPanel propertyPanel

saveAsItem

protected javax.swing.JMenuItem saveAsItem

exportItem

protected javax.swing.JMenuItem exportItem

importItem

protected javax.swing.JMenuItem importItem

editItem

protected javax.swing.JMenuItem editItem

editStringItem

protected javax.swing.JMenuItem editStringItem

scriptTypeMenu

protected javax.swing.JMenu scriptTypeMenu

scriptEASL

protected javax.swing.JMenuItem scriptEASL

scriptECMA

protected javax.swing.JMenuItem scriptECMA

selectButton

protected javax.swing.JButton selectButton

nodeButton

protected javax.swing.JButton nodeButton

arcButton

protected javax.swing.JButton arcButton

startButton

protected javax.swing.JButton startButton

runButton

protected javax.swing.JButton runButton

stopButton

protected javax.swing.JButton stopButton

newButton

protected javax.swing.JButton newButton

loadButton

protected javax.swing.JButton loadButton

saveButton

protected javax.swing.JButton saveButton

copyButton

protected javax.swing.JButton copyButton

pasteButton

protected javax.swing.JButton pasteButton

cutButton

protected javax.swing.JButton cutButton

deleteButton

protected javax.swing.JButton deleteButton

downButton

protected javax.swing.JButton downButton

upButton

protected javax.swing.JButton upButton

findButton

protected javax.swing.JButton findButton

selectGroup

protected javax.swing.ButtonGroup selectGroup

buttonPanel

protected javax.swing.JPanel buttonPanel

activityNameLabel

protected javax.swing.JLabel activityNameLabel

activityNameField

protected javax.swing.JTextField activityNameField

itemNameLabel

protected javax.swing.JLabel itemNameLabel

itemNameField

protected javax.swing.JTextField itemNameField

startNameLabel

protected javax.swing.JLabel startNameLabel

startName

protected javax.swing.JLabel startName

frame

protected javax.swing.JFrame frame

deleteDialog

protected javax.swing.JDialog deleteDialog

deletePanel

protected javax.swing.JPanel deletePanel

okButton

protected javax.swing.JButton okButton

cancelButton

protected javax.swing.JButton cancelButton

deleteLabel

protected javax.swing.JLabel deleteLabel

deleteConfirmed

protected boolean deleteConfirmed

editPathDialog

protected PathDialog editPathDialog

editStringDialog

protected StringDialog editStringDialog

textArea

protected javax.swing.JTextArea textArea

lastX

protected int lastX

lastY

protected int lastY

minX

protected int minX

minY

protected int minY

maxX

protected int maxX

maxY

protected int maxY

selected

protected java.util.Vector selected

selectedItem

protected ActivityItem selectedItem

createdArc

protected ActivityArcItem createdArc

dragArc

protected ActivityArcItem dragArc

arcDragPoint

protected java.awt.Point arcDragPoint

currentActionItem

protected java.lang.Object currentActionItem

viewEditor

protected NodeViewEditor viewEditor

userDirectory

protected java.io.File userDirectory

properties

protected org.concord.client.ClientProperties properties

propertiesFile

protected java.io.File propertiesFile

runActivity

protected RunActivity runActivity

listeners

protected java.util.Vector listeners

javaHome

protected java.lang.String javaHome

text

protected java.lang.String text

currentString

protected java.lang.String currentString

itemTable

protected java.util.Hashtable itemTable

resourceData

protected java.util.Hashtable resourceData

loadFileChooser

protected javax.swing.JFileChooser loadFileChooser

importFileChooser

protected javax.swing.JFileChooser importFileChooser

saveFileChooser

protected javax.swing.JFileChooser saveFileChooser

fileFilter

protected org.concord.pedagogica.ui.ActivityView.ActivityFileFilter fileFilter

importFilter

protected org.concord.pedagogica.ui.ActivityView.ImportFileFilter importFilter

nodeStack

protected java.util.Stack nodeStack

nodeViewList

protected java.util.Vector nodeViewList

search

protected ActivitySearch search

process

protected java.lang.Process process

searchResults

protected java.util.Vector searchResults

searchException

protected java.lang.Exception searchException

searchResult

protected ActivitySearchResult searchResult

modified

protected boolean modified

javaCommand

protected org.concord.client.JavaCommand javaCommand

consoleText

protected org.concord.client.view.ClientConsole consoleText

printWriter

protected java.io.PrintWriter printWriter

handler

protected org.xml.sax.helpers.DefaultHandler handler

SELECT_ITEM

public static final java.lang.String SELECT_ITEM

CREATE_NODE_ITEM

public static final java.lang.String CREATE_NODE_ITEM

CREATE_ARC_ITEM

public static final java.lang.String CREATE_ARC_ITEM

SET_START_NODE

public static final java.lang.String SET_START_NODE

RUN_ACTIVITY

public static final java.lang.String RUN_ACTIVITY

STOP_ACTIVITY

public static final java.lang.String STOP_ACTIVITY

NEW_ACTIVITY

public static final java.lang.String NEW_ACTIVITY

LOAD_ACTIVITY

public static final java.lang.String LOAD_ACTIVITY

SAVE_ACTIVITY

public static final java.lang.String SAVE_ACTIVITY

COPY_SELECTED

public static final java.lang.String COPY_SELECTED

PASTE

public static final java.lang.String PASTE

CUT_SELECTED

public static final java.lang.String CUT_SELECTED

DELETE_SELECTED

public static final java.lang.String DELETE_SELECTED

DESCEND_INTO_NODE

public static final java.lang.String DESCEND_INTO_NODE

ASCEND_FROM_NODE

public static final java.lang.String ASCEND_FROM_NODE

SEARCH_AND_REPLACE

public static final java.lang.String SEARCH_AND_REPLACE

buttonData

protected java.lang.String[][] buttonData

buttonTable

protected java.util.Hashtable buttonTable
Constructor Detail

ActivityView

public ActivityView()
Method Detail

getFrame

public javax.swing.JFrame getFrame()

setFrame

public void setFrame(javax.swing.JFrame frame)

getProperties

public org.concord.client.ClientProperties getProperties()

setProperties

public void setProperties(org.concord.client.ClientProperties props)

getNodeViewEditor

public NodeViewEditor getNodeViewEditor()

setActivityNode

public void setActivityNode(ActivityNodeItem node)

getActivityNode

public ActivityNodeItem getActivityNode()

setActivity

public void setActivity(Activity activity)

getJavaHome

public java.lang.String getJavaHome()

setJavaHome

public void setJavaHome(java.lang.String path)

getNodeList

public java.util.Vector getNodeList()

setStartNode

public void setStartNode(ActivityNodeItem nodeItem)

copySelectedItems

protected void copySelectedItems()

cutSelectedItems

protected void cutSelectedItems()

pasteItems

protected void pasteItems()

deleteSelectedItems

public void deleteSelectedItems()

getPropertyPanel

public javax.swing.JPanel getPropertyPanel()

getButtonPanel

public javax.swing.JPanel getButtonPanel()

getItemName

public java.lang.String getItemName()

setItemName

public void setItemName(java.lang.String itemName)

getConsoleText

public javax.swing.JTextArea getConsoleText()

getModified

public boolean getModified()

setModified

public void setModified(boolean modifyValue)

runActivity

public void runActivity()

saveActivity

public void saveActivity()

saveAsActivity

public void saveAsActivity(java.io.File saveFile)

itemError

public void itemError(ActivityItem item)
Specified by:
itemError in interface ActivityItemErrorHandler

paintComponent

public void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class javax.swing.JComponent

searchAll

protected void searchAll()

searchGoTo

protected void searchGoTo(ActivitySearchResult result)

searchReplace

protected void searchReplace()

searchReplaceAll

protected void searchReplaceAll()

actionPerformed

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

getSearchResult

public ActivitySearchResult getSearchResult()

clearSearchResult

public void clearSearchResult()

clearSelected

protected void clearSelected()

attachArc

protected void attachArc(ActivityArcItem arcItem,
                         int x,
                         int y)

selectItems

protected void selectItems(int x,
                           int y,
                           boolean multiple)

createArcItem

protected void createArcItem(java.util.Vector nodeItems,
                             java.util.Vector arcItems,
                             int x,
                             int y)

createNodeItem

protected void createNodeItem(java.util.Vector nodeItems,
                              int x,
                              int y)

moveSelectedItems

protected void moveSelectedItems(int x,
                                 int y)

normalizePosition

protected void normalizePosition()

mousePressed

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

mouseReleased

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

mouseClicked

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

mouseEntered

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

mouseExited

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

mouseDragged

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

mouseMoved

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

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent event)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

addActivityItemListener

public void addActivityItemListener(ActivityItemListener listener)

removeActivityItemListener

public void removeActivityItemListener(ActivityItemListener listener)

notifyActivityItemListeners

protected void notifyActivityItemListeners(java.lang.Object source,
                                           boolean changed)

saveFileData

public void saveFileData(ScriptFile inFile,
                         java.io.OutputStream output)

saveResourceData

public void saveResourceData(java.util.zip.ZipOutputStream zipOutput)

save

public void save(java.io.File saveFile)

copy

public java.io.File copy(java.io.File src,
                         java.io.File dst)

loadResourceData

public void loadResourceData(java.util.zip.ZipFile zipFile)

load

public void load(java.io.File loadFile)

run

public void run()
Specified by:
run in interface java.lang.Runnable

parseInput

public void parseInput(java.io.InputStream input)

main

public static void main(java.lang.String[] args)