Trull

edu.luc.cs.trull.swing
Interface VisualComponent

All Superinterfaces:
Component, java.util.EventListener, java.beans.PropertyChangeListener, PropertyChangeSource, Startable, Suspendable, Terminating
All Known Implementing Classes:
ButtonComponent, CarryCounter, ControlPanel, Counter, CounterComponent, Haltable, InputPanel, Pauseable

public interface VisualComponent
extends Component

A visual component is a Trull component with an associated view in the form of a Swing component.


Method Summary
 javax.swing.JComponent getView()
          Returns the Swing component associated with this Trull component.
 
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
 

Method Detail

getView

javax.swing.JComponent getView()
Returns the Swing component associated with this Trull component.

Returns:
the associated Swing component.

Trull

http://www.cs.luc.edu/trull/