public class GanttChartHeaderPropertiesMap extends ChartPropertiesMap
| Modifier and Type | Field and Description |
|---|---|
static 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(Date start,
Date end)
Create the header properties.
|
ChartProperties |
createHeaderProperties(int index)
Create the header properties.
|
String |
getDateFormater()
Returns the dateformat for all of header.
|
ChartProperties |
getHeaderProperties(Date start,
Date end)
Returns the header properties.
|
ChartProperties |
getHeaderProperties(int index)
Returns the header properties at the specified position.
|
static List<Comparable<?>> |
getKey(Date start,
Date end) |
int |
getPeriod()
Returns the period used in header.
|
boolean |
isShowDateHeader()
Returns whether to show the date column.
|
void |
removeHeaderProperties(Date start,
Date end)
Remove the header properties properties.
|
void |
removeHeaderProperties(int index)
Remove the header properties at the specified position.
|
void |
setDateFormater(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, sizeaddAllProperties, addChartDataListener, addProperty, addPropertyListener, clear, fireEvent, fireEvent, getAllProperties, getProperty, removeChartDataListener, removeProperty, removePropertyListenerpublic static final String DEFAULT_MONTH_FORMAT
public static final int DEFAULT_PERIOD
public String getDateFormater()
public void setDateFormater(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(Date start, Date end)
public ChartProperties createHeaderProperties(int index)
public ChartProperties getHeaderProperties(Date start, Date end)
start - end - public ChartProperties getHeaderProperties(int index)
index - public void removeHeaderProperties(Date start, Date end)
start - end - public void removeHeaderProperties(int index)
index - public void clearAllHeaderProperties()
public static final List<Comparable<?>> getKey(Date start, Date end)
Copyright © 2026. All rights reserved.