blackboard.data
Interface Positionable
- All Known Implementing Classes:
- Content, ContentFileRef, ContentFolder, CourseDocument, CourseLink, CourseToc, ExternalLink, Lesson, StaffInfo, StaffInfoFolder
public interface Positionable
The Positionable
interface specifies a set of methods for
setting/determining the position of an object within a list of objects.
- Since:
- Bb 5.5
- Version:
- $Revision: #1 $ $Date: 2005/06/27 $
Method Summary |
int |
getPosition()
Returns the position of this item within its current context. |
void |
setPosition(int nPos)
Sets the position of this item within its current context. |
POS_UNDEFINED
static final int POS_UNDEFINED
- See Also:
- Constant Field Values
getPosition
int getPosition()
- Returns the position of this item within its current context. Position
values are zero-based (the first element has a position value of zero).
- Returns:
- the position of this item within its current context. If this value
has not been set or is unknown its value will be
POS_UNDEFINED
.
setPosition
void setPosition(int nPos)
- Sets the position of this item within its current context. Position values
are zero-based (the first element has a position value of zero).
- Parameters:
nPos
- the new position value of this item. This value should be a
positive value.
Copyright © 2003 Blackboard, Inc. All Rights Reserved.