org.pushingpixels.flamingo.internal.ui.common
public class BasicScrollablePanelUI extends ScrollablePanelUI
JScrollablePanel
.Modifier and Type | Class and Description |
---|---|
protected class |
BasicScrollablePanelUI.ScrollablePanelLayout
Layout for the scrollable panel.
|
Modifier and Type | Field and Description |
---|---|
protected JScrollablePanel |
scrollablePanel
The associated scrollable panel.
|
Constructor and Description |
---|
BasicScrollablePanelUI() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureLeftScrollerButtonAction() |
protected void |
configureRightScrollerButtonAction() |
protected JCommandButton |
createLeadingScroller() |
protected JCommandButton |
createTrailingScroller() |
static ComponentUI |
createUI(JComponent c) |
protected void |
installComponents() |
protected void |
installDefaults() |
protected void |
installListeners() |
void |
installUI(JComponent c) |
boolean |
isShowingScrollButtons() |
void |
removeScrollers() |
void |
scrollToIfNecessary(int startPosition,
int span) |
protected void |
uninstallComponents() |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
void |
uninstallUI(JComponent c) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
protected JScrollablePanel scrollablePanel
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class ComponentUI
protected void installListeners()
protected void installComponents()
protected void installDefaults()
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void uninstallDefaults()
protected void uninstallComponents()
protected void uninstallListeners()
protected JCommandButton createLeadingScroller()
protected JCommandButton createTrailingScroller()
public void removeScrollers()
protected void configureLeftScrollerButtonAction()
protected void configureRightScrollerButtonAction()
public void scrollToIfNecessary(int startPosition, int span)
scrollToIfNecessary
in class ScrollablePanelUI
public boolean isShowingScrollButtons()
isShowingScrollButtons
in class ScrollablePanelUI