Package games.stendhal.client.gui.styled
Class StyledSplitPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SplitPaneUI
javax.swing.plaf.basic.BasicSplitPaneUI
games.stendhal.client.gui.styled.StyledSplitPaneUI
A SplitPaneUI implementation for drawing pixmap styled JSplitPanes.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
BasicSplitPaneUI.BasicHorizontalLayoutManager, BasicSplitPaneUI.BasicVerticalLayoutManager, BasicSplitPaneUI.FocusHandler, BasicSplitPaneUI.KeyboardDownRightHandler, BasicSplitPaneUI.KeyboardEndHandler, BasicSplitPaneUI.KeyboardHomeHandler, BasicSplitPaneUI.KeyboardResizeToggleHandler, BasicSplitPaneUI.KeyboardUpLeftHandler, BasicSplitPaneUI.PropertyHandler
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
beginDragDividerLocation, divider, dividerResizeToggleKey, dividerSize, downKey, draggingHW, endKey, focusListener, homeKey, KEYBOARD_DIVIDER_MOVE_OFFSET, keyboardDownRightListener, keyboardEndListener, keyboardHomeListener, keyboardResizeToggleListener, keyboardUpLeftListener, layoutManager, leftKey, NON_CONTINUOUS_DIVIDER, nonContinuousLayoutDivider, propertyChangeListener, rightKey, splitPane, upKey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent pane)
protected void
dragDividerTo(int location)
int
int
getPreferredSize(JComponent comp)
void
installUI(JComponent pane)
void
setDividerLocation(JSplitPane pane, int location)
Methods inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
createDefaultNonContinuousLayoutDivider, createFocusListener, createKeyboardDownRightListener, createKeyboardEndListener, createKeyboardHomeListener, createKeyboardResizeToggleListener, createKeyboardUpLeftListener, createPropertyChangeListener, finishDraggingTo, finishedPaintingChildren, getDivider, getDividerBorderSize, getDividerLocation, getInsets, getLastDragLocation, getMaximumSize, getMinimumSize, getNonContinuousLayoutDivider, getOrientation, getSplitPane, installDefaults, installKeyboardActions, installListeners, isContinuousLayout, paint, resetLayoutManager, resetToPreferredSizes, setContinuousLayout, setLastDragLocation, setNonContinuousLayoutDivider, setNonContinuousLayoutDivider, setOrientation, startDragging, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Constructor Details
-
StyledSplitPaneUI
Create a new StyledSplitPaneUI.- Parameters:
style
- pixmap style
-
-
Method Details
-
createUI
-
createDefaultDivider
- Overrides:
createDefaultDivider
in classBasicSplitPaneUI
-
installUI
- Overrides:
installUI
in classBasicSplitPaneUI
-
getMaximumDividerLocation
- Overrides:
getMaximumDividerLocation
in classBasicSplitPaneUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classBasicSplitPaneUI
-
getMinimumDividerLocation
- Overrides:
getMinimumDividerLocation
in classBasicSplitPaneUI
-
setDividerLocation
- Overrides:
setDividerLocation
in classBasicSplitPaneUI
-
dragDividerTo
protected void dragDividerTo(int location)- Overrides:
dragDividerTo
in classBasicSplitPaneUI
-