public final class AdaptiveListPainter<E extends javax.swing.JList,U extends WebListUI> extends AdaptivePainter<E,U> implements IListPainter<E,U>
component, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
AdaptiveListPainter(Painter painter)
Constructs new AdaptiveListPainter for the specified painter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHoverDecorationSupported()
Returns whether or not hover item decoration is supported by this list painter.
|
void |
prepareToPaint(java.lang.Integer layoutOrientation,
java.lang.Integer listHeight,
java.lang.Integer listWidth,
java.lang.Integer columnCount,
java.lang.Integer rowsPerColumn,
java.lang.Integer preferredHeight,
int cellWidth,
int cellHeight,
int[] cellHeights)
Prepares painter to pain list.
|
addPainterListener, getBorders, getPainter, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallb, borderChange, getCompleteBorder, i, i, i, installPropertyChangeListener, isSectionPainter, isSettingsUpdateAllowed, orientationChange, p, propertyChange, repaint, repaint, repaint, revalidate, saveOrientation, uninstallPropertyChangeListener, updateAll, updateBorder, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getBorders, getPreferredSize, install, isOpaque, paint, removePainterListener, uninstallpublic AdaptiveListPainter(Painter painter)
painter - painter to adaptpublic boolean isHoverDecorationSupported()
IListPainterisHoverDecorationSupported in interface IListPainter<E extends javax.swing.JList,U extends WebListUI>public void prepareToPaint(java.lang.Integer layoutOrientation,
java.lang.Integer listHeight,
java.lang.Integer listWidth,
java.lang.Integer columnCount,
java.lang.Integer rowsPerColumn,
java.lang.Integer preferredHeight,
int cellWidth,
int cellHeight,
int[] cellHeights)
IListPainterprepareToPaint in interface IListPainter<E extends javax.swing.JList,U extends WebListUI>layoutOrientation - cached layout orientationlistHeight - cached list heightlistWidth - cached list widthcolumnCount - cached column countrowsPerColumn - cached rows per column amountpreferredHeight - cached preferred heightcellWidth - cached cell widthcellHeight - cached cell heightcellHeights - cached cell heights