|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.SplitPaneUI javax.swing.plaf.basic.BasicSplitPaneUI com.alee.laf.splitpane.WebSplitPaneUI
public class WebSplitPaneUI
Custom UI for JSplitPane component.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSplitPaneUI |
---|
javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager, javax.swing.plaf.basic.BasicSplitPaneUI.BasicVerticalLayoutManager, javax.swing.plaf.basic.BasicSplitPaneUI.FocusHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardDownRightHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardEndHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardHomeHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardResizeToggleHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardUpLeftHandler, javax.swing.plaf.basic.BasicSplitPaneUI.PropertyHandler |
Field Summary | |
---|---|
protected java.awt.Color |
dividerBorderColor
|
protected java.awt.Color |
dragDividerColor
|
protected boolean |
drawDividerBorder
|
protected java.awt.Insets |
margin
Style settings. |
protected java.beans.PropertyChangeListener |
propertyChangeListener
SplitPane listeners. |
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, rightKey, splitPane, upKey |
Constructor Summary | |
---|---|
WebSplitPaneUI()
|
Method Summary | |
---|---|
javax.swing.plaf.basic.BasicSplitPaneDivider |
createDefaultDivider()
|
protected java.awt.Component |
createDefaultNonContinuousLayoutDivider()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Returns an instance of the WebSplitPaneUI for the specified component. |
void |
finishedPaintingChildren(javax.swing.JSplitPane jc,
java.awt.Graphics g)
|
java.awt.Color |
getDividerBorderColor()
Returns divider border color. |
java.awt.Color |
getDragDividerColor()
Returns dragged divider color. |
java.awt.Insets |
getMargin()
Returns component margin. |
void |
installUI(javax.swing.JComponent c)
Installs UI in the specified component. |
boolean |
isDrawDividerBorder()
Returns whether divider border is painted or not. |
void |
setDividerBorderColor(java.awt.Color color)
Sets divider border color. |
void |
setDragDividerColor(java.awt.Color dragDividerColor)
Sets dragged divider color. |
void |
setDrawDividerBorder(boolean draw)
Sets whether divider border is painted or not. |
void |
setMargin(java.awt.Insets margin)
Sets component margin. |
void |
uninstallUI(javax.swing.JComponent c)
Uninstalls UI from the specified component. |
void |
updateBorder()
Updates custom WebLaF border. |
Methods inherited from class javax.swing.plaf.basic.BasicSplitPaneUI |
---|
createFocusListener, createKeyboardDownRightListener, createKeyboardEndListener, createKeyboardHomeListener, createKeyboardResizeToggleListener, createKeyboardUpLeftListener, createPropertyChangeListener, dragDividerTo, finishDraggingTo, getDivider, getDividerBorderSize, getDividerLocation, getInsets, getLastDragLocation, getMaximumDividerLocation, getMaximumSize, getMinimumDividerLocation, getMinimumSize, getNonContinuousLayoutDivider, getOrientation, getPreferredSize, getSplitPane, installDefaults, installKeyboardActions, installListeners, isContinuousLayout, paint, resetLayoutManager, resetToPreferredSizes, setContinuousLayout, setDividerLocation, setLastDragLocation, setNonContinuousLayoutDivider, setNonContinuousLayoutDivider, setOrientation, startDragging, uninstallDefaults, uninstallKeyboardActions, uninstallListeners |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.awt.Insets margin
protected java.awt.Color dragDividerColor
protected boolean drawDividerBorder
protected java.awt.Color dividerBorderColor
protected java.beans.PropertyChangeListener propertyChangeListener
Constructor Detail |
---|
public WebSplitPaneUI()
Method Detail |
---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- component that will use UI instance
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.basic.BasicSplitPaneUI
c
- component for this UIpublic void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.basic.BasicSplitPaneUI
c
- component with this UIpublic void updateBorder()
updateBorder
in interface BorderMethods
public java.awt.Insets getMargin()
public void setMargin(java.awt.Insets margin)
margin
- component marginpublic java.awt.Color getDragDividerColor()
public void setDragDividerColor(java.awt.Color dragDividerColor)
dragDividerColor
- dragged divider colorpublic boolean isDrawDividerBorder()
public void setDrawDividerBorder(boolean draw)
draw
- whether divider border is painted or notpublic java.awt.Color getDividerBorderColor()
public void setDividerBorderColor(java.awt.Color color)
color
- new divider border colorpublic javax.swing.plaf.basic.BasicSplitPaneDivider createDefaultDivider()
createDefaultDivider
in class javax.swing.plaf.basic.BasicSplitPaneUI
protected java.awt.Component createDefaultNonContinuousLayoutDivider()
createDefaultNonContinuousLayoutDivider
in class javax.swing.plaf.basic.BasicSplitPaneUI
public void finishedPaintingChildren(javax.swing.JSplitPane jc, java.awt.Graphics g)
finishedPaintingChildren
in class javax.swing.plaf.basic.BasicSplitPaneUI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |