org.globus.cog.gridface.interfaces
Interface GridFace

All Known Subinterfaces:
BookmarkPanel, CoGTop, Desktop, DirectoryBrowser, FileViewerPanel, GridFTPPanel, ImageViewerPanel, QueueViewPanel, ViewerPanel
All Known Implementing Classes:
AbstractDesktop, DirectoryBrowserImpl, GridFaceImpl, GridFTPPanelImpl, ImageViewerImplToolBar

public interface GridFace

A GridFace is an abstract representation of a visual component the is useful to interact with the Grid. GridFaces are tyoically build out of small panel components. Events between gridfaces are propagarted through property change listeners.


Method Summary
 Date lastUpdateTime()
          Records the last time the GridFace was updated.
 void register(GridFace connection)
          Registers another GridFace to this GridFace.
 void setLabel(String label)
          sets a label for a GridFace.
 void setName(String name)
          sets the name for a GridFace.
 void update()
          updates the displaed gridface.
 

Method Detail

update

public void update()
updates the displaed gridface.


lastUpdateTime

public Date lastUpdateTime()
Records the last time the GridFace was updated. The default value is the time of creation.

Returns:
Date, the last time when the GridFace was updated.

setName

public void setName(String name)
sets the name for a GridFace. Names are useful to distinguish gridfaces from each other. A Name is supposed to be unique. Default is null.

Parameters:
name - a String thatreturns a uniqe name.

setLabel

public void setLabel(String label)
sets a label for a GridFace. Label are useful to create abbreviations for a GridFace for a graphical display. Labels are ofthe used as a title if applicable. Defaukt is null.

Parameters:
label - a String that returns the assigned label.

register

public void register(GridFace connection)
Registers another GridFace to this GridFace. This will prevent that gridfaces are unnecesarily killed.

Parameters:
connection - a GridFace value