| javax.swing.JSplitPane com.jgoodies.uif_lite.component.UIFSplitPane
UIFSplitPane | final public class UIFSplitPane extends JSplitPane (Code) | | A JSplitPane subclass that can try to remove the divider border.
Useful if the splitted components render their own borders.
Note that this feature is not supported by all look&feels.
Some look&feel implementation will always show a divider border,
and conversely, others will never show a divider border.
author: Karsten Lentzsch version: $Revision: 1.2 $ See Also: javax.swing.plaf.basic.BasicSplitPaneUI |
Constructor Summary | |
public | UIFSplitPane() Constructs a UIFSplitPane configured to arrange the child
components side-by-side horizontally with no continuous
layout, using two buttons for the components. | public | UIFSplitPane(int newOrientation) Constructs a UIFSplitPane configured with the
specified orientation and no continuous layout. | public | UIFSplitPane(int newOrientation, boolean newContinuousLayout) Constructs a UIFSplitPane with the specified
orientation and redrawing style. | public | UIFSplitPane(int orientation, Component leftComponent, Component rightComponent) Constructs a UIFSplitPane with the specified orientation
and the given componenents. | public | UIFSplitPane(int orientation, boolean continuousLayout, Component leftComponent, Component rightComponent) Constructs a UIFSplitPane with the specified orientation,
redrawing style, and given components. |
UIFSplitPane | public UIFSplitPane()(Code) | | Constructs a UIFSplitPane configured to arrange the child
components side-by-side horizontally with no continuous
layout, using two buttons for the components.
|
UIFSplitPane | public UIFSplitPane(int newOrientation)(Code) | | Constructs a UIFSplitPane configured with the
specified orientation and no continuous layout.
Parameters: newOrientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT throws: IllegalArgumentException - if orientation is not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT. |
UIFSplitPane | public UIFSplitPane(int newOrientation, boolean newContinuousLayout)(Code) | | Constructs a UIFSplitPane with the specified
orientation and redrawing style.
Parameters: newOrientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT Parameters: newContinuousLayout - a boolean, true for the components to redraw continuously as the divider changes position, falseto wait until the divider position stops changing to redraw throws: IllegalArgumentException - if orientation is not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT |
UIFSplitPane | public UIFSplitPane(int orientation, Component leftComponent, Component rightComponent)(Code) | | Constructs a UIFSplitPane with the specified orientation
and the given componenents.
Parameters: orientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT Parameters: leftComponent - the Component that willappear on the left of a horizontally-split pane, or at the top of a vertically-split pane Parameters: rightComponent - the Component that willappear on the right of a horizontally-split pane, or at the bottom of a vertically-split pane throws: IllegalArgumentException - if orientation is not one of: HORIZONTAL_SPLIT or VERTICAL_SPLIT |
UIFSplitPane | public UIFSplitPane(int orientation, boolean continuousLayout, Component leftComponent, Component rightComponent)(Code) | | Constructs a UIFSplitPane with the specified orientation,
redrawing style, and given components.
Parameters: orientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT Parameters: continuousLayout - a boolean, true for the components to redraw continuously as the divider changes position, falseto wait until the divider position stops changing to redraw Parameters: leftComponent - the Component that willappear on the leftof a horizontally-split pane, or at the top of avertically-split pane Parameters: rightComponent - the Component that willappear on the rightof a horizontally-split pane, or at the bottom of avertically-split pane throws: IllegalArgumentException - if orientation is not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT |
createStrippedSplitPane | public static UIFSplitPane createStrippedSplitPane(int orientation, Component leftComponent, Component rightComponent)(Code) | | Constructs a UIFSplitPane ,
i.e. a JSplitPane that has no borders.
Also disabled the one touch exandable property.
Parameters: orientation - JSplitPane.HORIZONTAL_SPLIT orJSplitPane.VERTICAL_SPLIT Parameters: leftComponent - the Component that willappear on the left of a horizontally-split pane, or at the top of a vertically-split pane Parameters: rightComponent - the Component that willappear on the right of a horizontally-split pane, or at the bottom of a vertically-split pane throws: IllegalArgumentException - if orientation is not one of: HORIZONTAL_SPLIT or VERTICAL_SPLIT |
isDividerBorderVisible | public boolean isDividerBorderVisible()(Code) | | Checks and answers whether the divider border shall be visible
or invisible.
Note that this feature is not supported by all look&feels.
Some look&feel implementation will always show a divider border,
and conversely, others will never show a divider border.
the desired (but potentially inaccurate) divider border visiblity |
setDividerBorderVisible | public void setDividerBorderVisible(boolean newVisibility)(Code) | | Makes the divider border visible or invisible.
Note that this feature is not supported by all look&feels.
Some look&feel implementation will always show a divider border,
and conversely, others will never show a divider border.
Parameters: newVisibility - true for visible, false for invisible |
updateUI | public void updateUI()(Code) | | Updates the UI and sets an empty divider border. The divider border
may be restored by a L&F at UI installation time. And so, we
try to reset it each time the UI is changed.
|
|
|