Synergy Home Page

au.edu.swin.synergy.plugin.mod13
Class BDesktopPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.DesktopPaneUI
              |
              +--javax.swing.plaf.basic.BasicDesktopPaneUI
                    |
                    +--au.edu.swin.synergy.plugin.mod13.BDesktopPaneUI

public class BDesktopPaneUI
extends BasicDesktopPaneUI

Class which allows for the display of images on the cohesion desktop

Author:
Shane Fitzgibbon
Copyright Belongs To:
Synergy Software 1999

Inner classes inherited from class javax.swing.plaf.basic.BasicDesktopPaneUI
BasicDesktopPaneUI.CloseAction, BasicDesktopPaneUI.MaximizeAction, BasicDesktopPaneUI.MinimizeAction, BasicDesktopPaneUI.NavigateAction
 
Fields inherited from class javax.swing.plaf.basic.BasicDesktopPaneUI
closeKey, desktop, desktopManager, maximizeKey, minimizeKey, navigateKey, navigateKey2
 
Constructor Summary
BDesktopPaneUI()
          Constructor for the BDesktopPaneUI
BDesktopPaneUI(String name)
          Contructor for the BDesktopPaneUI
 
Method Summary
 void paint(Graphics g, JComponent c)
          Paints the desktop
 void revalidate()
          Cuases the desktop to be revalidated
 void setImage(String imageName)
          Sets the image to be displayed
 
Methods inherited from class javax.swing.plaf.basic.BasicDesktopPaneUI
createUI, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installDesktopManager, installKeyboardActions, installUI, registerKeyboardActions, uninstallDefaults, uninstallDesktopManager, uninstallKeyboardActions, uninstallUI, unregisterKeyboardActions
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BDesktopPaneUI

public BDesktopPaneUI()
Constructor for the BDesktopPaneUI

BDesktopPaneUI

public BDesktopPaneUI(String name)
Contructor for the BDesktopPaneUI
Parameters:
name - String that contains the path of the iamge to be displayed
Method Detail

paint

public void paint(Graphics g,
                  JComponent c)
Paints the desktop
Overrides:
paint in class BasicDesktopPaneUI

revalidate

public void revalidate()
Cuases the desktop to be revalidated

setImage

public void setImage(String imageName)
Sets the image to be displayed
Parameters:
imageName - String that contains the path of the image to be displayed

Synergy Home Page