All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class BrainWave.BWPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----BrainWave.BWPanel

public class BWPanel
extends Panel
implements ClipboardOwner, MouseListener, MouseMotionListener
The main drawing panel on which all objects are rendered.
Version:
2.0
Author:
Simon Dennis

Method Index

 o checkWeights()
 o copy()
 o cut()
 o CutVCopy(int)
 o getComponentPopup()
 o getCurrentThread()
 o getGrid()
 o getPreferredSize()
 o getSelectedObject()
 o GridIt(int)
 o invalidate()
 o lostOwnership(Clipboard, Transferable)
 o Message(Component, String)
 o Message(Component, String[])
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o paint(Graphics)
 o paste()
 o processMouseEvent(MouseEvent)
 o Question(Component, String, String)
 o selectAll()
 o selectUnits()
 o selectWeights()
 o setBlackAndWhite(boolean)
 o setCurrentThread(Thread)
 o setWeightsVisible(boolean)
 o showPatternSetEditor(PatternSet)
 o unselectAll()
 o update(Graphics)

Methods

 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Container
 o invalidate
 public void invalidate()
Overrides:
invalidate in class Container
 o Message
 public void Message(Component c,
                     String s)
 o Message
 public void Message(Component c,
                     String s[])
 o Question
 public String Question(Component c,
                        String Label,
                        String Text)
 o showPatternSetEditor
 public void showPatternSetEditor(PatternSet patternSet)
 o getComponentPopup
 public PopupMenu getComponentPopup()
 o getCurrentThread
 public Thread getCurrentThread()
 o setCurrentThread
 public void setCurrentThread(Thread t)
 o getGrid
 public boolean getGrid()
 o update
 public void update(Graphics g)
Overrides:
update in class Container
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o selectAll
 public void selectAll()
 o selectUnits
 public void selectUnits()
 o selectWeights
 public void selectWeights()
 o setBlackAndWhite
 public void setBlackAndWhite(boolean selected)
 o setWeightsVisible
 public void setWeightsVisible(boolean visible)
 o cut
 public void cut() throws Exception
 o copy
 public void copy() throws Exception
 o CutVCopy
 public void CutVCopy(int CutVCopy)
 o checkWeights
 public void checkWeights()
 o paste
 public void paste() throws Exception
 o lostOwnership
 public void lostOwnership(Clipboard clip,
                           Transferable t)
 o GridIt
 public int GridIt(int v)
 o unselectAll
 public void unselectAll()
 o processMouseEvent
 public void processMouseEvent(MouseEvent e)
Overrides:
processMouseEvent in class Component
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o getSelectedObject
 public BWObject getSelectedObject()
 o mousePressed
 public void mousePressed(MouseEvent e)
 o mouseReleased
 public void mouseReleased(MouseEvent e)
 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
 o mouseMoved
 public void mouseMoved(MouseEvent event)
 o mouseDragged
 public void mouseDragged(MouseEvent event)

All Packages  Class Hierarchy  This Package  Previous  Next  Index