| javax.swing.JComponent javax.swing.JLayeredPane
All known Subclasses: javax.swing.JDesktopPane,
JLayeredPane | public class JLayeredPane extends JComponent implements Accessible(Code) | |
JLabel implements a container with support for layers.
Implementation Notes:
- The
serialVersionUID fields are explicitly declared as a performance
optimization, not as a guarantee of serialization compatibility.
|
Inner Class :protected class AccessibleJLayeredPane extends AccessibleJComponent | |
FRAME_CONTENT_LAYER | final public static Integer FRAME_CONTENT_LAYER(Code) | | |
LAYER_PROPERTY | final public static String LAYER_PROPERTY(Code) | | |
JLayeredPane | public JLayeredPane()(Code) | | Constructs new JLayeredPane
|
addImpl | protected void addImpl(Component comp, Object constraints, int index)(Code) | | Adds the specified component to the container using the specified
index and the specified constraints.
Parameters: comp - component to add Parameters: constraints - constraints to be applied (layer) Parameters: index - position of the component in the layer, where-1 means the bottommost position and 0 means the topmost position |
getAccessibleContext | public AccessibleContext getAccessibleContext()(Code) | | Returns AccessibleContext for JLayeredPane .
AccessibleContext associated with this layered pane |
getComponentCountInLayer | public int getComponentCountInLayer(int layer)(Code) | | |
getComponentsInLayer | public Component[] getComponentsInLayer(int layer)(Code) | | |
getLayer | public int getLayer(Component c)(Code) | | Parameters: c - layer of component c |
getObjectForLayer | protected Integer getObjectForLayer(int layer)(Code) | | Returns the object that represents the specified layer.
Parameters: layer - the specified layer the object that represents the specified layer |
getPosition | public int getPosition(Component c)(Code) | | Parameters: c - position of component c in its layer-1 if c is not in the containter |
highestLayer | public int highestLayer()(Code) | | |
insertIndexForLayer | protected int insertIndexForLayer(int layer, int position)(Code) | | |
isOptimizedDrawingEnabled | public boolean isOptimizedDrawingEnabled()(Code) | | |
lowestLayer | public int lowestLayer()(Code) | | |
moveToBack | public void moveToBack(Component c)(Code) | | Moves the component to the bottom of its layer (position -1);
Parameters: c - the component to move |
moveToFront | public void moveToFront(Component c)(Code) | | Moves the component to the top of its layer (position 0);
Parameters: c - the component to move |
paint | public void paint(Graphics g)(Code) | | Paints the layered pane within the specified graphic context.
Parameters: g - the graphic context |
paramString | protected String paramString()(Code) | | Returns string representation of this layered pane.
string representation of this layered pane |
remove | public void remove(int index)(Code) | | |
removeAll | public void removeAll()(Code) | | |
setLayer | public void setLayer(Component c, int layer, int position)(Code) | | Sets the layer and the position for the specified component.
Parameters: c - the component to set layer to Parameters: layer - the layer to set Parameters: position - the position to set, 0 means the topmost position and-1 means the bottommost position |
setLayer | public void setLayer(Component c, int layer)(Code) | | Sets the layer for the specified component.
Parameters: c - the component to set layer to Parameters: layer - the layer to set |
setPosition | public void setPosition(Component c, int position)(Code) | | Sets the position of the component inside its layer.
0 means the topmost position and -1 means the bottommost position.
Parameters: c - the component to move Parameters: position - the position to set |
Methods inherited from javax.swing.JComponent | public void addAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) final void componentInputMapChanged(ComponentInputMap map)(Code)(Java Doc) public void computeVisibleRect(Rectangle rect)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public JToolTip createToolTip()(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) protected void fireVetoableChange(String property, Object oldValue, Object newValue) throws PropertyVetoException(Code)(Java Doc) public ActionListener getActionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc) final public ActionMap getActionMap()(Code)(Java Doc) final ActionMap getActionMap(boolean forceCreate)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public AncestorListener[] getAncestorListeners()(Code)(Java Doc) public boolean getAutoscrolls()(Code)(Java Doc) public Border getBorder()(Code)(Java Doc) public Rectangle getBounds(Rectangle bounds)(Code)(Java Doc) final public Object getClientProperty(Object key)(Code)(Java Doc) protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc) public JPopupMenu getComponentPopupMenu()(Code)(Java Doc) public int getConditionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc) public int getDebugGraphicsOptions()(Code)(Java Doc) public static Locale getDefaultLocale()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public boolean getInheritsPopupMenu()(Code)(Java Doc) final public InputMap getInputMap(int condition)(Code)(Java Doc) final public InputMap getInputMap()(Code)(Java Doc) final InputMap getInputMap(int condition, boolean forceCreate)(Code)(Java Doc) public InputVerifier getInputVerifier()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public Insets getInsets(Insets insets)(Code)(Java Doc) public T[] getListeners(Class<T> listenersClass)(Code)(Java Doc) public Point getLocation(Point extLocation)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Component getNextFocusableComponent()(Code)(Java Doc) public Point getPopupLocation(MouseEvent event)(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc) public JRootPane getRootPane()(Code)(Java Doc) public Dimension getSize(Dimension extSize)(Code)(Java Doc) public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public Container getTopLevelAncestor()(Code)(Java Doc) public TransferHandler getTransferHandler()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc) public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc) public Rectangle getVisibleRect()(Code)(Java Doc) public void grabFocus()(Code)(Java Doc) boolean hasListener(Class<T> listenerType, EventListener l)(Code)(Java Doc) boolean insideDoubleBuffering()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public static boolean isLightweightComponent(Component component)(Code)(Java Doc) public boolean isManagingFocus()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isOptimizedDrawingEnabled()(Code)(Java Doc) public boolean isPaintingTile()(Code)(Java Doc) public boolean isRequestFocusEnabled()(Code)(Java Doc) public boolean isValidateRoot()(Code)(Java Doc) public void paint(Graphics graphics)(Code)(Java Doc) protected void paintBorder(Graphics graphics)(Code)(Java Doc) protected void paintChildren(Graphics graphics)(Code)(Java Doc) protected void paintComponent(Graphics graphics)(Code)(Java Doc) void paintDoubleBuffered(Graphics g)(Code)(Java Doc) public void paintImmediately(Rectangle rect)(Code)(Java Doc) public void paintImmediately(int x, int y, int width, int height)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void printBorder(Graphics g)(Code)(Java Doc) protected void printChildren(Graphics g)(Code)(Java Doc) protected void printComponent(Graphics g)(Code)(Java Doc) protected void processComponentKeyEvent(KeyEvent event)(Code)(Java Doc) protected boolean processKeyBinding(KeyStroke keyStroke, KeyEvent keyEvent, int condition, boolean pressed)(Code)(Java Doc) static boolean processKeyBindings(KeyEvent event, Component source)(Code)(Java Doc) protected void processKeyEvent(KeyEvent event)(Code)(Java Doc) final public void putClientProperty(Object key, Object value)(Code)(Java Doc) public void registerKeyboardAction(ActionListener action, String command, KeyStroke keyStroke, int condition)(Code)(Java Doc) public void registerKeyboardAction(ActionListener action, KeyStroke keyStroke, int condition)(Code)(Java Doc) public void removeAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void repaint(Rectangle rect)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public boolean requestDefaultFocus()(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) public boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void resetKeyboardActions()(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void scrollRectToVisible(Rectangle rect)(Code)(Java Doc) final public void setActionMap(ActionMap newActionMap)(Code)(Java Doc) public void setAlignmentX(float alignment)(Code)(Java Doc) public void setAlignmentY(float alignment)(Code)(Java Doc) public void setAutoscrolls(boolean scrolls)(Code)(Java Doc) public void setBorder(Border newBorder)(Code)(Java Doc) public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc) public void setDebugGraphicsOptions(int newDebugGraphicsOptions)(Code)(Java Doc) public static void setDefaultLocale(Locale locale)(Code)(Java Doc) public void setDoubleBuffered(boolean flag)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setInheritsPopupMenu(boolean value)(Code)(Java Doc) final public void setInputMap(int condition, InputMap map)(Code)(Java Doc) public void setInputVerifier(InputVerifier verifier)(Code)(Java Doc) public void setNextFocusableComponent(Component component)(Code)(Java Doc) public void setOpaque(boolean opaque)(Code)(Java Doc) public void setRequestFocusEnabled(boolean enabled)(Code)(Java Doc) public void setToolTipText(String text)(Code)(Java Doc) public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc) protected void setUI(ComponentUI newUI)(Code)(Java Doc) public void setVerifyInputWhenFocusTarget(boolean verifyInput)(Code)(Java Doc) public void unregisterKeyboardAction(KeyStroke keyStroke)(Code)(Java Doc) public void update(Graphics graphics)(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
|
|