swingwtx.swing
Class JSplitPane
java.lang.Object
swingwt.awt.Component
swingwt.awt.Container
swingwtx.swing.JComponent
swingwtx.swing.JSplitPane
- All Implemented Interfaces:
- ImageObserver, MenuContainer
- public class JSplitPane
- extends JComponent
JSplitPane kindly contributed by Jack Park. Couple of changes here and there
by me to fit existing standards and things.
29/11/2003 - Thanks to Diane Trout for skeletons of additional methods
required.
Fields inherited from class swingwtx.swing.JComponent |
accessibleContext, actionMap, ancestorInputMap, border, clientProperties, descendantHasPeer, focusInputMap, internalFrameAdapter, internalFrameParent, opaque, propertyChangeListeners, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW, windowInputMap |
Fields inherited from class swingwt.awt.Component |
actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, graphicsConfig, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, peer, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT |
Methods inherited from class swingwtx.swing.JComponent |
add, add, add, add, add, addPropertyChangeListener, addPropertyChangeListener, checkInternalFrameChild, dispose, getAccessibleContext, getActionMap, getAutoscrolls, getBorder, getClientProperty, getInputMap, getInsets, getToolTipLocation, getToolTipText, getTopLevelAncestor, getVisibleRect, isDoubleBuffered, isOpaque, isOptimizedDrawingEnabled, isValidateRoot, paint, paintBackground, paintChildren, paintComponent, paintImmediately, paintImmediately, putClientProperty, remove, remove, removePropertyChangeListener, removePropertyChangeListener, repaint, revalidate, scrollRectToVisible, setActionMap, setAutoscrolls, setBorder, setDoubleBuffered, setInputMap, setMargin, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled |
Methods inherited from class swingwt.awt.Container |
addComponentToLayout, addContainerListener, debug_showContainmentTree, doAdd, doLayout, getComponent, getComponentCount, getComponentOrientation, getComponents, getComposite, getLayout, getMaximumSize, getMinimumSize, getParent, getPreferredSize, invalidate, minimumSize, preferredSize, processContainerEvent, processEvent, queuedValidate, removeAll, removeComponentFromCache, removeContainerListener, setLayout, setLayoutImpl, validate |
Methods inherited from class swingwt.awt.Component |
add, addActionListener, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, calculatePreferredSize, componentOnlyDispose, computePreferredSize, contains, contains, createImage, createListenerArrayFromVector, createVolatileImage, dispatchEvent, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getListeners, getLocation, getLocationOnScreen, getName, getPeer, getPeerSize, getSize, getSize, getSWTPeer, getToolkit, getToolTipText, getTreeLock, getWidth, getX, getY, grabFocus, hasFocus, hasSetFont, hide, imageUpdate, inside, isEnabled, isFocusable, isMinimumSizeSet, isShowing, isVisible, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, remove, removeActionListener, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, repaint, repaint, repaint, requestFocus, setActionCommand, setAlignmentX, setAlignmentY, setBackground, setBounds, setBounds, setCachedProperties, setComponentOrientation, setComponentRemoved, setCursor, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setFont, setForeground, setHeight, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setSize, setSize, setToolTipText, setVisible, setWidth, show, transferFocus, transferFocusBackward, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERTICAL_SPLIT
public static final int VERTICAL_SPLIT
- See Also:
- Constant Field Values
HORIZONTAL_SPLIT
public static final int HORIZONTAL_SPLIT
- See Also:
- Constant Field Values
pOrientation
protected int pOrientation
pResizeWeight
protected double pResizeWeight
leftComponent
protected Component leftComponent
rightComponent
protected Component rightComponent
JSplitPane
public JSplitPane()
JSplitPane
public JSplitPane(int newOrientation)
JSplitPane
public JSplitPane(int newOrientation,
boolean newContinuousLayout)
JSplitPane
public JSplitPane(int newOrientation,
Component newLeftComponent,
Component newRightComponent)
JSplitPane
public JSplitPane(int newOrientation,
boolean newContinuousLayout,
Component newLeftComponent,
Component newRightComponent)
setLeftComponent
public void setLeftComponent(Component comp)
setRightComponent
public void setRightComponent(Component comp)
setSwingWTParent
public void setSwingWTParent(Container parent)
throws java.lang.Exception
- Description copied from class:
JComponent
- Callback for when this JComponent is added to a container.
- Overrides:
setSwingWTParent
in class JComponent
- Throws:
java.lang.Exception
getLeftComponent
public Component getLeftComponent()
setTopComponent
public void setTopComponent(Component comp)
getTopComponent
public Component getTopComponent()
getRightComponent
public Component getRightComponent()
setBottomComponent
public void setBottomComponent(Component comp)
getBottomComponent
public Component getBottomComponent()
getOrientation
public int getOrientation()
setContinuousLayout
public void setContinuousLayout(boolean b)
getDividerSize
public int getDividerSize()
setDividerSize
public void setDividerSize(int newSize)
setOrientation
public void setOrientation(int newOrientation)
setResizeWeight
public void setResizeWeight(double value)
getResizeWeight
public double getResizeWeight()
setOneTouchExpandable
public void setOneTouchExpandable(boolean newValue)
- Enable one touch expand collapse of the splitter
resetToPreferredSizes
public void resetToPreferredSizes()
- reset splitter to sizes based on child window sizes
setDividerLocation
public void setDividerLocation(double proportionalLocation)
- Set the current location of the splitter proportional
to the width as a percentage.
setDividerLocation
public void setDividerLocation(int location)