com.l2fprod.common.application.document
Interface VisualWorkspaceDocument

All Superinterfaces:
WorkspaceDocument
All Known Implementing Classes:
AbstractVisualWorkspaceDocument

public interface VisualWorkspaceDocument
extends WorkspaceDocument

Extends the WorkspaceDocument to provide a graphical representation of the document. Workspaces will be a container for this representation.


Method Summary
 javax.swing.Icon getIcon()
           
 java.awt.Component getVisualComponent()
           
 void setIcon(javax.swing.Icon icon)
          Sets the icon of this document
 
Methods inherited from interface com.l2fprod.common.application.document.WorkspaceDocument
addDocumentListener, addPropertyChangeListener, addVetoableChangeListener, getTitle, getWorkspace, isClosed, isSelected, removeDocumentListener, removePropertyChangeListener, removeVetoableChangeListener, save, setClosed, setSelected, setTitle, setWorkspace
 

Method Detail

getVisualComponent

java.awt.Component getVisualComponent()
Returns:
the graphical representation of the document.

getIcon

javax.swing.Icon getIcon()
Returns:
the icon associated with this document

setIcon

void setIcon(javax.swing.Icon icon)
Sets the icon of this document

Parameters:
icon -