Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
ChangeColorActivity (User source, User target, User affected, int colorID) | |
boolean | isValid () |
void | dispatch (IActivityReceiver receiver) |
String | toString () |
User | getAffected () |
int | getColorID () |
User | getTarget () |
Protected Attributes | |
final User | target |
final User | affected |
final int | colorID |
Activity for managing color changes.
de.fu_berlin.inf.dpp.activities.ChangeColorActivity.ChangeColorActivity | ( | User | source, |
User | target, | ||
User | affected, | ||
int | colorID | ||
) |
void de.fu_berlin.inf.dpp.activities.ChangeColorActivity.dispatch | ( | IActivityReceiver | receiver | ) |
User de.fu_berlin.inf.dpp.activities.ChangeColorActivity.getAffected | ( | ) |
Returns the user that color id should be changed
null
if the user is no longer part of the session. int de.fu_berlin.inf.dpp.activities.ChangeColorActivity.getColorID | ( | ) |
Returns the new color id for the affected user.
User de.fu_berlin.inf.dpp.activities.ChangeColorActivity.getTarget | ( | ) |
Implements de.fu_berlin.inf.dpp.activities.ITargetedActivity.
boolean de.fu_berlin.inf.dpp.activities.ChangeColorActivity.isValid | ( | ) |
Reimplemented from de.fu_berlin.inf.dpp.activities.AbstractActivity.
String de.fu_berlin.inf.dpp.activities.ChangeColorActivity.toString | ( | ) |
final User de.fu_berlin.inf.dpp.activities.ChangeColorActivity.affected [protected] |
final int de.fu_berlin.inf.dpp.activities.ChangeColorActivity.colorID [protected] |
final User de.fu_berlin.inf.dpp.activities.ChangeColorActivity.target [protected] |