Class BasicScrollablePanelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.ScrollablePanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.BasicScrollablePanelUI
-
public class BasicScrollablePanelUI extends ScrollablePanelUI
Basic UI for scrollable panelJScrollablePanel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classBasicScrollablePanelUI.ScrollablePanelLayoutLayout for the scrollable panel.
-
Field Summary
Fields Modifier and Type Field Description protected JScrollablePanelscrollablePanelThe associated scrollable panel.
-
Constructor Summary
Constructors Constructor Description BasicScrollablePanelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureLeftScrollerButtonAction()protected voidconfigureRightScrollerButtonAction()protected JCommandButtoncreateLeadingScroller()protected JCommandButtoncreateTrailingScroller()static ComponentUIcreateUI(JComponent c)protected voidinstallComponents()protected voidinstallDefaults()protected voidinstallListeners()voidinstallUI(JComponent c)booleanisShowingScrollButtons()voidremoveScrollers()voidscrollToIfNecessary(int startPosition, int span)protected voiduninstallComponents()protected voiduninstallDefaults()protected voiduninstallListeners()voiduninstallUI(JComponent c)-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
-
-
-
Field Detail
-
scrollablePanel
protected JScrollablePanel scrollablePanel
The associated scrollable panel.
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUIin classComponentUI
-
installListeners
protected void installListeners()
-
installComponents
protected void installComponents()
-
installDefaults
protected void installDefaults()
-
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUIin classComponentUI
-
uninstallDefaults
protected void uninstallDefaults()
-
uninstallComponents
protected void uninstallComponents()
-
uninstallListeners
protected void uninstallListeners()
-
createLeadingScroller
protected JCommandButton createLeadingScroller()
-
createTrailingScroller
protected JCommandButton createTrailingScroller()
-
removeScrollers
public void removeScrollers()
-
configureLeftScrollerButtonAction
protected void configureLeftScrollerButtonAction()
-
configureRightScrollerButtonAction
protected void configureRightScrollerButtonAction()
-
scrollToIfNecessary
public void scrollToIfNecessary(int startPosition, int span)- Specified by:
scrollToIfNecessaryin classScrollablePanelUI
-
isShowingScrollButtons
public boolean isShowingScrollButtons()
- Specified by:
isShowingScrollButtonsin classScrollablePanelUI
-
-