info.aduna.gee.spectacle.gee
Class ContentNavigationStep
java.lang.Object
info.aduna.gee.spectacle.gee.NavigationStep
info.aduna.gee.spectacle.gee.ContentNavigationStep
public class ContentNavigationStep
- extends NavigationStep
A ContentNavigationStep corresponds to an option for a user to
enforce a classification restriction to the current set.
For example, in a set of travel destinations to different countries,
the ContentNavigationStep for the classification "Belgium" represents
an option for the user to restrict the current set of destinations to
only those in Belgium.
The ContentNavigationStep does not use the original classification (e.g.
the String "Belgium") to which it corresponds, but instead it uses a "label".
A label is just the generic, unique, opaque representation of a classification.
ContentNavigationStep
public ContentNavigationStep()
- For serialization only.
ContentNavigationStep
public ContentNavigationStep(EntityContext context,
String label)
- Create a ContentNavigationStep with no minimum step selection.
- See Also:
ContentNavigationStep(info.aduna.gee.spectacle.gee.EntityContext, java.lang.String, double)
ContentNavigationStep
public ContentNavigationStep(EntityContext context,
String label,
double minimumStepSelection)
- Create a ContentNavigationStep.
- Parameters:
context - the Entity Context, which is used to determine the symbolic value of the labellabel - the label applied for this stepminimumStepSelection - don't generate the step if it does not remove at least this fraction of the entities
getLabel
public String getLabel()
- Returns:
- the label
equals
public boolean equals(Object other)
- Specified by:
equals in class NavigationStep
hashCode
public int hashCode()
- Specified by:
hashCode in class NavigationStep
Copyright © 1997-2008 Aduna. All Rights Reserved.