net.sf.mpxj
Class ViewState

java.lang.Object
  extended by net.sf.mpxj.ViewState

public final class ViewState
extends Object

This class represents the state of a view which has been saved as part of a project file.


Constructor Summary
ViewState(ProjectFile file, String viewName, List<Integer> uniqueIdList, int filterID)
          Constructor.
 
Method Summary
 Filter getFilter()
          Retrieve the currently applied filter.
 List<Integer> getUniqueIdList()
          Retrieve a list of unique IDs representing the contents of this view.
 String getViewName()
          Retrieve the name of the view associated with this state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewState

public ViewState(ProjectFile file,
                 String viewName,
                 List<Integer> uniqueIdList,
                 int filterID)
Constructor.

Parameters:
file - parent project file
viewName - view name
uniqueIdList - unique ID list
filterID - filter ID
Method Detail

getViewName

public String getViewName()
Retrieve the name of the view associated with this state.

Returns:
view name

getUniqueIdList

public List<Integer> getUniqueIdList()
Retrieve a list of unique IDs representing the contents of this view.

Returns:
unique ID list

getFilter

public Filter getFilter()
Retrieve the currently applied filter.

Returns:
filter instance


Copyright © 2012. All Rights Reserved.