javax.swing.JDesktopPane .
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | SynthDesktopPaneUI.
The default |
| pack-priv static class | SynthDesktopPaneUI.
The |
| Modifier and Type | Field and Description |
|---|---|
| private DesktopManager | |
| private SynthStyle | |
| private SynthDesktopPaneUI. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ComponentUI | Returns: the UI objectcomponent to create UI object for c)Hides javax. Creates a new UI object for the given component. |
| private int | |
| public SynthContext | getContext(JComponent c)
Implements javax. Returns the Context for the specified component. |
| private SynthContext | |
| protected void | installDefaults()
Overrides javax. Installs default properties. |
| protected void | installDesktopManager()
Overrides javax. Installs desktop manager. |
| protected void | installListeners()
Overrides javax. Installs the |
| public void | paint(Graphics
the g, JComponent Graphics object used for paintingthe component being painted c)Overrides javax. Paints the specified component according to the Look and Feel. |
| protected void | paint(SynthContext
context for the component being painted context, Graphics the g)Graphics object used for paintingPaints the specified component. |
| public void | paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
Implements javax. Paints the border. |
| public void | propertyChange(PropertyChangeEvent evt)
Implements java. This method gets called when a bound property is changed. |
| protected void | uninstallDefaults()
Overrides javax. Uninstalls default properties. |
| protected void | uninstallDesktopManager()
Overrides javax. Uninstalls desktop manager. |
| protected void | uninstallListeners()
Overrides javax. Uninstalls the |
| public void | update(Graphics
the g, JComponent Graphics object used for paintingthe component being painted c)Overrides javax. Notifies this UI delegate to repaint the specified component. |
| private void |
| oldDesktopManager | back to summary |
|---|---|
| private DesktopManager oldDesktopManager | |
| style | back to summary |
|---|---|
| private SynthStyle style | |
| taskBar | back to summary |
|---|---|
| private SynthDesktopPaneUI. | |
| SynthDesktopPaneUI | back to summary |
|---|---|
| public SynthDesktopPaneUI() Constructs a | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Creates a new UI object for the given component.
| |
| getComponentState | back to summary |
|---|---|
| private int getComponentState(JComponent c) | |
| getContext | back to summary |
|---|---|
| public SynthContext getContext(JComponent c) Implements javax. Doc from javax. Returns the Context for the specified component.
| |
| getContext | back to summary |
|---|---|
| private SynthContext getContext(JComponent c, int state) | |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Overrides javax. Doc from javax. Installs default properties.
| |
| installDesktopManager | back to summary |
|---|---|
| protected void installDesktopManager() Overrides javax. Doc from javax. Installs desktop manager.
| |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Overrides javax. Doc from javax. Installs the
| |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, JComponent c) Overrides javax. Paints the specified component according to the Look and Feel. This method is not used by Synth Look and Feel.
Painting is handled by the
| |
| paint | back to summary |
|---|---|
| protected void paint(SynthContext context, Graphics g) Paints the specified component. This implementation does nothing.
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) Implements javax. Doc from javax. Paints the border.
| |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent evt) Implements java. Doc from java. This method gets called when a bound property is changed.
| |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Overrides javax. Doc from javax. Uninstalls default properties.
| |
| uninstallDesktopManager | back to summary |
|---|---|
| protected void uninstallDesktopManager() Overrides javax. Doc from javax. Uninstalls desktop manager.
| |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Overrides javax. Doc from javax. Uninstalls the
| |
| update | back to summary |
|---|---|
| public void update(Graphics g, JComponent c) Overrides javax. Notifies this UI delegate to repaint the specified component.
This method paints the component background, then calls
the In general, this method does not need to be overridden by subclasses.
All Look and Feel rendering code should reside in the
| |
| updateStyle | back to summary |
|---|---|
| private void updateStyle(JDesktopPane c) | |
DesktopManager installed by the UI.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | deiconifyFrame(JInternalFrame f)
Overrides javax. Implements javax. Removes the desktopIcon from its parent and adds its frame to the parent. |
| public void | iconifyFrame(JInternalFrame f)
Overrides javax. Implements javax. Removes the frame from its parent and adds its
|
| public void | maximizeFrame(JInternalFrame f)
Overrides javax. Implements javax. Resizes the frame to fill its parents bounds. |
| protected void | removeIconFor(JInternalFrame f)
Overrides javax. Convenience method to remove the desktopIcon of f is necessary. |
| public void | setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
Overrides javax. Implements javax. This moves the |
| SynthDesktopManager | back to summary |
|---|---|
| pack-priv SynthDesktopManager() | |
| deiconifyFrame | back to summary |
|---|---|
| public void deiconifyFrame(JInternalFrame f) Overrides javax. Implements javax. Doc from javax. Removes the desktopIcon from its parent and adds its frame to the parent. | |
| iconifyFrame | back to summary |
|---|---|
| public void iconifyFrame(JInternalFrame f) Overrides javax. Implements javax. Doc from javax. Removes the frame from its parent and adds its
| |
| maximizeFrame | back to summary |
|---|---|
| public void maximizeFrame(JInternalFrame f) Overrides javax. Implements javax. Doc from javax. Resizes the frame to fill its parents bounds. | |
| removeIconFor | back to summary |
|---|---|
| protected void removeIconFor(JInternalFrame f) Overrides javax. Doc from javax. Convenience method to remove the desktopIcon of f is necessary. | |
| setBoundsForFrame | back to summary |
|---|---|
| public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) Overrides javax. Implements javax. Doc from javax. This moves the | |
TaskBar installed by the UI.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | componentAdded(ContainerEvent e)
Implements java. Invoked when a component has been added to the container. |
| public void | componentHidden(ComponentEvent e)
Implements java. Invoked when the component has been made invisible. |
| public void | componentMoved(ComponentEvent e)
Implements java. Invoked when the component's position changes. |
| public void | componentRemoved(ContainerEvent e)
Implements java. Invoked when a component has been removed from the container. |
| public void | componentResized(ComponentEvent e)
Implements java. Invoked when the component's size changes. |
| public void | componentShown(ComponentEvent e)
Implements java. Invoked when the component has been made visible. |
| TaskBar | back to summary |
|---|---|
| pack-priv TaskBar() | |
| adjustSize | back to summary |
|---|---|
| pack-priv void adjustSize() | |
| componentAdded | back to summary |
|---|---|
| public void componentAdded(ContainerEvent e) Implements java. Doc from java. Invoked when a component has been added to the container. | |
| componentHidden | back to summary |
|---|---|
| public void componentHidden(ComponentEvent e) Implements java. Doc from java. Invoked when the component has been made invisible. | |
| componentMoved | back to summary |
|---|---|
| public void componentMoved(ComponentEvent e) Implements java. Doc from java. Invoked when the component's position changes. | |
| componentRemoved | back to summary |
|---|---|
| public void componentRemoved(ContainerEvent e) Implements java. Doc from java. Invoked when a component has been removed from the container. | |
| componentResized | back to summary |
|---|---|
| public void componentResized(ComponentEvent e) Implements java. Doc from java. Invoked when the component's size changes. | |
| componentShown | back to summary |
|---|---|
| public void componentShown(ComponentEvent e) Implements java. Doc from java. Invoked when the component has been made visible. | |