⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mypageselectionmodel.java

📁 Document will be uploaded soon
💻 JAVA
字号:
package com.component.pagination;

import java.util.BitSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;

import javax.swing.event.EventListenerList;


public class MyPageSelectionModel implements PageSelectionModel
{
	
	protected EventListenerList listenerList = new EventListenerList();
	
	private int selectionMode = MULTIPLE_SELECTION;
	
	Map<String,BitSet> selectionsMap = new HashMap<String, BitSet>();
	
	public void addPageSelectionListener(PageSelectionListener l)
	{
		listenerList.add(PageSelectionListener.class, l);
	}
	
	public void removePageSelectionListener(PageSelectionListener l)
	{
		listenerList.remove(PageSelectionListener.class, l);
	}
	
	public void clearAll()
	{

	}

	public void clearPage(String pageIndex)
	{

	}

	public void fireSelectionValueChanged(PageSelectionEvent selectionEvent)
	{

	}

	public Vector<PageElementIndex> getSelectedPageIndices()
	{
		return null;
	}

	public int getSelectionCount()
	{
		return 0;
	}

	public int getSelectionMode()
	{
		return selectionMode;
	}

	public void invertPageSelection(String pageIndex)
	{

	}

	public boolean isSelectedIndex(String pageIndex, int index)
	{
		return false;
	}

	public boolean isSelectionEmpty()
	{
		return false;
	}

	public void selectAll()
	{

	}

	public void selectPage(String pageIndex)
	{

	}

	public void setSelectionMode(int selectionMode)
	{

	}

	
	public static void main(String[] args)
	{

	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -