swingwtx.swing
Class JLayeredPane
java.lang.Object
   swingwt.awt.Component
swingwt.awt.Component
       swingwt.awt.Container
swingwt.awt.Container
           swingwtx.swing.JComponent
swingwtx.swing.JComponent
               swingwtx.swing.JPanel
swingwtx.swing.JPanel
                   swingwtx.swing.JLayeredPane
swingwtx.swing.JLayeredPane
- All Implemented Interfaces: 
- ImageObserver, MenuContainer
- Direct Known Subclasses: 
- JDesktopPane
- public class JLayeredPane- extends JPanel
JLayeredPane implementation - a panel that allows management
 of overlaid components.
 
 
 
 
| Fields inherited from class swingwtx.swing.JComponent | 
| accessibleContext, actionMap, ancestorInputMap, border, clientProperties, descendantHasPeer, focusInputMap, internalFrameAdapter, internalFrameParent, 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, 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, removePropertyChangeListener, removePropertyChangeListener, repaint, revalidate, scrollRectToVisible, setActionMap, setAutoscrolls, 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, componentOnlyDispose, computePreferredSize, contains, contains, createImage, createListenerArrayFromVector, createVolatileImage, dispatchEvent, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getListeners, getLocation, getLocationOnScreen, getName, getPeer, getPeerSize, getSize, getSWTPeer, getToolkit, getToolTipText, getTreeLock, 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 | 
 
DEFAULT_LAYER
public static final java.lang.Integer DEFAULT_LAYER
PALETTE_LAYER
public static final java.lang.Integer PALETTE_LAYER
MODAL_LAYER
public static final java.lang.Integer MODAL_LAYER
POPUP_LAYER
public static final java.lang.Integer POPUP_LAYER
DRAG_LAYER
public static final java.lang.Integer DRAG_LAYER
FRAME_CONTENT_LAYER
public static final java.lang.Integer FRAME_CONTENT_LAYER
LAYER_PROPERTY
public static final java.lang.String LAYER_PROPERTY
- See Also:
- Constant Field Values
layerTable
protected java.util.Hashtable layerTable
- Hashtable that stores all Components (no ClientProperties!) in relation to their layer-value specified.
 
 
self
protected JLayeredPane self
layerComponents
protected swingwtx.swing.LayerComponent[] layerComponents
JLayeredPane
public JLayeredPane()
add
public Component add(java.lang.String string,
                     Component component)
- 
- Overrides:
- addin class- JComponent
 
- 
 
add
public Component add(Component component)
- 
- Overrides:
- addin class- JComponent
 
- 
 
add
public void add(Component component,
                java.lang.Object constraints)
- Description copied from class: Container
- Addition for layouts requiring object based modifiers
 
- 
- Overrides:
- addin class- JComponent
 
- 
 
setSwingWTParent
public void setSwingWTParent(Container cont)
                      throws java.lang.Exception
- Description copied from class: JPanel
- Callback for when this is added to a Container to create the
  peer and load cached values.
 
- 
- Overrides:
- setSwingWTParentin class- JPanel
 
- 
- Throws:
- java.lang.Exception
 
reorderComponents
protected void reorderComponents()
- 
 
getPosition
public int getPosition(Component c)
- 
 
insertIndexForLayer
protected int insertIndexForLayer(int layer,
                                  int position)
- 
 
setLayer
public void setLayer(Component c,
                     int layer,
                     int position)
- 
 
getComponentsInLayer
public Component[] getComponentsInLayer(int layer)
- 
 
getComponentToLayer
protected java.util.Hashtable getComponentToLayer()
- 
 
getIndexOf
public int getIndexOf(Component c)
- 
 
getLayer
public int getLayer(Component c)
- 
 
getObjectForLayer
protected java.lang.Integer getObjectForLayer(int layer)
- 
 
lowestLayer
public int lowestLayer()
- 
 
highestLayer
public int highestLayer()
- 
 
moveToBack
public void moveToBack(Component c)
- 
 
paramString
protected java.lang.String paramString()
- 
 
remove
public void remove(int index)
- 
- Overrides:
- removein class- JComponent
 
- 
 
setLayer
public void setLayer(Component c,
                     int layer)
- 
 
setPosition
public void setPosition(Component c,
                        int position)
- 
 
getLayer
public static int getLayer(JComponent c)
- 
 
getLayeredPaneAbove
public static JLayeredPane getLayeredPaneAbove(Component c)
-