Interface Document

All Superinterfaces:
org.gvsig.tools.util.Contains, org.gvsig.tools.persistence.Persistent, org.gvsig.tools.util.PropertiesSupport
All Known Subinterfaces:
ViewDocument
All Known Implementing Classes:
AbstractDocument, BaseViewDocument, DefaultViewDocument

public interface Document extends org.gvsig.tools.persistence.Persistent, org.gvsig.tools.util.Contains, org.gvsig.tools.util.PropertiesSupport
  • Field Details

  • Method Details

    • getName

      String getName()
      Obtiene el nombre del elemento
      Returns:
    • setName

      void setName(String string)
      Establece el nombre del elemento
      Parameters:
      string -
    • getCreationDate

      String getCreationDate()
      Obtiene la fecha de creación del elemento
      Returns:
    • getOwner

      String getOwner()
      Obtiene el propietario del elemento
      Returns:
    • getTypeName

      String getTypeName()
    • setCreationDate

      void setCreationDate(String string)
      Establece la fecha de creación del elemento.
      Parameters:
      string -
    • setOwner

      void setOwner(String string)
      Establece el propietario del elemento
      Parameters:
      string -
    • getComment

      String getComment()
      Obtiene los comentarios del proyecto
      Returns:
    • setComment

      void setComment(String string)
      Establece los comentarios del proyecto
      Parameters:
      string -
    • getProject

      Project getProject()
    • setProject

      void setProject(Project project)
    • lock

      void lock()
      Locks this project element protecting it from deleting from the project.
    • unlock

      void unlock()
      Unlocks this element. So, from now on, it can be removed from the project.
    • isLocked

      boolean isLocked()
      Tells whether if this project's element is locked/protected or not. A protected element cannot be removed from the current project.
      Returns:
      true if it is locked, false otherwise
      See Also:
      • lock() and unlock() methods.
    • getFactory

      DocumentManager getFactory()
    • isModified

      boolean isModified()
    • setModified

      void setModified(boolean modified)
    • addListener

      void addListener(ProjectDocumentListener listener)
      Register a ProjectDocumentListener.
      Parameters:
      listener - ProjectDocumentListener
    • addPropertyChangeListener

      void addPropertyChangeListener(PropertyChangeListener listener)
      Añade un listener para los cambios en las bounded properties
      Parameters:
      listener -
    • afterRemove

      void afterRemove()
    • afterAdd

      void afterAdd()
    • getWindowLayout

      WindowLayout getWindowLayout()
    • setWindowLayout

      void setWindowLayout(WindowLayout layout)
    • getPropertiesWindow

      org.gvsig.andami.ui.mdiManager.IWindow getPropertiesWindow()
    • getMainWindow

      org.gvsig.andami.ui.mdiManager.IWindow getMainWindow()
      Return the main window associated to this document. Is a tutility method, is equivalent to: this.getFactory().getMainWindow(doc)
      Returns:
      the IWindow associated to this document
    • getMainComponent

      JComponent getMainComponent()
      Return the main JComponent associated to this document. Is a tutility method, is equivalent to: this.getFactory().getMainComponent(doc)
      Returns:
      the JComponent associated to this document
    • isTemporary

      boolean isTemporary()
    • isAvailable

      boolean isAvailable()
    • getOpenWhenTheUserCreates

      boolean getOpenWhenTheUserCreates()
    • refresh

      void refresh()