com.sri.emo.wizard.branch
Class BranchNode

java.lang.Object
  extended by com.sri.emo.wizard.branch.BranchNode

public class BranchNode
extends Object

Title:

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
not attributable

Field Summary
static String DEFAULT_TRANSITION
           
(package private)  Map map
           
(package private)  WizardPage page
           
(package private)  String transitionKey
           
 
Constructor Summary
BranchNode(WizardPage page, String transitionKey)
           
 
Method Summary
 boolean addDefault(WizardPage node)
           
 boolean addNext(String transition, BranchNode node)
           
 boolean addNext(String transition, String transitionKey, WizardPage node)
           
 boolean containsTransitionTo(BranchNode node)
           
 boolean equals(Object o)
           
 List getAllNodes()
           
 Collection getAllTransitions()
           
 BranchNode getDefault()
           
 BranchNode getNext(String transition)
           
 WizardPage getPage()
           
 String getTransitionKey()
           
 boolean hasTransition(String transition)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_TRANSITION

public static final String DEFAULT_TRANSITION
See Also:
Constant Field Values

map

Map map

page

WizardPage page

transitionKey

String transitionKey
Constructor Detail

BranchNode

public BranchNode(WizardPage page,
                  String transitionKey)
Method Detail

getPage

public WizardPage getPage()

getAllNodes

public List getAllNodes()

getNext

public BranchNode getNext(String transition)

getDefault

public BranchNode getDefault()

getAllTransitions

public Collection getAllTransitions()

addDefault

public boolean addDefault(WizardPage node)

addNext

public boolean addNext(String transition,
                       String transitionKey,
                       WizardPage node)

hasTransition

public boolean hasTransition(String transition)

addNext

public boolean addNext(String transition,
                       BranchNode node)

containsTransitionTo

public boolean containsTransitionTo(BranchNode node)

getTransitionKey

public String getTransitionKey()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.