public class TLcdSplitPane extends Panel
TLcdSplitPane
contains 2 Component
separated vertically or
horizontally by a movable divider. The orientation of the divider can set
using the splitOrientation property. The location of the divider can be set
by the dividerLocation property. It is a value between 0 and 1 defining the
relative size of the first Component
compared to the size of the second.
If to be used in Internet Explorer, the two Component
objects
of the TLcdSplitPane
must be Panel
objects.
Panel.AccessibleAWTPanel
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL
Deprecated.
|
static int |
VERTICAL
Deprecated.
|
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
TLcdSplitPane()
Deprecated.
Default Constructor.
|
TLcdSplitPane(int aSplitOrientation)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener aListener)
Deprecated.
Adds a
PropertyChangeListener to the listener list. |
void |
changeDividerLocation(float aDividerLocation,
boolean aRevalidate)
Deprecated.
Changes the divider location.
|
void |
doLayout()
Deprecated.
Redefines Component.doLayout.
|
Component |
getBottomComponent()
Deprecated.
Returns the component below, or to the right of the divider.
|
float |
getDividerLocation()
Deprecated.
Returns the divider location.
|
int |
getDividerSize()
Deprecated.
Returns the size of the divider.
|
Component |
getLeftComponent()
Deprecated.
Returns the component to the left (or above) the divider.
|
Dimension |
getMaximumSize()
Deprecated.
|
Dimension |
getMinimumSize()
Deprecated.
|
int |
getOrientation()
Deprecated.
Returns the orientation.
|
Dimension |
getPreferredSize()
Deprecated.
|
Component |
getRightComponent()
Deprecated.
Returns the component to the right (or below) the divider.
|
Component |
getTopComponent()
Deprecated.
Returns the component above, or to the left of the divider.
|
void |
remove(Component component)
Deprecated.
Removes the child component,
component from the
receiver. |
void |
remove(int index)
Deprecated.
Removes the
Component at the given index. |
void |
removeAll()
Deprecated.
Removes all the child components from the receiver.
|
void |
removePropertyChangeListener(PropertyChangeListener aListener)
Deprecated.
Removes a
PropertyChangeListener from the listener list. |
void |
setBottomComponent(Component comp)
Deprecated.
Sets the component below, or to the right of the divider.
|
void |
setDividerLocation(float aDividerLocation)
Deprecated.
Calls
changeDividerLocation(aDividerLocation, true) . |
void |
setDividerSize(int aDividerSize)
Deprecated.
Sets the size of the divider.
|
void |
setLeftComponent(Component comp)
Deprecated.
Sets the component to the left (or above) the divider.
|
void |
setRightComponent(Component comp)
Deprecated.
Sets the component to the right (or below) the divider.
|
void |
setTopComponent(Component comp)
Deprecated.
Sets the component above, or to the left of the divider.
|
addNotify, getAccessibleContext
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final int VERTICAL
public static final int HORIZONTAL
public TLcdSplitPane()
this(TLcdSplitPane.HORIZONTAL)
.public TLcdSplitPane(int aSplitOrientation)
aSplitOrientation
- one of TLcdSplitPane.HORIZONTAL,
TLcdSplitPane.VERTICAL.public void doLayout()
public Dimension getPreferredSize()
getPreferredSize
in class Container
public Dimension getMinimumSize()
getMinimumSize
in class Container
public Dimension getMaximumSize()
getMaximumSize
in class Container
public void addPropertyChangeListener(PropertyChangeListener aListener)
PropertyChangeListener
to the listener list.addPropertyChangeListener
in class Container
aListener
- the PropertyChangeListener
to be removed.public void removePropertyChangeListener(PropertyChangeListener aListener)
PropertyChangeListener
from the listener list.removePropertyChangeListener
in class Component
aListener
- the PropertyChangeListener
to be removed.public int getOrientation()
public void setDividerSize(int aDividerSize)
public int getDividerSize()
public float getDividerLocation()
Component
and the size of this TLcdSplitPane
public void setDividerLocation(float aDividerLocation)
changeDividerLocation(aDividerLocation, true)
.public void changeDividerLocation(float aDividerLocation, boolean aRevalidate)
aDividerLocation
- between 0 and 1. The ratio between the size
of the left/top Component
and the size of this TLcdSplitPane
public void setLeftComponent(Component comp)
public Component getLeftComponent()
public void setTopComponent(Component comp)
public Component getTopComponent()
public void setRightComponent(Component comp)
public Component getRightComponent()
public void setBottomComponent(Component comp)
public Component getBottomComponent()
public void remove(Component component)
component
from the
receiver.public void remove(int index)
Component
at the given index.