|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.luc.cs.trull.EmptyComponent
edu.luc.cs.trull.TerminatingComponent
edu.luc.cs.trull.AbstractComponent
edu.luc.cs.trull.EmitComponent
edu.luc.cs.trull.demo.battleship.WindowShip
class WindowShip
User interface for entering Place and Shot events.
| Field Summary | |
|---|---|
(package private) javax.swing.JCheckBox |
hitIndicator
|
(package private) javax.swing.JCheckBox |
sunkIndicator
|
(package private) static int |
windowNumber
|
| Fields inherited from interface edu.luc.cs.trull.demo.battleship.EventLabels |
|---|
HIT, PLACE, SHOT, SUNK |
| Constructor Summary | |
|---|---|
WindowShip(java.lang.String placeLabel)
|
|
| Method Summary | |
|---|---|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
static int |
toInt(javax.swing.JTextField t)
|
| Methods inherited from class edu.luc.cs.trull.EmitComponent |
|---|
eventEmitter, eventEmitterCached, eventEmitterUncached, resume, scheduleEvent, scheduleEvent, scheduleEvent, start, stop, suspend |
| Methods inherited from class edu.luc.cs.trull.AbstractComponent |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getExternalListeners, getPropertyChangeListeners, removePropertyChangeListener |
| Methods inherited from class edu.luc.cs.trull.TerminatingComponent |
|---|
fireTermination, getParent, getTermEvent, scheduleTermination, setTerminationListener |
| Methods inherited from class edu.luc.cs.trull.EmptyComponent |
|---|
getTerminationListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
javax.swing.JCheckBox hitIndicator
javax.swing.JCheckBox sunkIndicator
static int windowNumber
| Constructor Detail |
|---|
public WindowShip(java.lang.String placeLabel)
| Method Detail |
|---|
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class EmptyComponentpublic static int toInt(javax.swing.JTextField t)
|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||