|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CardPaneListener
Card pane listener interface.
Nested Class Summary | |
---|---|
static class |
CardPaneListener.Adapter
Card pane listener adapter. |
Method Summary | |
---|---|
Vote |
previewSelectedIndexChange(CardPane cardPane,
int selectedIndex)
Called to preview a selected index change. |
void |
selectedIndexChanged(CardPane cardPane,
int previousSelectedIndex)
Called when a card pane's selected index has changed. |
void |
selectedIndexChangeVetoed(CardPane cardPane,
Vote reason)
Called when a selected index change has been vetoed. |
Method Detail |
---|
Vote previewSelectedIndexChange(CardPane cardPane, int selectedIndex)
cardPane
- The source of the event.selectedIndex
- The index that will be selected.void selectedIndexChangeVetoed(CardPane cardPane, Vote reason)
cardPane
- The source of the event.reason
- The reason the event was vetoed.void selectedIndexChanged(CardPane cardPane, int previousSelectedIndex)
cardPane
- The source of the event.previousSelectedIndex
- If the selection changed directly, contains the index that was previously
selected. Otherwise, contains the current selection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |