|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Staker.domain.StakingNodeCommands
public class StakingNodeCommands
A factory for StakingNodeCommands. Encapsulates the interactive logic of manipulation of StakingNodes.
| Constructor Summary | |
|---|---|
StakingNodeCommands()
|
|
| Method Summary | |
|---|---|
static Command |
createDeleteNodeCommand(java.util.Set set,
StakingNode victim)
Returns a command object that, when invoked, deletes the indicated StakingNode from a set. |
static Command |
createMoveNodeCommand(StakingNode victim,
Coord3D newCoord)
Returns a command object that, when invoked, moves the indicated StakingNode to a new coordinate. |
static Command |
createReparentNodeCommand(StakingNode victim,
StakingNode newParent)
Returns a command object that, when invoked, changes a StakingNode's parent to another specified StakingNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StakingNodeCommands()
| Method Detail |
|---|
public static Command createReparentNodeCommand(StakingNode victim,
StakingNode newParent)
public static Command createDeleteNodeCommand(java.util.Set set,
StakingNode victim)
public static Command createMoveNodeCommand(StakingNode victim,
Coord3D newCoord)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||