|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IndexRange | |
|---|---|
| edu.cmu.sun.controller | The controller package is responsible for handling user actions. |
| edu.cmu.sun.folds | Handles all of the logic level work for the folded scrolling interaction. |
| edu.cmu.sun.model | All of the back-end logic that determines the nested structure and visual layout of the screen. |
| Uses of IndexRange in edu.cmu.sun.controller |
|---|
| Fields in edu.cmu.sun.controller declared as IndexRange | |
|---|---|
private IndexRange |
FoldViewController.primaryRange
Internal variable to store the range of the main portion of the list. |
| Uses of IndexRange in edu.cmu.sun.folds |
|---|
| Fields in edu.cmu.sun.folds declared as IndexRange | |
|---|---|
(package private) IndexRange |
LayoutComponent.nextRange
This field is used to animate transitions. |
(package private) IndexRange |
LayoutComponent.range
The range of the ListModel that this component is to represent. |
| Methods in edu.cmu.sun.folds that return IndexRange | |
|---|---|
IndexRange |
LayoutComponent.getNextRange()
Returns the range that this compoennt will represent in the model after a call to updateToNextRange(). |
IndexRange |
LayoutComponent.getRange()
The range that this component represnts in the model. |
private IndexRange |
LayoutCreator.primaryRange(int numItems)
Returns an index range to match the window's model. |
| Methods in edu.cmu.sun.folds with parameters of type IndexRange | |
|---|---|
private void |
LayoutTransitoner.addPlanComponent(LayoutComponent.Type type,
ListModel model,
IndexRange range,
IndexRange nextRange)
|
IndexRange.Overlap |
IndexRange.getOverlap(IndexRange r)
Get the overlap between this range and another. |
static IndexRange.Overlap |
IndexRange.getOverlap(IndexRange r1,
IndexRange r2)
Determines the overlap between two ranges. |
void |
IndexRange.merge(IndexRange ir)
Merges this range with the other range this function takes the lowest start, and the highest end, and sets this index range to encompas both |
void |
LayoutComponent.setNextRange(IndexRange nextRange)
Sets the nextRange field. |
void |
LayoutComponent.setRange(IndexRange range)
Seths the range that this component represents in the underlying model. |
| Constructors in edu.cmu.sun.folds with parameters of type IndexRange | |
|---|---|
IndexRange(IndexRange range)
|
|
LayoutComponent(ListModel model,
IndexRange range)
Create a new LayoutComponent that is backed by a model, and represents a range. |
|
LayoutComponent(ListModel model,
IndexRange range,
LayoutComponent.Type type)
Create a new LayoutComponent that is backed by a model, and represents a range. |
|
| Uses of IndexRange in edu.cmu.sun.model |
|---|
| Methods in edu.cmu.sun.model with parameters of type IndexRange | |
|---|---|
java.util.List<ItemModel> |
ListModel.getItemsWithin(IndexRange range)
Builds a list from the internal Items |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||