blackboard.data
Interface Positionable
- All Known Implementing Classes:
- Content, StaffInfo
- 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: 5 $ $Date: 5/08/01 4:29p $
|
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
public static final int POS_UNDEFINED
- See Also:
- Constant Field Values
getPosition
public 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
public 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.