Interface JListTwinsModel
- All Known Implementing Classes:
DefaultListTwinsModel
public interface JListTwinsModel
- Author:
- Taha Ben Salah (taha.bensalah@gmail.com) %creationtime 14 août 2007 20:48:17
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a listener to the list that's notified each time a change to the data model occurs.voidgetLeftElementAt(int index) intReturns the length of the list.getRightElementAt(int index) intvoidvoidvoidmoveLeft(int rightIndex) voidmoveRight(int leftIndex) voidRemoves a listener from the list that's notified each time a change to the data model occurs.void
-
Method Details
-
getLeftSize
int getLeftSize()Returns the length of the list.- Returns:
- the length of the list
-
getRightSize
int getRightSize() -
getLeftElementAt
-
getRightElementAt
-
moveLeft
void moveLeft(int rightIndex) -
moveRight
void moveRight(int leftIndex) -
moveAllLeft
void moveAllLeft() -
moveAllRight
void moveAllRight() -
addLeftListDataListener
Adds a listener to the list that's notified each time a change to the data model occurs.- Parameters:
l- theListDataListenerto be added
-
addRightListDataListener
-
removeLeftListDataListener
Removes a listener from the list that's notified each time a change to the data model occurs.- Parameters:
l- theListDataListenerto be removed
-
removeRightListDataListener
-