程序包 weka.gui
类 JListHelper
java.lang.Object
weka.gui.JListHelper
A helper class for JList GUI elements with DefaultListModel or
derived models.
- 版本:
- $Revision: 7059 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static boolean
canMoveDown
(JList list) checks whether the selected items can be moved downstatic boolean
checks whether the selected items can be moved upstatic void
moveBottom
(JList list) moves the selected items to the endstatic void
moves the selected item down by 1static void
moves the selected items to the topstatic void
moves the selected items up by 1
-
字段详细资料
-
构造器详细资料
-
JListHelper
public JListHelper()
-
-
方法详细资料
-
moveUp
moves the selected items up by 1- 参数:
list
- the JList to work on
-
moveDown
moves the selected item down by 1- 参数:
list
- the JList to work on
-
moveTop
moves the selected items to the top- 参数:
list
- the JList to work on
-
moveBottom
moves the selected items to the end- 参数:
list
- the JList to work on
-
canMoveUp
checks whether the selected items can be moved up- 参数:
list
- the JList to work on
-
canMoveDown
checks whether the selected items can be moved down- 参数:
list
- the JList to work on
-