Class AutoScrollPaneCustomizer
- java.lang.Object
-
- io.codeworth.panelmatic.util.customizers.AutoScrollPaneCustomizer
-
- All Implemented Interfaces:
PanelMaticComponentCustomizer
public class AutoScrollPaneCustomizer extends Object implements PanelMaticComponentCustomizer
WrapsScrollables in aJScrollPane. Leaves other components untouched.- Author:
- michael
-
-
Constructor Summary
Constructors Constructor Description AutoScrollPaneCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponentcustomize(String labelText, JComponent aJcomponent)Customize the component.
-
-
-
Method Detail
-
customize
public JComponent customize(String labelText, JComponent aJcomponent)
Description copied from interface:PanelMaticComponentCustomizerCustomize the component. Note that this method also allows for wrapping the component in a new component, or replacing it altogether.- Specified by:
customizein interfacePanelMaticComponentCustomizer- Parameters:
labelText- the string for the label (ornull). Useful for meta-data, as in adding a tool-tip according to it.aJcomponent- the component to customize- Returns:
- Normally the passed component; could also be a wrapping component or even a new one.
-
-