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. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans package.
Please see java..
| Modifier and Type | Class and Description |
|---|---|
| public class | MetalSplitPaneDivider.
Used to layout a MetalSplitPaneDivider. |
| Modifier and Type | Field and Description |
|---|---|
| private MetalBumps | |
| private Color | |
| private MetalBumps | |
| private int | |
| private Color |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected JButton | createLeftOneTouchButton()
Overrides javax. Creates and return an instance of JButton that can be used to collapse the left component in the metal split pane. |
| protected JButton | createRightOneTouchButton()
Overrides javax. Creates and return an instance of JButton that can be used to collapse the right component in the metal split pane. |
| pack-priv JButton | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv JButton | |
| pack-priv JSplitPane | |
| private void | |
| public void |
| bumps | back to summary |
|---|---|
| private MetalBumps bumps | |
| controlColor | back to summary |
|---|---|
| private Color controlColor | |
| focusBumps | back to summary |
|---|---|
| private MetalBumps focusBumps | |
| inset | back to summary |
|---|---|
| private int inset | |
| primaryControlColor | back to summary |
|---|---|
| private Color primaryControlColor | |
| MetalSplitPaneDivider | back to summary |
|---|---|
| public MetalSplitPaneDivider(BasicSplitPaneUI ui) | |
| createLeftOneTouchButton | back to summary |
|---|---|
| protected JButton createLeftOneTouchButton() Overrides javax. Creates and return an instance of JButton that can be used to collapse the left component in the metal split pane. | |
| createRightOneTouchButton | back to summary |
|---|---|
| protected JButton createRightOneTouchButton() Overrides javax. Creates and return an instance of JButton that can be used to collapse the right component in the metal split pane. | |
| getLeftButtonFromSuper | back to summary |
|---|---|
| pack-priv JButton getLeftButtonFromSuper() | |
| getOneTouchOffsetFromSuper | back to summary |
|---|---|
| pack-priv int getOneTouchOffsetFromSuper() | |
| getOneTouchSizeFromSuper | back to summary |
|---|---|
| pack-priv int getOneTouchSizeFromSuper() | |
| getOrientationFromSuper | back to summary |
|---|---|
| pack-priv int getOrientationFromSuper() | |
| getRightButtonFromSuper | back to summary |
|---|---|
| pack-priv JButton getRightButtonFromSuper() | |
| getSplitPaneFromSuper | back to summary |
|---|---|
| pack-priv JSplitPane getSplitPaneFromSuper() | |
| maybeMakeButtonOpaque | back to summary |
|---|---|
| private void maybeMakeButtonOpaque(JComponent c) If necessary | |
| paint | back to summary |
|---|---|
| public void paint(Graphics g) Overrides javax. Doc from javax. Paints the divider. | |
This class should be treated as a "protected" inner class. Instantiate it only within subclasses of MetalSplitPaneDivider.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addLayoutComponent(String string, Component c)
Implements java. If the layout manager uses a per-component string,
adds the component |
| public void | layoutContainer(Container c)
Implements java. Lays out the specified container. |
| public Dimension | minimumLayoutSize(Container c)
Implements java. Calculates the minimum size dimensions for the specified container, given the components it contains. |
| public Dimension | preferredLayoutSize(Container c)
Implements java. Calculates the preferred size dimensions for the specified container, given the components it contains. |
| public void | removeLayoutComponent(Component c)
Implements java. Removes the specified component from the layout. |
| MetalDividerLayout | back to summary |
|---|---|
| public MetalDividerLayout() | |
| addLayoutComponent | back to summary |
|---|---|
| public void addLayoutComponent(String string, Component c) Implements java. Doc from java. If the layout manager uses a per-component string,
adds the component | |
| layoutContainer | back to summary |
|---|---|
| public void layoutContainer(Container c) Implements java. Doc from java. Lays out the specified container. | |
| minimumLayoutSize | back to summary |
|---|---|
| public Dimension minimumLayoutSize(Container c) Implements java. Doc from java. Calculates the minimum size dimensions for the specified container, given the components it contains. | |
| preferredLayoutSize | back to summary |
|---|---|
| public Dimension preferredLayoutSize(Container c) Implements java. Doc from java. Calculates the preferred size dimensions for the specified container, given the components it contains. | |
| removeLayoutComponent | back to summary |
|---|---|
| public void removeLayoutComponent(Component c) Implements java. Doc from java. Removes the specified component from the layout. | |