Class SplitPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants
Direct Known Subclasses:
CollapsibleSplitPane

public class SplitPane extends JPanel implements SwingConstants
An alternative split pane with an easier api
See Also:
  • Field Details

    • SPLITTER_WIDTH

      public static int SPLITTER_WIDTH
    • _iOrientation

      protected int _iOrientation
    • _iPosition

      protected double _iPosition
    • _pane1

      protected JPanel _pane1
    • _pane2

      protected JPanel _pane2
    • _comp1

      protected JComponent _comp1
    • _comp2

      protected JComponent _comp2
    • _splitter

      protected SplitPane.Splitter _splitter
    • MIN_POSITION

      public static final int MIN_POSITION
      See Also:
    • MAX_POSITION

      public static final int MAX_POSITION
      See Also:
    • _listeners

      private Set<ActionListener> _listeners
  • Constructor Details

  • Method Details

    • addMainComponents

      protected void addMainComponents(JComponent comp1, JComponent comp2)
    • setTop

      public void setTop(JComponent c)
    • getTop

      public JComponent getTop()
    • clearTop

      public void clearTop()
    • setBottom

      public void setBottom(JComponent c)
    • getBottom

      public JComponent getBottom()
    • getSplitterWidth

      protected int getSplitterWidth()
    • getOrientation

      public int getOrientation()
    • setOrientation

      public void setOrientation(int iOrientation)
    • getPosition

      public double getPosition()
    • setPosition

      public void setPosition(double iPos)
    • addActionListener

      public void addActionListener(ActionListener l)