borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.control 

SplitPanel component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----java.awt.Panel
                           +----borland.jbcl.view.BeanPanel
                                   +----borland.jbcl.control.SplitPanel

About the SplitPanel component

Variables  Constructors  Properties  Methods  Event Listeners

Implements MenuContainer, MouseListener, MouseMotionListener, ImageObserver, Serializable, EventListener

A SplitPanel component is a panel that is divided into several panes by movable split bars.


SplitPanel variables

Variables implemented in borland.jbcl.view.BeanPanel

Variables implemented in java.awt.Component

SplitPanel constructors

SplitPanel properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.jbcl.view.BeanPanel

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

SplitPanel methods

Methods implemented in this class

Methods implemented in borland.jbcl.view.BeanPanel

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.awt.Panel

Methods implemented in java.lang.Object

SplitPanel event listeners


SplitPanel constructors

SplitPanel()

  public SplitPanel()
The default constructor. Creates and hides the divider, and sets its color to black. Sets the layout of the panel to PaneLayout. Sets the PaneLayout gap to 2. Listens for panel mouse events.


SplitPanel properties

dividerColor

 public Color getDividerColor()
 public void setDividerColor(java.awt.Color color)
Sets the color of the Pane divider. The default is black.

gap

 public int getGap()
 public void setGap(int gap)
The pane layout gap; the thickness of the border between adjacent panes.

layout

 public void setLayout(java.awt.LayoutManager mgr)
If Layout Manager is a PaneLayout, sets the LayoutManager to the supplied PaneLayout. If LayoutManager is not a PaneLayout, does nothing.

preferredSize

 public Dimension getPreferredSize()
The preferred layout size for this container. Calls java.awt.Container.getPreferredSize().

If the preferred width or height is initially 10, it is increased to 100.


SplitPanel event listeners

This component is a source for the following event sets. For information on the standard AWT event sets, see Standard Java events.

action

 public synchronized void addActionListener(java.awt.event.ActionListener l)
 public synchronized void removeActionListener(java.awt.event.ActionListener l)

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener l)
 public synchronized void removeComponentListener(java.awt.event.ComponentListener l)

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener l)
 public void removeContainerListener(java.awt.event.ContainerListener l)

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener l)
 public synchronized void removeFocusListener(java.awt.event.FocusListener l)

key

 public synchronized void addKeyListener(java.awt.event.KeyListener l)
 public synchronized void removeKeyListener(java.awt.event.KeyListener l)

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener l)
 public synchronized void removeMouseListener(java.awt.event.MouseListener l)

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener l)
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener l)