public interface JListTwinsModel
| Modifier and Type | Method and Description |
|---|---|
void |
addLeftListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change
to the data model occurs.
|
void |
addRightListDataListener(ListDataListener l) |
Object |
getLeftElementAt(int index) |
int |
getLeftSize()
Returns the length of the list.
|
Object |
getRightElementAt(int index) |
int |
getRightSize() |
void |
moveAllLeft() |
void |
moveAllRight() |
void |
moveLeft(int rightIndex) |
void |
moveRight(int leftIndex) |
void |
removeLeftListDataListener(ListDataListener l)
Removes a listener from the list that's notified each time a
change to the data model occurs.
|
void |
removeRightListDataListener(ListDataListener l) |
int getLeftSize()
int getRightSize()
Object getLeftElementAt(int index)
Object getRightElementAt(int index)
void moveLeft(int rightIndex)
void moveRight(int leftIndex)
void moveAllLeft()
void moveAllRight()
void addLeftListDataListener(ListDataListener l)
l - the ListDataListener to be addedvoid addRightListDataListener(ListDataListener l)
void removeLeftListDataListener(ListDataListener l)
l - the ListDataListener to be removedvoid removeRightListDataListener(ListDataListener l)
Copyright © 2021 vpc open source initiative. All rights reserved.