|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.luc.cs.trull.MethodForwardingSupport
class MethodForwardingSupport
Method forwarding support for implementing Composite. The provided methods are distributed (forwarded) to each component in the list.
| Field Summary | |
|---|---|
private java.util.List |
components
The list of components to which to forward the methods. |
| Constructor Summary | |
|---|---|
MethodForwardingSupport(java.util.List components)
Constructs a method forwarding support instance for the given list of components. |
|
| Method Summary | |
|---|---|
void |
resume()
Resumes this suspendable component. |
void |
start(java.beans.PropertyChangeEvent incoming)
Starts this startable component. |
void |
stop()
Stops this startable component. |
void |
suspend()
Suspends this suspendable component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.List components
| Constructor Detail |
|---|
public MethodForwardingSupport(java.util.List components)
components - the list of components.| Method Detail |
|---|
public void resume()
Suspendable
resume in interface Suspendablepublic void start(java.beans.PropertyChangeEvent incoming)
Startable
start in interface Startableincoming - the event that triggered the invocation of this method. May be null.public void stop()
Startable
stop in interface Startablepublic void suspend()
Suspendable
suspend in interface Suspendable
|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||