public class GanttConfig extends java.lang.Object implements IGanttConfigInfo
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
STATE_SELECTACTIVITIES |
protected static java.lang.String |
STATE_SELECTRESOURCES |
Constructor and Description |
---|
GanttConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addActivityPropertyInfo(IMXActivityPropertyInfo activityPropertyInfo)
Add activity property information
|
void |
addConstraintPropertyInfo(IMXConstraintPropertyInfo constraintPropertyInfo)
Add constraint property information
|
void |
addReservationPropertyInfo(IMXReservationPropertyInfo reservationPropertyInfo)
Add reservation property information
|
void |
addResourcePropertyInfo(IMXResourcePropertyInfo resourcePropertyInfo)
Add resource property information
|
IMXActivityPropertyInfo |
getActivityPropertyInfo(java.lang.String propertyName)
Get property information for an activity property name
|
java.util.Iterator |
getActivityPropertyNames()
Get name of all activity properties
|
IMXConstraintPropertyInfo |
getConstraintPropertyInfo(java.lang.String propertyName)
Get property information for an constraint property name
|
java.util.Iterator |
getConstraintPropertyNames()
Get name of all constraint properties
|
int |
getHSplitPaneDividerLocation()
/**
Get location of horizonstal divider
|
java.util.HashMap |
getPropertyData()
Get property data
|
java.lang.Object |
getPropertyValue(java.lang.String propertyName)
Get the property value for a property name
|
IMXReservationPropertyInfo |
getReservationPropertyInfo(java.lang.String propertyName)
Get property information for an reservation property name
|
java.util.Iterator |
getReservationPropertyNames()
Get name of all reservation properties
|
IMXResourcePropertyInfo |
getResourcePropertyInfo(java.lang.String propertyName)
Get property information for an resource property name
|
java.util.Iterator |
getResourcePropertyNames()
Get name of all resource properties
|
java.util.ArrayList |
getSelectedActivities()
Get list of selected activities
|
java.util.ArrayList |
getSelectedResources()
Get list of selected resources
|
java.util.HashMap |
getSystemPropMap()
Get a HashMap of system properties needed to pass to applet
|
int |
getVerticalScrollPosition()
Get position of Vertical Scroll Bar
|
long |
getVisibleInterval()
Get visible interval
|
long |
getVisibleStartTime()
Get visible start time
|
int |
getVSplitPaneDividerLocation()
Set location of vertical divider
|
void |
setPropertyData(java.util.HashMap propertyData)
Sets property data
|
void |
setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Sets property name and value
|
void |
setResourcePropertyInfo(java.util.List resPropInfo,
java.util.Set resourcePropNames)
Set reservation property information
|
void |
setSelectedActivities(java.util.ArrayList selectedActivities)
Sets list of selected activities
|
void |
setSelectedResources(java.util.ArrayList selectedResources)
Sets list of selected resources
|
void |
setSystemPropMap(java.util.HashMap map)
Set a HashMap of system properties needed to pass to applet
|
protected static final java.lang.String STATE_SELECTACTIVITIES
protected static final java.lang.String STATE_SELECTRESOURCES
public void addActivityPropertyInfo(IMXActivityPropertyInfo activityPropertyInfo)
activityPropertyInfo
- public void addResourcePropertyInfo(IMXResourcePropertyInfo resourcePropertyInfo)
resourcePropertyInfo
- public void setResourcePropertyInfo(java.util.List resPropInfo, java.util.Set resourcePropNames)
reservationPropertyInfo
- public void addReservationPropertyInfo(IMXReservationPropertyInfo reservationPropertyInfo)
reservationPropertyInfo
- public void addConstraintPropertyInfo(IMXConstraintPropertyInfo constraintPropertyInfo)
constraintPropertyInfo
- public java.util.Iterator getActivityPropertyNames()
getActivityPropertyNames
in interface IGanttConfigInfo
public IMXActivityPropertyInfo getActivityPropertyInfo(java.lang.String propertyName)
getActivityPropertyInfo
in interface IGanttConfigInfo
public java.util.Iterator getResourcePropertyNames()
getResourcePropertyNames
in interface IGanttConfigInfo
public IMXResourcePropertyInfo getResourcePropertyInfo(java.lang.String propertyName)
getResourcePropertyInfo
in interface IGanttConfigInfo
public java.util.Iterator getReservationPropertyNames()
getReservationPropertyNames
in interface IGanttConfigInfo
public IMXReservationPropertyInfo getReservationPropertyInfo(java.lang.String propertyName)
getReservationPropertyInfo
in interface IGanttConfigInfo
public java.util.Iterator getConstraintPropertyNames()
getConstraintPropertyNames
in interface IGanttConfigInfo
public IMXConstraintPropertyInfo getConstraintPropertyInfo(java.lang.String propertyName)
getConstraintPropertyInfo
in interface IGanttConfigInfo
public java.util.ArrayList getSelectedActivities()
getSelectedActivities
in interface IGanttConfigInfo
public void setSelectedActivities(java.util.ArrayList selectedActivities)
ArrayList
- of selected activitiespublic java.util.ArrayList getSelectedResources()
getSelectedResources
in interface IGanttConfigInfo
public void setSelectedResources(java.util.ArrayList selectedResources)
ArrayList
- of selected Resourcespublic java.util.HashMap getPropertyData()
getPropertyData
in interface IGanttConfigInfo
public void setPropertyData(java.util.HashMap propertyData)
HashMap - Object> propertyData
public java.util.HashMap getSystemPropMap()
getSystemPropMap
in interface IGanttConfigInfo
public void setSystemPropMap(java.util.HashMap map)
- propvalue>
public java.lang.Object getPropertyValue(java.lang.String propertyName)
propertyName
- public void setPropertyValue(java.lang.String propertyName, java.lang.Object value)
propertyName
- value
- public int getHSplitPaneDividerLocation()
IGanttConfigInfo
getHSplitPaneDividerLocation
in interface IGanttConfigInfo
public int getVSplitPaneDividerLocation()
IGanttConfigInfo
getVSplitPaneDividerLocation
in interface IGanttConfigInfo
public long getVisibleStartTime()
IGanttConfigInfo
getVisibleStartTime
in interface IGanttConfigInfo
public long getVisibleInterval()
IGanttConfigInfo
getVisibleInterval
in interface IGanttConfigInfo
public int getVerticalScrollPosition()
IGanttConfigInfo
getVerticalScrollPosition
in interface IGanttConfigInfo