|
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.swing.ActionEventAdapter
edu.luc.cs.trull.swing.InputPanel
public class InputPanel
A visual component that provides a user interface consisting of a button panel. There is one button for each String event label specified in the constructor argument.
| Field Summary | |
|---|---|
protected javax.swing.JPanel |
buttonPanel
The panel that contains the buttons. |
| Constructor Summary | |
|---|---|
InputPanel(java.lang.String[] labels)
Constructs an input panel with one button for each label in the array. |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getView()
Returns the Swing component associated with this Trull component. |
| Methods inherited from class edu.luc.cs.trull.swing.ActionEventAdapter |
|---|
actionPerformed |
| 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, propertyChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.luc.cs.trull.PropertyChangeSource |
|---|
addPropertyChangeListener, getPropertyChangeListeners, removePropertyChangeListener |
| Methods inherited from interface edu.luc.cs.trull.Startable |
|---|
start, stop |
| Methods inherited from interface edu.luc.cs.trull.Suspendable |
|---|
resume, suspend |
| Methods inherited from interface edu.luc.cs.trull.Terminating |
|---|
getTerminationListener, setTerminationListener |
| Field Detail |
|---|
protected final javax.swing.JPanel buttonPanel
| Constructor Detail |
|---|
public InputPanel(java.lang.String[] labels)
labels - the labels for the buttons.| Method Detail |
|---|
public javax.swing.JComponent getView()
VisualComponent
getView in interface VisualComponent
|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||