public class GanttChartHeaderPropertiesMap extends ChartPropertiesMap
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_MONTH_FORMAT |
static int |
DEFAULT_PERIOD |
Constructor and Description |
---|
GanttChartHeaderPropertiesMap() |
Modifier and Type | Method and Description |
---|---|
void |
clearAllHeaderProperties()
Remove all of header property.
|
ChartProperties |
createHeaderProperties(java.util.Date start,
java.util.Date end)
Create the header properties.
|
ChartProperties |
createHeaderProperties(int index)
Create the header properties.
|
java.lang.String |
getDateFormater()
Returns the dateformat for all of header.
|
ChartProperties |
getHeaderProperties(java.util.Date start,
java.util.Date end)
Returns the header properties.
|
ChartProperties |
getHeaderProperties(int index)
Returns the header properties at the specified position.
|
static java.util.List<java.lang.Comparable<?>> |
getKey(java.util.Date start,
java.util.Date end) |
int |
getPeriod()
Returns the period used in header.
|
boolean |
isShowDateHeader()
Returns whether to show the date column.
|
void |
removeHeaderProperties(java.util.Date start,
java.util.Date end)
Remove the header properties properties.
|
void |
removeHeaderProperties(int index)
Remove the header properties at the specified position.
|
void |
setDateFormater(java.lang.String dateFormater)
Sets the dateformat for all of header.
|
void |
setPeriod(int period)
Sets the period used in header.
|
void |
setShowDateHeader(boolean showDateHeader)
Sets whether to show the date column.
|
clearAllProperties, createProperties, getKeys, getProperties, removeProperties, size
addAllProperties, addChartDataListener, addProperty, addPropertyListener, clear, fireEvent, fireEvent, getAllProperties, getProperty, removeChartDataListener, removeProperty, removePropertyListener
public static final java.lang.String DEFAULT_MONTH_FORMAT
public static final int DEFAULT_PERIOD
public java.lang.String getDateFormater()
public void setDateFormater(java.lang.String dateFormater)
dateFormater
- public void setShowDateHeader(boolean showDateHeader)
Gantt chart only.
showDateHeader
- public boolean isShowDateHeader()
Gantt chart only.
public int getPeriod()
public void setPeriod(int period)
public ChartProperties createHeaderProperties(java.util.Date start, java.util.Date end)
public ChartProperties createHeaderProperties(int index)
public ChartProperties getHeaderProperties(java.util.Date start, java.util.Date end)
start
- end
- public ChartProperties getHeaderProperties(int index)
index
- public void removeHeaderProperties(java.util.Date start, java.util.Date end)
start
- end
- public void removeHeaderProperties(int index)
index
- public void clearAllHeaderProperties()
public static final java.util.List<java.lang.Comparable<?>> getKey(java.util.Date start, java.util.Date end)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.