X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=compat%2FJList6.java;h=a504abb0db7519ddd63ab45b105f7dd6496093e7;hb=HEAD;hp=e0aea42ef51f6b4c5057960fff64a06e87c5dd8e;hpb=4d9f513eedec6b7a0071a59515550c7fe81779d2;p=fanfix.git diff --git a/compat/JList6.java b/compat/JList6.java deleted file mode 100644 index e0aea42..0000000 --- a/compat/JList6.java +++ /dev/null @@ -1,84 +0,0 @@ -package be.nikiroo.utils.compat; - -import javax.swing.JList; -import javax.swing.ListCellRenderer; -import javax.swing.ListModel; - -/** - * Compatibility layer so I can at least get rid of the warnings of using - * {@link JList} without a parameter (and still staying Java 1.6 compatible). - *
- * This class is merely a {@link JList} that you can parametrise also in Java
- * 1.6.
- *
- * @author niki
- *
- * @param
- * If the {@code prototypeCellValue} property is {@code non-null}, setting
- * the cell renderer also causes the {@code fixedCellWidth} and
- * {@code fixedCellHeight} properties to be re-calculated. Only one
- *
- * The default value of this property is provided by the {@code ListUI}
- * delegate, i.e. by the look and feel implementation.
- *
- * This is a JavaBeans bound property.
- *
- * @param cellRenderer
- * the
- * This is a JavaBeans bound property.
- *
- * @param model
- * the PropertyChangeEvent
is generated however - for the
- * cellRenderer
property.
- * ListCellRenderer
that paints list cells
- * @see #getCellRenderer
- * @beaninfo bound: true attribute: visualUpdate true description: The
- * component used to draw the cells.
- */
- public void setCellRenderer(ListCellRenderer6ListModel
that provides the list of items for
- * display
- * @exception IllegalArgumentException
- * if model
is null
- * @see #getModel
- * @see #clearSelection
- * @beaninfo bound: true attribute: visualUpdate true description: The
- * object that contains the data to be drawn by this JList.
- */
- public void setModel(ListModel6