Package com.tagtraum.beatunes.plaf
Class BeaTunesSplitPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.SplitPaneUI
-
- javax.swing.plaf.basic.BasicSplitPaneUI
-
- com.tagtraum.beatunes.plaf.BeaTunesSplitPaneUI
-
public class BeaTunesSplitPaneUI extends BasicSplitPaneUI
BeaTunesPanelUI.- Author:
- Hendrik Schreiber
-
-
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 Modifier and Type Field Description static Object
BOTH_LINES
static Object
BOTTOM_LINE
static Object
LEFT_LINE
static Object
NO_LINES
static Object
RIGHT_LINE
static String
SPLIT_PANE_DIVIDER_BACKGROUND_KEY
static String
SPLIT_PANE_DIVIDER_LINE_KEY
static Object
TOP_LINE
-
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
Constructors Constructor Description BeaTunesSplitPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicSplitPaneDivider
createDefaultDivider()
Creates the default divider.static ComponentUI
createUI(JComponent x)
Creates a new BasicSplitPaneUI instance.void
paint(Graphics g, JComponent component)
-
Methods inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
createDefaultNonContinuousLayoutDivider, createFocusListener, createKeyboardDownRightListener, createKeyboardEndListener, createKeyboardHomeListener, createKeyboardResizeToggleListener, createKeyboardUpLeftListener, createPropertyChangeListener, dragDividerTo, finishDraggingTo, finishedPaintingChildren, getDivider, getDividerBorderSize, getDividerLocation, getInsets, getLastDragLocation, getMaximumDividerLocation, getMaximumSize, getMinimumDividerLocation, getMinimumSize, getNonContinuousLayoutDivider, getOrientation, getPreferredSize, getSplitPane, installDefaults, installKeyboardActions, installListeners, installUI, isContinuousLayout, resetLayoutManager, resetToPreferredSizes, setContinuousLayout, setDividerLocation, setLastDragLocation, setNonContinuousLayoutDivider, setNonContinuousLayoutDivider, setOrientation, startDragging, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
-
-
-
Field Detail
-
SPLIT_PANE_DIVIDER_LINE_KEY
public static final String SPLIT_PANE_DIVIDER_LINE_KEY
- See Also:
- Constant Field Values
-
SPLIT_PANE_DIVIDER_BACKGROUND_KEY
public static final String SPLIT_PANE_DIVIDER_BACKGROUND_KEY
- See Also:
- Constant Field Values
-
NO_LINES
public static final Object NO_LINES
-
TOP_LINE
public static final Object TOP_LINE
-
BOTTOM_LINE
public static final Object BOTTOM_LINE
-
LEFT_LINE
public static final Object LEFT_LINE
-
RIGHT_LINE
public static final Object RIGHT_LINE
-
BOTH_LINES
public static final Object BOTH_LINES
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent x)
Creates a new BasicSplitPaneUI instance.- Parameters:
x
- component- Returns:
- UI object
-
createDefaultDivider
public BasicSplitPaneDivider createDefaultDivider()
Creates the default divider.- Overrides:
createDefaultDivider
in classBasicSplitPaneUI
-
paint
public void paint(Graphics g, JComponent component)
- Overrides:
paint
in classBasicSplitPaneUI
-
-