|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPandora.ProofItem
public abstract class ProofItem
Extended by ProofBox and ProofLine.
| Constructor Summary | |
|---|---|
ProofItem(ProofWindow parentWindow)
Constructs a ProofItem. |
|
ProofItem(ProofWindow parentWindow,
ProofBox parentBox)
Constructs a ProofItem. |
|
| Method Summary | |
|---|---|
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 line)
Returns the line number for next ProofItem. |
void |
setParentBox(ProofBox parentBox)
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 parentWindow)
parentWindow - The ProofWindow that the item is inside.
public ProofItem(ProofWindow parentWindow,
ProofBox parentBox)
parentWindow - The ProofWindow that the item is inside.parentBox - The outer ProofBox that contains this ProofItem.| Method Detail |
|---|
public ProofWindow getParentWindow()
public ProofBox getParentBox()
public void setParentBox(ProofBox parentBox)
parentBox - The ProofBox that the item is inside.public abstract int recalculateLineNum(int line)
line - The line number of the this ProofItem.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 | ||||||||