| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.ProofItem
public abstract class ProofItem
Extended by ProofBox and ProofLine.
| Constructor Summary | |
|---|---|
| ProofItem(ProofWindow pParentWindow)Constructs a ProofItem. | |
| ProofItem(ProofWindow pParentWindow,
          ProofBox pParentBox)Constructs a ProofItem. | |
| Method Summary | |
|---|---|
|  void | deselectLine()Carries out the methods required to show and record that a ProgramLine has been deselected | 
|  void | deselectLineNoClear()Carries out the methods required to show and record that a ProgramLine has been deselected without clearing the last selected item for the ProofWindow. | 
| abstract  javax.swing.JPanel | display()Returns a JPanel containing this ProofItem. | 
|  void | displayColour()Sets the display colour of the ProofItem depending on if the item is selected. | 
|  ProofBox | getParentBox()Returns the ProofBox that contains the current ProofItem. | 
|  ProofWindow | getParentWindow()Returns the ProofWindow that contains this ProofItem. | 
|  void | mouseClicked(java.awt.event.MouseEvent e)Responds to a ProofItem with a mouse listener being clicked. | 
|  void | mouseEntered(java.awt.event.MouseEvent e)Responds to an object with a mouse listener when a mouse over occurs. | 
|  void | mouseExited(java.awt.event.MouseEvent e)Responds to an object with a mouse listener when a mouse over occurs. | 
|  void | mousePressed(java.awt.event.MouseEvent e)Responds to an object with a mouse listener being clicked. | 
|  void | mouseReleased(java.awt.event.MouseEvent e)Responds to an object with a mouse listener being clicked. | 
| abstract  int[] | recalculateLineNum(int pThisLine,
                   int pNextLine)Returns the line number for next ProofItem. | 
|  void | setParentBox(ProofBox pParentBox)Sets the ProofBox that contains this ProofItem. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ProofItem(ProofWindow pParentWindow)
pParentWindow - The ProofWindow that the item is inside.
public ProofItem(ProofWindow pParentWindow,
                 ProofBox pParentBox)
pParentWindow - The ProofWindow that the item is inside.pParentBox - The outer ProofBox that contains this ProofItem.| Method Detail | 
|---|
public ProofWindow getParentWindow()
public ProofBox getParentBox()
public void setParentBox(ProofBox pParentBox)
pParentBox - The ProofBox that the item is inside.
public abstract int[] recalculateLineNum(int pThisLine,
                                         int pNextLine)
pThisLine - The line number of the this ProofItem.pNextLine - the line number of this ProgramLinepublic void deselectLine()
public void deselectLineNoClear()
public abstract javax.swing.JPanel display()
public void displayColour()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenere - the object with a mouse listener that was clickedpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenere - the object with a mouse listenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenere - the object with a mouse listenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenere - the object with a mouse listener that was clickedpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenere - the object with a mouse listener that was clicked| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||