Class ListViewModel

java.lang.Object
javax.swing.AbstractListModel
org.gvsig.app.project.documents.layout.fframes.ListViewModel
All Implemented Interfaces:
Serializable, ListModel
Direct Known Subclasses:
ListWithoutOverViewModel

public class ListViewModel extends AbstractListModel
Modelo de la Lista de vistas a seleccionar.
Author:
Vicente Caballero Navarro
See Also:
  • Field Details

    • views

      protected List<Object> views
    • CREATE_NEW_VIEW_OBJECT

      public static final String CREATE_NEW_VIEW_OBJECT
  • Constructor Details

    • ListViewModel

      public ListViewModel()
  • Method Details

    • addViews

      public boolean addViews()
      Adds project's views to its list. Returns true if some views where excluded because they have layers in editing mode
      Returns:
    • addCreateNewViewObj

      public void addCreateNewViewObj()
      Adds an special "Create new view" element to the list of available views. This special element flags the creation of a new view
    • addViews

      public void addViews(LayoutPanel l)
      Add all fframeviews into a list.
      Parameters:
      l - Layout.
    • getSize

      public int getSize()
      See Also:
    • getElementAt

      public Object getElementAt(int index)
      See Also:
    • removeFrameView

      public boolean removeFrameView(FFrameView v)