public class ColorScalePopupAdjuster extends BoundsPopupMenuListener
Constructor and Description |
---|
ColorScalePopupAdjuster(int panecount)
Default Constructor indicating how many panes to use.
|
Modifier and Type | Method and Description |
---|---|
void |
changeItemCount(int count)
Change the number of items that are being adjusted by this adjuster
|
protected void |
customizePopup(BasicComboPopup popup)
Costumize the Popup, by first adjusting the height according to the number of panes set for this
ColorScalePopupAdjuster |
getMaximumWidth, getScrollBarWidth, getScrollPane, horizontalScrollBarWillBeVisible, isPopupAbove, isPopupWider, isScrollBarRequired, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, popupWider, setMaximumWidth, setPopupAbove, setPopupWider, setScrollBarRequired
public ColorScalePopupAdjuster(int panecount)
panecount
- the number of panes to use.protected void customizePopup(BasicComboPopup popup)
ColorScalePopupAdjuster
customizePopup
in class BoundsPopupMenuListener
public void changeItemCount(int count)
count
- The number of items adjusted by this adjuster.Copyright © 2018. All rights reserved.