edu.luc.cs.trull.demo.counter
Class Pauseable
java.lang.Object
edu.luc.cs.trull.EmptyComponent
edu.luc.cs.trull.TerminatingComponent
edu.luc.cs.trull.AbstractComponent
edu.luc.cs.trull.AbstractCombinator
edu.luc.cs.trull.SingleChildCombinator
edu.luc.cs.trull.Rename
edu.luc.cs.trull.Local
edu.luc.cs.trull.demo.counter.Pauseable
- All Implemented Interfaces:
- Combinator, Component, EventLabels, PropertyChangeSource, Startable, Suspendable, VisualComponent, Terminating, java.beans.PropertyChangeListener, java.util.EventListener
public class Pauseable
- extends Local
- implements VisualComponent, EventLabels
A suspend/resume wrapper around a component.
view Triveni source
|
Constructor Summary |
Pauseable(java.lang.String pauseLab,
java.lang.String continueLab,
Component component)
|
|
Method Summary |
javax.swing.JComponent |
getView()
Returns the Swing component associated with this Trull component. |
| Methods inherited from class edu.luc.cs.trull.Rename |
addEventRenaming, getChildTerminationListener, getDefaultChild, getEventRenamings, getInternalListener, getLocalEvents, propertyChange, removeEventRenaming, setLocalEvent, setLocalEvents, setLocalEvents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
component
private Component component
continueLab
private java.lang.String continueLab
panel
private javax.swing.JPanel panel
pauseLab
private java.lang.String pauseLab
Pauseable
public Pauseable(java.lang.String pauseLab,
java.lang.String continueLab,
Component component)
getView
public javax.swing.JComponent getView()
- Description copied from interface:
VisualComponent
- Returns the Swing component associated with this Trull component.
- Specified by:
getView in interface VisualComponent
- Returns:
- the associated Swing component.
http://www.cs.luc.edu/trull/