public class GanttConfig extends java.lang.Object implements IGanttConfigInfo
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<java.lang.String,java.lang.Object> |
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<java.lang.String> |
getSelectedActivities()
Get list of selected activities
|
java.util.ArrayList<java.lang.String> |
getSelectedResources()
Get list of selected resources
|
java.util.HashMap<java.lang.String,java.lang.Object> |
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<java.lang.String,java.lang.Object> propertyData)
Sets property data
|
void |
setPropertyValue(java.lang.String propertyName,
java.lang.Object value)
Sets property name and value
|
void |
setResourcePropertyInfo(java.util.List<IMXResourcePropertyInfo> resPropInfo,
java.util.Set<java.lang.String> resourcePropNames)
Set reservation property information
|
void |
setSelectedActivities(java.util.ArrayList<java.lang.String> selectedActivities)
Sets list of selected activities
|
void |
setSelectedResources(java.util.ArrayList<java.lang.String> selectedResources)
Sets list of selected resources
|
void |
setSystemPropMap(java.util.HashMap<java.lang.String,java.lang.Object> map)
Set a HashMap of system properties needed to pass to applet
|
public void addActivityPropertyInfo(IMXActivityPropertyInfo activityPropertyInfo)
activityPropertyInfo
- public void addResourcePropertyInfo(IMXResourcePropertyInfo resourcePropertyInfo)
resourcePropertyInfo
- public void setResourcePropertyInfo(java.util.List<IMXResourcePropertyInfo> resPropInfo, java.util.Set<java.lang.String> 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<java.lang.String> getSelectedActivities()
getSelectedActivities
in interface IGanttConfigInfo
public void setSelectedActivities(java.util.ArrayList<java.lang.String> selectedActivities)
ArrayList
- of selected activitiespublic java.util.ArrayList<java.lang.String> getSelectedResources()
getSelectedResources
in interface IGanttConfigInfo
public void setSelectedResources(java.util.ArrayList<java.lang.String> selectedResources)
ArrayList
- of selected Resourcespublic java.util.HashMap<java.lang.String,java.lang.Object> getPropertyData()
getPropertyData
in interface IGanttConfigInfo
public void setPropertyData(java.util.HashMap<java.lang.String,java.lang.Object> propertyData)
HashMap - Object> propertyData
public java.util.HashMap<java.lang.String,java.lang.Object> getSystemPropMap()
getSystemPropMap
in interface IGanttConfigInfo
public void setSystemPropMap(java.util.HashMap<java.lang.String,java.lang.Object> 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