Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.eviware.soapui.ui.support
Class DefaultDesktopPanel

    java.lang.Object
      com.eviware.soapui.ui.support.DefaultDesktopPanel

All Implemented Interfaces:
  PropertyChangeNotifier, DesktopPanel

Direct Known Subclasses:
  ModelItemListDesktopPanel, StatisticsDesktopPanel, StatisticsHistoryDesktopPanel

    public class DefaultDesktopPanel

extends java.lang.Object
implements DesktopPanel

Default implementation for simple DesktopPanels

Author:
  Ole.Matzura

Field Summary

Fields inherited from interface com.eviware.soapui.ui.desktop.DesktopPanel
`ICON_PROPERTY, TITLE_PROPERTY`

Constructor Summary
`DefaultDesktopPanel(java.lang.String title, java.lang.String description, javax.swing.JComponent component)`

Method Summary
`void` | `addDependency(ModelItem modelItem)`
`void` | `addPropertyChangeListener(java.beans.PropertyChangeListener listener)`
`void` | `addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)`
`boolean` | `dependsOn(ModelItem modelItem)` Checks if this desktop panel depends on the existence of the specified model item, used for closing relevant panels.
`javax.swing.JComponent` | `getComponent()` Gets the component used to display this desktop panel
`java.lang.String` | `getDescription()` Gets the description for this desktop panel.. may be used as tooltip, etc..
`javax.swing.Icon` | `getIcon()` Returns the icon for this panel
`ModelItem` | `getModelItem()` Gets the model item associated with this desktop panel
`java.lang.String` | `getTitle()` Gets the title for this desktop panel
`void` | `loadIcon(java.lang.String path)`
`boolean` | `onClose(boolean canCancel)` Called when a desktop panel is about to be closed, may be overriden (depending on situation) by returning false if canCancel is set to true.
`void` | `removePropertyChangeListener(java.beans.PropertyChangeListener listener)`
`void` | `removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)`
`void` | `setTitle(java.lang.String title)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultDesktopPanel

    public DefaultDesktopPanel(java.lang.String title,
                               java.lang.String description,
                               javax.swing.JComponent component)

Method Detail

### loadIcon

    public void loadIcon(java.lang.String path)

### getTitle

    public java.lang.String getTitle()

  Description copied from interface: `DesktopPanel`
  Gets the title for this desktop panel

  Specified by:
    `getTitle` in interface `DesktopPanel`

### getDescription

    public java.lang.String getDescription()

  Description copied from interface: `DesktopPanel`
  Gets the description for this desktop panel.. may be used as tooltip, etc..

  Specified by:
    `getDescription` in interface `DesktopPanel`
  Returns:

### setTitle

    public void setTitle(java.lang.String title)

### getModelItem

    public ModelItem getModelItem()

  Description copied from interface: `DesktopPanel`
  Gets the model item associated with this desktop panel

  Specified by:
    `getModelItem` in interface `DesktopPanel`

### onClose

    public boolean onClose(boolean canCancel)

  Description copied from interface: `DesktopPanel`
  Called when a desktop panel is about to be closed, may be overriden (depending on situation) by returning false if canCancel is set to true.

  Specified by:
    `onClose` in interface `DesktopPanel`

### getComponent

    public javax.swing.JComponent getComponent()

  Description copied from interface: `DesktopPanel`
  Gets the component used to display this desktop panel

  Specified by:
    `getComponent` in interface `DesktopPanel`

### dependsOn

    public boolean dependsOn(ModelItem modelItem)

  Description copied from interface: `DesktopPanel`
  Checks if this desktop panel depends on the existence of the specified model item, used for closing relevant panels.

  Specified by:
    `dependsOn` in interface `DesktopPanel`

### addDependency

    public void addDependency(ModelItem modelItem)

### addPropertyChangeListener

    public void addPropertyChangeListener(java.lang.String propertyName,
                                          java.beans.PropertyChangeListener listener)

  Specified by:
    `addPropertyChangeListener` in interface `PropertyChangeNotifier`

### addPropertyChangeListener

    public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

  Specified by:
    `addPropertyChangeListener` in interface `PropertyChangeNotifier`

### removePropertyChangeListener

    public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

  Specified by:
    `removePropertyChangeListener` in interface `PropertyChangeNotifier`

### removePropertyChangeListener

    public void removePropertyChangeListener(java.lang.String propertyName,
                                             java.beans.PropertyChangeListener listener)

  Specified by:
    `removePropertyChangeListener` in interface `PropertyChangeNotifier`

### getIcon

    public javax.swing.Icon getIcon()

  Description copied from interface: `DesktopPanel`
  Returns the icon for this panel

  Specified by:
    `getIcon` in interface `DesktopPanel`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2007 eviware.com. All Rights Reserved.