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
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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
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