com.ibm.dse.desktop
Class SplitArea

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JSplitPane
                          |
                          +--com.ibm.dse.desktop.SplitArea

public class SplitArea
extends javax.swing.JSplitPane
implements DesktopComponent

This class is used to have a split between two components of the Desktop.When an split is done, the two components are resized.

@copyright(c) Copyright IBM Corporation 2000.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JSplitPane
javax.swing.JSplitPane.AccessibleJSplitPane
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Fields inherited from class javax.swing.JSplitPane
BOTTOM, CONTINUOUS_LAYOUT_PROPERTY, continuousLayout, DIVIDER, DIVIDER_SIZE_PROPERTY, dividerSize, HORIZONTAL_SPLIT, LAST_DIVIDER_LOCATION_PROPERTY, lastDividerLocation, LEFT, leftComponent, ONE_TOUCH_EXPANDABLE_PROPERTY, oneTouchExpandable, orientation, ORIENTATION_PROPERTY, RIGHT, rightComponent, TOP, VERTICAL_SPLIT
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
SplitArea()
          This method constructs a SplitArea object.
SplitArea(int newOrientation)
          SplitArea constructor object.
SplitArea(int newOrientation, boolean newContinuousLayout)
          SplitArea constructor object.
SplitArea(int newOrientation, boolean newContinuousLayout, java.awt.Component newLeftComponent, java.awt.Component newRightComponent)
          SplitArea constructor object.
SplitArea(int newOrientation, java.awt.Component newLeftComponent, java.awt.Component newRightComponent)
          SplitArea constructor object.
 
Method Summary
 void add(java.lang.Object o)
          This method adds a new object to the SplitArea.
 void initialize()
          This method initialize the attributes of the SplitArea
 void setComponentOrientation(java.awt.ComponentOrientation o)
          This method changes the orientation of the components inside the SplitArea
 void setHeight(java.lang.Object o)
          Sets the height of the SplitArea.
 void setOrientation(java.lang.Object o)
          This method sets the orientation of the SplitArea
 void setWidth(java.lang.Object o)
          Sets the width of the SplitArea.
 
Methods inherited from class javax.swing.JSplitPane
addImpl, getAccessibleContext, getBottomComponent, getDividerLocation, getDividerSize, getLastDividerLocation, getLeftComponent, getMaximumDividerLocation, getMinimumDividerLocation, getOrientation, getRightComponent, getTopComponent, getUI, getUIClassID, isContinuousLayout, isOneTouchExpandable, isValidateRoot, paintChildren, paramString, remove, remove, removeAll, resetToPreferredSizes, setBottomComponent, setContinuousLayout, setDividerLocation, setDividerLocation, setDividerSize, setLastDividerLocation, setLeftComponent, setOneTouchExpandable, setOrientation, setRightComponent, setTopComponent, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintComponent, paintImmediately, paintImmediately, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, removeContainerListener, setCursor, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SplitArea

public SplitArea()
This method constructs a SplitArea object.

SplitArea

public SplitArea(int newOrientation)
SplitArea constructor object.
Parameters:
newOrientation - int

SplitArea

public SplitArea(int newOrientation,
                 java.awt.Component newLeftComponent,
                 java.awt.Component newRightComponent)
SplitArea constructor object.
Parameters:
newOrientation - int
newLeftComponent - java.awt.Component
newRightComponent - java.awt.Component

SplitArea

public SplitArea(int newOrientation,
                 boolean newContinuousLayout)
SplitArea constructor object.
Parameters:
newOrientation - int
newContinuousLayout - boolean

SplitArea

public SplitArea(int newOrientation,
                 boolean newContinuousLayout,
                 java.awt.Component newLeftComponent,
                 java.awt.Component newRightComponent)
SplitArea constructor object.
Parameters:
newOrientation - int
newContinuousLayout - boolean
newLeftComponent - java.awt.Component
newRightComponent - java.awt.Component
Method Detail

add

public void add(java.lang.Object o)
This method adds a new object to the SplitArea.
Specified by:
add in interface DesktopComponent
Parameters:
Object - o

initialize

public void initialize()
This method initialize the attributes of the SplitArea

setComponentOrientation

public void setComponentOrientation(java.awt.ComponentOrientation o)
This method changes the orientation of the components inside the SplitArea
Overrides:
setComponentOrientation in class java.awt.Component
Parameters:
o - ComponentOrientation

setHeight

public void setHeight(java.lang.Object o)
Sets the height of the SplitArea.
Parameters:
o - java.lang.Object

setOrientation

public void setOrientation(java.lang.Object o)
This method sets the orientation of the SplitArea

setWidth

public void setWidth(java.lang.Object o)
Sets the width of the SplitArea.
Parameters:
o - java.lang.Object