public abstract class GanttChartView extends GenericView
m_file, m_id, m_name, m_tableName, m_tables, m_type
Modifier and Type | Method and Description |
---|---|
boolean |
getAlwaysRollupGanttBars()
Retrieve the always rollup Gantt bars flag.
|
Filter |
getAutoFilterByType(FieldType type)
Retrieves the auto filter definition associated with an
individual column.
|
List<Filter> |
getAutoFilters()
Retrieves a list of all auto filters associated with this view.
|
GanttBarDateFormat |
getBarDateFormat()
Retrieve the bar date format.
|
GridLines |
getBarRowsGridLines()
Retrieve a grid lines definition.
|
GanttBarStyleException[] |
getBarStyleExceptions()
Retrieve an array representing bar styles which have been defined
by the user for a specific task.
|
GanttBarStyle[] |
getBarStyles()
Retrieve an array of bar styles which are applied to all Gantt
chart bars, unless an exception has been defined.
|
FontStyle |
getBarTextBottomFontStyle()
Retrieve a FontStyle instance.
|
FontStyle |
getBarTextInsideFontStyle()
Retrieve a FontStyle instance.
|
FontStyle |
getBarTextLeftFontStyle()
Retrieve a FontStyle instance.
|
FontStyle |
getBarTextRightFontStyle()
Retrieve a FontStyle instance.
|
FontStyle |
getBarTextTopFontStyle()
Retrieve a FontStyle instance.
|
GridLines |
getBottomTierColumnGridLines()
Retrieve a grid lines definition.
|
FontStyle |
getBottomTimescaleFontStyle()
Retrieve a FontStyle instance.
|
protected TableFontStyle |
getColumnFontStyle(ProjectFile file,
byte[] data,
int offset,
Map<Integer,FontBase> fontBases)
Retrieve column font details from a block of property data.
|
FontStyle |
getCriticalTasksFontStyle()
Retrieve a FontStyle instance.
|
GridLines |
getCurrentDateGridLines()
Retrieve a grid lines definition.
|
Filter |
getDefaultFilter()
Convenience method used to retrieve the default filter instance
associated with this view.
|
String |
getDefaultFilterName()
Retrieve the name of the filter applied to this view.
|
FontStyle |
getExternalTasksFontStyle()
Retrieve a FontStyle instance.
|
protected FontStyle |
getFontStyle(byte[] data,
int offset,
Map<Integer,FontBase> fontBases)
Retrieve font details from a block of property data.
|
int |
getGanttBarHeight()
Retrieve the height of the Gantt bars in this view.
|
GridLines |
getGanttRowsGridLines()
Retrieve a grid lines definition.
|
String |
getGroupName()
Retrieve the name of the grouping applied to this view.
|
boolean |
getHideRollupBarsWhenSummaryExpanded()
Retrieve the hide rollup bars when summary expanded.
|
FontStyle |
getHighlightedTasksFontStyle()
Retrieve a FontStyle instance.
|
boolean |
getHighlightFilter()
Retrieve the highlight filter flag.
|
LinkStyle |
getLinkStyle()
Retrieve the bar link style.
|
FontStyle |
getMarkedTasksFontStyle()
Retrieve a FontStyle instance.
|
GridLines |
getMiddleTierColumnGridLines()
Retrieve a grid lines definition.
|
FontStyle |
getMiddleTimescaleFontStyle()
Retrieve a FontStyle instance.
|
FontStyle |
getMilestoneTasksFontStyle()
Retrieve a FontStyle instance.
|
FontStyle |
getNonCriticalTasksFontStyle()
Retrieve a FontStyle instance.
|
Color |
getNonWorkingColor()
Retrieve the non-working time color.
|
String |
getNonWorkingDaysCalendarName()
Retrieve the name of the calendar used to define non-working days for
this view..
|
ChartPattern |
getNonWorkingPattern()
Retrieve the non-working time pattern.
|
NonWorkingTimeStyle |
getNonWorkingStyle()
Retrieve the style used to draw non-working time.
|
GridLines |
getPageBreakGridLines()
Retrieve a grid lines definition.
|
boolean |
getProgressLinesActualPlan()
Retrieve the progress lines actual plan flag.
|
boolean |
getProgressLinesAtCurrentDate()
Retrieve the progress lines at current date flag.
|
boolean |
getProgressLinesAtRecurringIntervals()
Retrieve the progress lines at recurring intervals flag.
|
LocalDateTime |
getProgressLinesBeginAtDate()
Retrieve the progress lines begin at date.
|
boolean |
getProgressLinesBeginAtProjectStart()
Retrieve the progress lines begin at project start flag.
|
Color |
getProgressLinesCurrentLineColor()
Retrieve the progress lines current line color.
|
LineStyle |
getProgressLinesCurrentLineStyle()
Retrieve the progress lines current line style.
|
Color |
getProgressLinesCurrentProgressPointColor()
Retrieve the current progress point color.
|
int |
getProgressLinesCurrentProgressPointShape()
Retrieve the current progress point shape.
|
int |
getProgressLinesDateFormat()
Retrieve the progress line date format.
|
boolean |
getProgressLinesDisplaySelected()
Retrieves the flag indicating if selected dates have been supplied
for progress line display.
|
LocalDateTime[] |
getProgressLinesDisplaySelectedDates()
Retrieves an array of selected dates for progress line display,
or returns null if no dates have been supplied.
|
int |
getProgressLinesDisplayType()
Retrieves the progress lines display type.
|
boolean |
getProgressLinesEnabled()
Retrieves the progress lines enabled flag.
|
FontStyle |
getProgressLinesFontStyle()
Retrieves the progress lines font style.
|
Interval |
getProgressLinesInterval()
Retrieves the progress line interval.
|
int |
getProgressLinesIntervalDailyDayNumber()
Retrieve the progress lines daily day number.
|
boolean |
getProgressLinesIntervalMonthlyDay()
Retrieves the progress lines monthly day of month.
|
int |
getProgressLinesIntervalMonthlyDayDayNumber()
Retrieves the progress lines monthly day number.
|
int |
getProgressLinesIntervalMonthlyDayMonthNumber()
Retrieves the progress line month number for the monthly day type.
|
boolean |
getProgressLinesIntervalMonthlyFirstLast()
Retrieves the progress lines monthly first flag.
|
ProgressLineDay |
getProgressLinesIntervalMonthlyFirstLastDay()
Retrieves the progress lines monthly day.
|
int |
getProgressLinesIntervalMonthlyFirstLastMonthNumber()
Retrieves the progress lines month number for the monthly first last type.
|
int |
getProgressLinesIntervalWeekleyWeekNumber()
Retrieves the progress lines weekly week number.
|
boolean[] |
getProgressLinesIntervalWeeklyDay()
Retrieves the progress lines weekly day.
|
Color |
getProgressLinesOtherLineColor()
Retrieves the progress lines other line color.
|
LineStyle |
getProgressLinesOtherLineStyle()
Retrieves the progress lines other line style.
|
Color |
getProgressLinesOtherProgressPointColor()
Retrieves the progress lines other progress point color.
|
int |
getProgressLinesOtherProgressPointShape()
Retrieves the progress lines other progress point shape.
|
boolean |
getProgressLinesShowDate()
Retrieves the progress lines show date flag.
|
GridLines |
getProjectFinishGridLines()
Retrieve a grid lines definition.
|
GridLines |
getProjectStartGridLines()
Retrieve a grid lines definition.
|
FontStyle |
getProjectSummaryTasksFontStyle()
Retrieve a FontStyle instance.
|
boolean |
getRoundBarsToWholeDays()
Retrieve the round bars to whole days flag.
|
FontStyle |
getRowAndColumnFontStyle()
Retrieve a FontStyle instance.
|
GridLines |
getSheetColumnsGridLines()
Retrieve a grid lines definition.
|
GridLines |
getSheetRowsGridLines()
Retrieve a grid lines definition.
|
boolean |
getShowBarSplits()
Retrieve the show bar splits flag.
|
boolean |
getShowDrawings()
Retrieve the show drawings flag.
|
boolean |
getShowInMenu()
Retrieve the show in menu flag.
|
GridLines |
getStatusDateGridLines()
Retrieve a grid lines definition.
|
FontStyle |
getSummaryTasksFontStyle()
Retrieve a FontStyle instance.
|
TableFontStyle[] |
getTableFontStyles()
Retrieve any column font styles which the user has defined.
|
int |
getTableWidth()
Retrieve the width of the table part of the view.
|
TimescaleTier |
getTimescaleBottomTier()
Retrieves a timescale tier.
|
TimescaleTier |
getTimescaleMiddleTier()
Retrieves a timescale tier.
|
boolean |
getTimescaleScaleSeparator()
Retrieve a flag indicating if a separator is shown between the
major and minor scales.
|
int |
getTimescaleShowTiers()
Retrieve the number of timescale tiers to display.
|
int |
getTimescaleSize()
Retrieve the timescale size value.
|
TimescaleTier |
getTimescaleTopTier()
Retrieves a timescale tier.
|
GridLines |
getTitleHorizontalGridLines()
Retrieve a grid lines definition.
|
GridLines |
getTitleVerticalGridLines()
Retrieve a grid lines definition.
|
GridLines |
getTopTierColumnGridLines()
Retrieve a grid lines definition.
|
FontStyle |
getTopTimescaleFontStyle()
Retrieve a FontStyle instance.
|
boolean |
isProgressLinesIntervalDailyWorkday()
Retrieve the progress lines daily workday flag.
|
protected int |
mapGanttBarHeight(int height)
This method maps the encoded height of a Gantt bar to
the height in pixels.
|
protected abstract void |
processAutoFilters(byte[] data)
Extract autofilter definitions.
|
protected abstract void |
processDefaultBarStyles(net.sf.mpxj.mpp.Props props)
Extract the Gantt bar styles.
|
protected abstract void |
processExceptionBarStyles(net.sf.mpxj.mpp.Props props)
Extract the exception Gantt bar styles.
|
protected abstract void |
processProgressLines(Map<Integer,FontBase> fontBases,
byte[] data)
Extract progress line properties.
|
protected abstract void |
processTableFontStyles(Map<Integer,FontBase> fontBases,
byte[] data)
Extract table font styles.
|
protected abstract void |
processViewProperties(Map<Integer,FontBase> fontBases,
net.sf.mpxj.mpp.Props props)
Extract view properties.
|
String |
toString()
Generate a string representation of this instance.
|
getPropertiesID
removeAmpersand
getID, getName, getTable, getTableName, getType
protected GridLines m_sheetRowsGridLines
protected GridLines m_sheetColumnsGridLines
protected GridLines m_titleVerticalGridLines
protected GridLines m_titleHorizontalGridLines
protected GridLines m_middleTierColumnGridLines
protected GridLines m_bottomTierColumnGridLines
protected GridLines m_ganttRowsGridLines
protected GridLines m_barRowsGridLines
protected GridLines m_currentDateGridLines
protected GridLines m_pageBreakGridLines
protected GridLines m_projectStartGridLines
protected GridLines m_projectFinishGridLines
protected GridLines m_statusDateGridLines
protected GridLines m_topTierColumnGridLines
protected int m_ganttBarHeight
protected TimescaleTier m_timescaleTopTier
protected TimescaleTier m_timescaleMiddleTier
protected TimescaleTier m_timescaleBottomTier
protected boolean m_timescaleScaleSeparator
protected int m_timescaleSize
protected int m_timescaleShowTiers
protected String m_nonWorkingDaysCalendarName
protected Color m_nonWorkingColor
protected ChartPattern m_nonWorkingPattern
protected NonWorkingTimeStyle m_nonWorkingStyle
protected boolean m_showDrawings
protected boolean m_roundBarsToWholeDays
protected boolean m_showBarSplits
protected boolean m_alwaysRollupGanttBars
protected boolean m_hideRollupBarsWhenSummaryExpanded
protected GanttBarDateFormat m_barDateFormat
protected LinkStyle m_linkStyle
protected GanttBarStyle[] m_barStyles
protected GanttBarStyleException[] m_barStyleExceptions
protected FontStyle m_highlightedTasksFontStyle
protected FontStyle m_rowAndColumnFontStyle
protected FontStyle m_nonCriticalTasksFontStyle
protected FontStyle m_criticalTasksFontStyle
protected FontStyle m_summaryTasksFontStyle
protected FontStyle m_milestoneTasksFontStyle
protected FontStyle m_topTimescaleFontStyle
protected FontStyle m_middleTimescaleFontStyle
protected FontStyle m_bottomTimescaleFontStyle
protected FontStyle m_barTextLeftFontStyle
protected FontStyle m_barTextRightFontStyle
protected FontStyle m_barTextTopFontStyle
protected FontStyle m_barTextBottomFontStyle
protected FontStyle m_barTextInsideFontStyle
protected FontStyle m_markedTasksFontStyle
protected FontStyle m_projectSummaryTasksFontStyle
protected FontStyle m_externalTasksFontStyle
protected TableFontStyle[] m_tableFontStyles
protected boolean m_progressLinesEnabled
protected boolean m_progressLinesAtCurrentDate
protected boolean m_progressLinesAtRecurringIntervals
protected Interval m_progressLinesInterval
protected int m_progressLinesIntervalDailyDayNumber
protected boolean m_progressLinesIntervalDailyWorkday
protected final boolean[] m_progressLinesIntervalWeeklyDay
protected int m_progressLinesIntervalWeekleyWeekNumber
protected boolean m_progressLinesIntervalMonthlyDay
protected int m_progressLinesIntervalMonthlyDayDayNumber
protected int m_progressLinesIntervalMonthlyDayMonthNumber
protected ProgressLineDay m_progressLinesIntervalMonthlyFirstLastDay
protected boolean m_progressLinesIntervalMonthlyFirstLast
protected int m_progressLinesIntervalMonthlyFirstLastMonthNumber
protected boolean m_progressLinesBeginAtProjectStart
protected LocalDateTime m_progressLinesBeginAtDate
protected boolean m_progressLinesDisplaySelected
protected LocalDateTime[] m_progressLinesDisplaySelectedDates
protected boolean m_progressLinesActualPlan
protected int m_progressLinesDisplayType
protected boolean m_progressLinesShowDate
protected int m_progressLinesDateFormat
protected FontStyle m_progressLinesFontStyle
protected Color m_progressLinesCurrentLineColor
protected LineStyle m_progressLinesCurrentLineStyle
protected Color m_progressLinesCurrentProgressPointColor
protected int m_progressLinesCurrentProgressPointShape
protected Color m_progressLinesOtherLineColor
protected LineStyle m_progressLinesOtherLineStyle
protected Color m_progressLinesOtherProgressPointColor
protected int m_progressLinesOtherProgressPointShape
protected static final Integer VIEW_PROPERTIES
protected static final Integer TIMESCALE_PROPERTIES
protected abstract void processDefaultBarStyles(net.sf.mpxj.mpp.Props props)
props
- props structure containing the style definitionsprotected abstract void processExceptionBarStyles(net.sf.mpxj.mpp.Props props)
props
- props structure containing the style definitionsprotected abstract void processAutoFilters(byte[] data)
data
- autofilters data blockprotected abstract void processViewProperties(Map<Integer,FontBase> fontBases, net.sf.mpxj.mpp.Props props)
fontBases
- font defintionsprops
- Gantt chart view propsprotected abstract void processTableFontStyles(Map<Integer,FontBase> fontBases, byte[] data)
fontBases
- font basesdata
- column dataprotected abstract void processProgressLines(Map<Integer,FontBase> fontBases, byte[] data)
fontBases
- font basesdata
- column datapublic GridLines getSheetColumnsGridLines()
public GridLines getSheetRowsGridLines()
public GridLines getStatusDateGridLines()
public GridLines getTitleHorizontalGridLines()
public GridLines getTitleVerticalGridLines()
public GridLines getBarRowsGridLines()
public GridLines getCurrentDateGridLines()
public GridLines getGanttRowsGridLines()
public GridLines getTopTierColumnGridLines()
public GridLines getMiddleTierColumnGridLines()
public GridLines getBottomTierColumnGridLines()
public String getNonWorkingDaysCalendarName()
public GridLines getPageBreakGridLines()
public GridLines getProjectFinishGridLines()
public GridLines getProjectStartGridLines()
public int getGanttBarHeight()
public boolean getTimescaleScaleSeparator()
public TimescaleTier getTimescaleTopTier()
public TimescaleTier getTimescaleMiddleTier()
public TimescaleTier getTimescaleBottomTier()
public int getTimescaleSize()
public int getTimescaleShowTiers()
public Color getNonWorkingColor()
public ChartPattern getNonWorkingPattern()
public NonWorkingTimeStyle getNonWorkingStyle()
public boolean getAlwaysRollupGanttBars()
public GanttBarDateFormat getBarDateFormat()
public boolean getHideRollupBarsWhenSummaryExpanded()
public LinkStyle getLinkStyle()
public boolean getRoundBarsToWholeDays()
public boolean getShowBarSplits()
public boolean getShowDrawings()
public GanttBarStyleException[] getBarStyleExceptions()
public GanttBarStyle[] getBarStyles()
public int getTableWidth()
public String getDefaultFilterName()
public Filter getDefaultFilter()
public String getGroupName()
public boolean getHighlightFilter()
public boolean getShowInMenu()
public FontStyle getBarTextBottomFontStyle()
public FontStyle getBarTextInsideFontStyle()
public FontStyle getBarTextLeftFontStyle()
public FontStyle getBarTextRightFontStyle()
public FontStyle getBarTextTopFontStyle()
public FontStyle getCriticalTasksFontStyle()
public FontStyle getExternalTasksFontStyle()
public FontStyle getHighlightedTasksFontStyle()
public FontStyle getTopTimescaleFontStyle()
public FontStyle getMiddleTimescaleFontStyle()
public FontStyle getMarkedTasksFontStyle()
public FontStyle getMilestoneTasksFontStyle()
public FontStyle getBottomTimescaleFontStyle()
public FontStyle getNonCriticalTasksFontStyle()
public FontStyle getProjectSummaryTasksFontStyle()
public FontStyle getRowAndColumnFontStyle()
public FontStyle getSummaryTasksFontStyle()
public TableFontStyle[] getTableFontStyles()
public boolean getProgressLinesActualPlan()
public boolean getProgressLinesAtCurrentDate()
public boolean getProgressLinesAtRecurringIntervals()
public LocalDateTime getProgressLinesBeginAtDate()
public boolean getProgressLinesBeginAtProjectStart()
public Color getProgressLinesCurrentLineColor()
public LineStyle getProgressLinesCurrentLineStyle()
public Color getProgressLinesCurrentProgressPointColor()
public int getProgressLinesCurrentProgressPointShape()
public int getProgressLinesIntervalDailyDayNumber()
public boolean isProgressLinesIntervalDailyWorkday()
public int getProgressLinesDateFormat()
public boolean getProgressLinesDisplaySelected()
public LocalDateTime[] getProgressLinesDisplaySelectedDates()
public int getProgressLinesDisplayType()
public boolean getProgressLinesEnabled()
public FontStyle getProgressLinesFontStyle()
public Interval getProgressLinesInterval()
public ProgressLineDay getProgressLinesIntervalMonthlyFirstLastDay()
public int getProgressLinesIntervalMonthlyFirstLastMonthNumber()
public int getProgressLinesIntervalMonthlyDayDayNumber()
public boolean getProgressLinesIntervalMonthlyDay()
public int getProgressLinesIntervalMonthlyDayMonthNumber()
public boolean getProgressLinesIntervalMonthlyFirstLast()
public Color getProgressLinesOtherLineColor()
public LineStyle getProgressLinesOtherLineStyle()
public Color getProgressLinesOtherProgressPointColor()
public int getProgressLinesOtherProgressPointShape()
public boolean getProgressLinesShowDate()
public int getProgressLinesIntervalWeekleyWeekNumber()
public boolean[] getProgressLinesIntervalWeeklyDay()
protected int mapGanttBarHeight(int height)
height
- encoded heightprotected FontStyle getFontStyle(byte[] data, int offset, Map<Integer,FontBase> fontBases)
data
- property dataoffset
- offset into property datafontBases
- map of font basesprotected TableFontStyle getColumnFontStyle(ProjectFile file, byte[] data, int offset, Map<Integer,FontBase> fontBases)
file
- parent filedata
- property dataoffset
- offset into property datafontBases
- map of font basespublic List<Filter> getAutoFilters()
public Filter getAutoFilterByType(FieldType type)
type
- field typepublic String toString()
toString
in class AbstractView
Copyright © 2000–2024 Packwood Software. All rights reserved.