Package idare.imagenode.Utilities
Class ColorScalePopupAdjuster
- java.lang.Object
-
- idare.ThirdParty.BoundsPopupMenuListener
-
- idare.imagenode.Utilities.ColorScalePopupAdjuster
-
- All Implemented Interfaces:
EventListener
,PopupMenuListener
public class ColorScalePopupAdjuster extends BoundsPopupMenuListener
A PopupAdjuster for ColorScales, that updates the size of the colorscale being displayed, when selecting colors.- Author:
- Thomas Pfau
-
-
Constructor Summary
Constructors Constructor Description ColorScalePopupAdjuster(int panecount)
Default Constructor indicating how many panes to use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeItemCount(int count)
Change the number of items that are being adjusted by this adjusterprotected void
customizePopup(BasicComboPopup popup)
Costumize the Popup, by first adjusting the height according to the number of panes set for thisColorScalePopupAdjuster
-
Methods inherited from class idare.ThirdParty.BoundsPopupMenuListener
getMaximumWidth, getScrollBarWidth, getScrollPane, horizontalScrollBarWillBeVisible, isPopupAbove, isPopupWider, isScrollBarRequired, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, popupWider, setMaximumWidth, setPopupAbove, setPopupWider, setScrollBarRequired
-
-
-
-
Method Detail
-
customizePopup
protected void customizePopup(BasicComboPopup popup)
Costumize the Popup, by first adjusting the height according to the number of panes set for thisColorScalePopupAdjuster
- Overrides:
customizePopup
in classBoundsPopupMenuListener
-
changeItemCount
public void changeItemCount(int count)
Change the number of items that are being adjusted by this adjuster- Parameters:
count
- The number of items adjusted by this adjuster.
-
-