public class ChartUtility
extends java.lang.Object
Constructor and Description |
---|
ChartUtility() |
Modifier and Type | Method and Description |
---|---|
static void |
autoAdjustChartPadding(ResourceViewContext ctx,
ilog.views.schedule.IlvScheduleDataChart dchart)
Given the Resource View Context and the LoadChart, auto adjust the Chart Padding based on if the Y axis is visible or not
|
static void |
collapseAssignments(ilog.views.gantt.IlvGanttChart gChart,
MXGanttModel model,
java.util.ArrayList<MXActivity> dummyAssignActivities)
Collapse the assignement activities.
|
static void |
configureTimeScale(ilog.views.gantt.IlvHierarchyChart chart,
ilog.views.gantt.IlvTimeScrollController timeScrollController)
Configures the TimeScale for the given Chart
|
static void |
configureTimeScale(ilog.views.gantt.scale.IlvTimeScale timeScale,
ilog.views.gantt.IlvTimeScrollController timeScrollController)
Configures the given TimeScale
|
static ilog.views.gantt.scale.IlvTimeScale |
createAdjustableTimeScale()
Creates an adjustable timescale which is controlled by a visibility policy deciding on the number of visible rows
based on the zoom level, also customerize the text for the diaplay.
|
static ilog.views.gantt.IlvTimeInterval |
createUnionTimeInterval(ilog.views.gantt.IlvHierarchyChart... charts)
Returns a TimeInterval that fits all the charts that are passed in.
|
static java.lang.String |
getAssignmentsState(ilog.views.gantt.IlvGanttChart gChart,
MXActivity activity) |
static boolean |
isVisible(ilog.views.gantt.IlvHierarchyNode node,
ilog.views.gantt.IlvHierarchyChart chart)
return true if the node is visible in the current chart's visible time
|
static ilog.views.gantt.scale.IlvTimeScale |
setUserLocaleForTimeScale(ilog.views.gantt.scale.IlvTimeScale timescale)
Creates an adjustable timescale which is controlled by a visibility policy deciding on the number of visible rows
based on the zoom level, also customerize the text for the diaplay.
|
public static ilog.views.gantt.scale.IlvTimeScale createAdjustableTimeScale()
public static ilog.views.gantt.scale.IlvTimeScale setUserLocaleForTimeScale(ilog.views.gantt.scale.IlvTimeScale timescale)
public static void configureTimeScale(ilog.views.gantt.IlvHierarchyChart chart, ilog.views.gantt.IlvTimeScrollController timeScrollController)
public static void configureTimeScale(ilog.views.gantt.scale.IlvTimeScale timeScale, ilog.views.gantt.IlvTimeScrollController timeScrollController)
public static void collapseAssignments(ilog.views.gantt.IlvGanttChart gChart, MXGanttModel model, java.util.ArrayList<MXActivity> dummyAssignActivities)
public static java.lang.String getAssignmentsState(ilog.views.gantt.IlvGanttChart gChart, MXActivity activity)
public static ilog.views.gantt.IlvTimeInterval createUnionTimeInterval(ilog.views.gantt.IlvHierarchyChart... charts)
charts
- public static boolean isVisible(ilog.views.gantt.IlvHierarchyNode node, ilog.views.gantt.IlvHierarchyChart chart)
node
- chart
- public static void autoAdjustChartPadding(ResourceViewContext ctx, ilog.views.schedule.IlvScheduleDataChart dchart)
ctx
- dchart
-