Example usage for Java javax.swing JLayeredPane fields, constructors, methods, implement or subclass
The text is from its open source code.
Integer | DEFAULT_LAYER Convenience object defining the Default layer. |
Integer | PALETTE_LAYER Convenience object defining the Palette layer. |
Integer | MODAL_LAYER Convenience object defining the Modal layer. |
Integer | POPUP_LAYER Convenience object defining the Popup layer. |
Integer | DRAG_LAYER Convenience object defining the Drag layer. |
Integer | FRAME_CONTENT_LAYER Convenience object defining the Frame Content layer. |
JLayeredPane() Create a new JLayeredPane |
Component | add(String name, Component comp) Adds the specified component to this container. |
Component | add(Component comp) Appends the specified component to the end of this container. |
void | add(Component comp, Object constraints, int index) Adds the specified component to this container with the specified constraints at the specified index. |
void | addComponentListener(ComponentListener l) Adds the specified component listener to receive component events from this component. |
void | addMouseMotionListener(MouseMotionListener l) Adds the specified mouse motion listener to receive mouse motion events from this component. |
Component[] | getComponentsInLayer(int layer) Returns an array of the components in the specified layer. |
int | getHeight() Returns the current height of this component. |
int | getLayer(JComponent c) Gets the layer property for a JComponent, it does not cause any side effects like setLayer(). |
int | getLayer(Component c) Returns the layer attribute for the specified Component. |
int | getWidth() Returns the current width of this component. |
void | remove(int index) Remove the indexed component from this pane. |
void | repaint() Repaints this component. |
void | setBorder(Border border) Sets the border of this component. |
void | setLayer(Component c, int layer) Sets the layer attribute on the specified component, making it the bottommost component in that layer. |
void | setLayout(LayoutManager mgr) Sets the layout manager for this container. |
void | setOpaque(boolean isOpaque) If true the component paints every pixel within its bounds. |
void | setPreferredSize(Dimension preferredSize) Sets the preferred size of this component. |
void | setVisible(boolean aFlag) Makes the component visible or invisible. |