MPXJ: Microsoft Project Exchange

net.sf.mpxj.mpp
Class GenericView

java.lang.Object
  extended by net.sf.mpxj.AbstractView
      extended by net.sf.mpxj.mpp.AbstractMppView
          extended by net.sf.mpxj.mpp.GenericView
All Implemented Interfaces:
View
Direct Known Subclasses:
GanttChartView, GenericView12, GenericView14, GenericView9

public abstract class GenericView
extends AbstractMppView

This class represents a view of a set of project data that has been instantiated within an MS Project file. View data is instantiated when a user first looks at a view in MS Project. Each "screen" in MS Project, for example the Gantt Chart, the Resource Sheet and so on are views. If a user has not looked at a view (for example the Resource Usage view), information about that view will not be present in the MPP file.


Field Summary
 
Fields inherited from class net.sf.mpxj.AbstractView
m_id, m_name, m_parent, m_tableName, m_type
 
Constructor Summary
GenericView(ProjectFile parent, byte[] data, Var2Data varData)
          Extract the view data from the view data block.
 
Method Summary
protected abstract  java.lang.Integer getPropertiesID()
          Retrieve the ID of the properties data.
 
Methods inherited from class net.sf.mpxj.mpp.AbstractMppView
removeAmpersand
 
Methods inherited from class net.sf.mpxj.AbstractView
getID, getName, getTable, getTableName, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericView

public GenericView(ProjectFile parent,
                   byte[] data,
                   Var2Data varData)
            throws java.io.IOException
Extract the view data from the view data block.

Parameters:
parent - parent file
data - view data
varData - var data
Throws:
java.io.IOException
Method Detail

getPropertiesID

protected abstract java.lang.Integer getPropertiesID()
Retrieve the ID of the properties data.

Returns:
properties data ID


Copyright © 2000-2014 Packwood Software. All Rights Reserved.