程序包 weka.gui

类 CheckBoxList.CheckBoxListRenderer

所有已实现的接口:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, ListCellRenderer, SwingConstants
封闭类:
CheckBoxList

public class CheckBoxList.CheckBoxListRenderer extends JCheckBox implements ListCellRenderer
A specialized CellRenderer for the CheckBoxList
版本:
$Revision: 7059 $
作者:
fracpete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • CheckBoxListRenderer

      public CheckBoxListRenderer()
  • 方法详细资料

    • getListCellRendererComponent

      public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
      Return a component that has been configured to display the specified value.
      指定者:
      getListCellRendererComponent 在接口中 ListCellRenderer
      参数:
      list - The JList we're painting.
      value - The value returned by list.getModel().getElementAt(index).
      index - The cells index.
      isSelected - True if the specified cell was selected.
      cellHasFocus - True if the specified cell has the focus.
      返回:
      A component whose paint() method will render the specified value.