Class ProjectGanttViewConfiguration
java.lang.Object
overit.geocallapp.utilities.ux.ui.container.gantt.view.GanttViewConfiguration
overit.geocallapp.wfm.project.ux.structure.gantt.state.ProjectGanttViewConfiguration
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Longstatic final Stringstatic final Longstatic final Longprotected static final doubleprotected static final doublestatic final Longstatic final Longstatic final Stringstatic final Longstatic final Stringprotected static final doublestatic final Longstatic final Longstatic final LongFields inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.view.GanttViewConfiguration
_brickType, _headerGroupRows, _indicatorDistance, _indicatorWidth, _minuteWidth, _preferenceName, _rowHeight, _showActualBlocks, _showExpectedBlocks, _showGridCols, _showGridRows, _showIndicators, _showRelations, _showStatusColors, _visibleRangeBegin, _visibleRangeEnd, _widthForDay, _widthForFourMonths, _widthForHour, _widthForMonth, _widthForQuarter, _widthForWeek, _widthForYear, DAY, DEFAULT_MINUTE_WIDTH_FOR_DAY, DEFAULT_MINUTE_WIDTH_FOR_HOUR, DEFAULT_MINUTE_WIDTH_FOR_MONTH, DEFAULT_MINUTE_WIDTH_FOR_QUORTER, DEFAULT_MINUTE_WIDTH_FOR_THIRDS, DEFAULT_MINUTE_WIDTH_FOR_WEEK, DEFAULT_MINUTE_WIDTH_FOR_YEAR, HOUR, MONTH, QUARTERS, THIRDS, WEEK, YEAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoverit.geocallapp.wfm.ui.stato.StatoUIgetState()voidbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected voidrestoreBrickType(overit.geocallapp.wfm.ui.stato.StatoUI state) protected voidrestoreHeaderGroupRows(overit.geocallapp.wfm.ui.stato.StatoUI state) voidsetBrickType(int type) Allow to define the brick type.voidsetHeaderGroupRows(int... rowType) Allow to define a set of brick type to use as extra header to group the main brick type.voidsetMinuteWidth(double minuteWidth) Allow to modify the width of a brick in the GanttViewvoidsetState(overit.geocallapp.wfm.ui.stato.StatoUI state) Methods inherited from class overit.geocallapp.utilities.ux.ui.container.gantt.view.GanttViewConfiguration
alignBrickWidth, getBrickType, getBrickWidthPreferences, getBrickWidthsString, getDefaultMinuteWidth, getHeaderGroupRows, getHeaderRowNumber, getIndicatorDistance, getIndicatorWidth, getMinuteWidth, getRowHeight, getVisibleRangeBegin, getVisibleRangeEnd, isShowActualBlocks, isShowExpectedBlocks, isShowIndicators, isShowStatusColors, setIndicatorDistance, setIndicatorWidth, setPreferenceName, setRowHeight, setShowActualBlocks, setShowExpectedBlocks, setShowGridCols, setShowGridRows, setShowIndicators, setShowRelations, setShowStatusColors, setVisibleRangeBegin, setVisibleRangeEnd, updateBrickWidths
-
Field Details
-
MAX_TREE_SIZE
protected static final double MAX_TREE_SIZE- See Also:
-
MIN_TREE_SIZE
protected static final double MIN_TREE_SIZE- See Also:
-
TREE_SIZE_STEP
protected static final double TREE_SIZE_STEP- See Also:
-
CATEGORY_VIEW
- See Also:
-
TYPE_CONTENT
-
MAIN_RANGE
-
PLANNING_RANGE
-
EXECUTION_RANGE
-
RELATIONS
-
PROJECT_SUMMARY
-
TYPE_VIEW_COMPONENTS
-
VERTICAL_LINE
-
HORIZONTAL_LINE
-
PX_PER_BRICK_TYPE_CONFIGURATION
- See Also:
-
CURRENT_BRICK_TYPE_CONFIGURATION
- See Also:
-
HEADER_GROUP_CONFIGURATION
- See Also:
-
TREE_SIZE_CONFIGURATION
- See Also:
-
CATEGORY_TIMELINE
- See Also:
-
-
Constructor Details
-
ProjectGanttViewConfiguration
public ProjectGanttViewConfiguration()
-
-
Method Details
-
getState
public overit.geocallapp.wfm.ui.stato.StatoUI getState() -
setState
public void setState(overit.geocallapp.wfm.ui.stato.StatoUI state) -
setMinuteWidth
public void setMinuteWidth(double minuteWidth) Description copied from class:GanttViewConfigurationAllow to modify the width of a brick in the GanttView- Overrides:
setMinuteWidthin classGanttViewConfiguration- Parameters:
minuteWidth- the width of a brick of the Gantt expressed in pixel
-
isShowRelations
public boolean isShowRelations()- Overrides:
isShowRelationsin classGanttViewConfiguration
-
isShowGridCols
public boolean isShowGridCols()- Overrides:
isShowGridColsin classGanttViewConfiguration
-
isShowGridRows
public boolean isShowGridRows()- Overrides:
isShowGridRowsin classGanttViewConfiguration
-
isShowPlanningRange
public boolean isShowPlanningRange() -
isShowExecutionRange
public boolean isShowExecutionRange() -
isShowProgrammingRange
public boolean isShowProgrammingRange() -
isShowRoot
public boolean isShowRoot() -
restoreBrickType
protected void restoreBrickType(overit.geocallapp.wfm.ui.stato.StatoUI state) -
restoreHeaderGroupRows
protected void restoreHeaderGroupRows(overit.geocallapp.wfm.ui.stato.StatoUI state) -
setHeaderGroupRows
public void setHeaderGroupRows(int... rowType) Description copied from class:GanttViewConfigurationAllow to define a set of brick type to use as extra header to group the main brick type. For example: if the main brick type isGanttViewConfiguration.DAYand addGanttViewConfiguration.MONTHthe gantt will present the month header over the day header-----------------------March--------------------------| ----01----|----02----|----03----|----04----|----05----|
- Overrides:
setHeaderGroupRowsin classGanttViewConfiguration- Parameters:
rowType- the header group rows
-
setBrickType
public void setBrickType(int type) Description copied from class:GanttViewConfigurationAllow to define the brick type. Valid values areGanttViewConfiguration.HOURGanttViewConfiguration.DAYGanttViewConfiguration.WEEKGanttViewConfiguration.MONTHGanttViewConfiguration.QUARTERSGanttViewConfiguration.THIRDSGanttViewConfiguration.YEAR- Overrides:
setBrickTypein classGanttViewConfiguration- Parameters:
type- the brick type
-
increaseTreeSize
public void increaseTreeSize() -
decreaseTreeSize
public void decreaseTreeSize() -
getTreeSize
-