public class

MotifSplitPaneDivider

extends BasicSplitPaneDivider
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.plaf.basic.BasicSplitPaneDivider
         ↳ com.sun.java.swing.plaf.motif.MotifSplitPaneDivider

Class Overview

Divider used for Motif split pane.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Summary

Constants
int defaultDividerSize
int minimumThumbSize
int pad
[Expand]
Inherited Constants
From class javax.swing.plaf.basic.BasicSplitPaneDivider
From class java.awt.Component
From interface java.awt.image.ImageObserver
Fields
protected Color focusedColor
protected int hThumbHeight
protected int hThumbWidth
protected Color highlightColor
protected Color shadowColor
protected int vThumbHeight
protected int vThumbWidth
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicSplitPaneDivider
Public Constructors
MotifSplitPaneDivider(BasicSplitPaneUI ui)
Creates a new Motif SplitPaneDivider
Public Methods
Dimension getMinimumSize()
The minimums size is the same as the preferredSize
void paint(Graphics g)
Paints the divider.
void setBasicSplitPaneUI(BasicSplitPaneUI newUI)
Sets the SplitPaneUI that is using the receiver.
void setDividerSize(int newSize)
overrides to hardcode the size of the divider PENDING(jeff) - rewrite JSplitPane so that this ins't needed
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicSplitPaneDivider
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.image.ImageObserver
From interface java.beans.PropertyChangeListener

Constants

public static final int defaultDividerSize

Constant Value: 18 (0x00000012)

public static final int minimumThumbSize

Constant Value: 6 (0x00000006)

protected static final int pad

Constant Value: 6 (0x00000006)

Fields

protected Color focusedColor

protected int hThumbHeight

protected int hThumbWidth

protected Color highlightColor

protected Color shadowColor

protected int vThumbHeight

protected int vThumbWidth

Public Constructors

public MotifSplitPaneDivider (BasicSplitPaneUI ui)

Creates a new Motif SplitPaneDivider

Public Methods

public Dimension getMinimumSize ()

The minimums size is the same as the preferredSize

Returns
  • an instance of Dimension that represents the minimum size of this container.

public void paint (Graphics g)

Paints the divider.

Parameters
g the specified Graphics window

public void setBasicSplitPaneUI (BasicSplitPaneUI newUI)

Sets the SplitPaneUI that is using the receiver. This is completely overriden from super to create a different MouseHandler.

public void setDividerSize (int newSize)

overrides to hardcode the size of the divider PENDING(jeff) - rewrite JSplitPane so that this ins't needed