123456789101112131415161718192021222324 |
- package com.poqop.document.models;
- import com.poqop.document.events.CurrentPageListener;
- import com.poqop.document.events.EventDispatcher;
- /*
- * µ±Ç°Ò³Ãæ
- */
- public class CurrentPageModel extends EventDispatcher
- {
- private int currentPageIndex;
- /*
- * ÉèÖõ±Ç°Ò³
- */
- public void setCurrentPageIndex(int currentPageIndex)
- {
- if (this.currentPageIndex != currentPageIndex)
- {
- this.currentPageIndex = currentPageIndex;
- dispatch(new CurrentPageListener.CurrentPageChangedEvent(currentPageIndex));
- }
- }
- }
|